/* Admin Dashboard Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    background: #f5f5f5;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}

/* Login Overlay */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.login-box {
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    max-width: 350px;
    width: 90%;
}

.login-box h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.login-box input {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: inherit;
}

.login-box input:focus {
    outline: none;
    border-color: #333;
}

.login-box button {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s ease;
}

.login-box button:hover {
    background: #555;
}

.login-error {
    color: #c00;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Admin Dashboard */
.admin-dashboard {
    min-height: 100vh;
}

/* Header */
.admin-header {
    background: #fff;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header h1 {
    font-size: 1.8rem;
    color: #333;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.last-updated {
    font-size: 0.85rem;
    color: #888;
}

.refresh-btn {
    padding: 0.5rem 1rem;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: #e0e0e0;
}

.media-docs-link {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
}

.media-docs-link:hover {
    color: #333;
    border-color: #999;
}

.back-to-site {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.back-to-site:hover {
    color: #333;
}

/* Search Box */
.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    padding: 0.5rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.85rem;
    width: 180px;
}

.search-box input:focus {
    outline: none;
    border-color: #333;
}

.search-box button {
    padding: 0.5rem 1rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
}

.search-box button:hover {
    background: #555;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.search-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.search-modal-header h2 {
    font-size: 1.3rem;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
}

.close-modal:hover {
    color: #333;
}

.search-results {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.search-results-section {
    margin-bottom: 2rem;
}

.search-results-section h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.search-result-item {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.search-result-item .result-property {
    font-size: 0.75rem;
    color: #666;
    background: #e0e0e0;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.search-result-item .result-text {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem;
}

.search-result-item .result-notes {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-bottom: 0.25rem;
}

.search-result-item .result-meta {
    font-size: 0.8rem;
    color: #888;
}

.no-results {
    text-align: center;
    color: #888;
    padding: 2rem;
}

/* Top Overview Row - Cistern + Booking Stats */
.top-overview {
    display: flex;
    gap: 1rem;
    padding: 1rem 2rem;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.cistern-overview {
    flex: 0 0 280px;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.cistern-overview h3 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.cistern-compact .cistern-bar {
    height: 16px;
    margin-bottom: 0.5rem;
}

.cistern-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cistern-compact .cistern-percent {
    font-size: 1rem;
}

.cistern-compact .cistern-gallons {
    font-size: 0.75rem;
    display: inline;
}

.cistern-compact .alert-status {
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
}

.booking-overview {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.overview-stat {
    text-align: center;
    padding: 0.5rem 1.5rem;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.3rem;
}

.stat-properties {
    display: block;
    font-size: 0.7rem;
    color: #aaa;
    margin-top: 0.15rem;
    min-height: 1em;
}

/* Weather Overview */
.weather-overview {
    flex: 0 0 220px;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.weather-overview h3 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.weather-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.weather-stat {
    text-align: center;
    padding: 0.3rem;
    background: #fff;
    border-radius: 4px;
}

.weather-val {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.weather-lbl {
    display: block;
    font-size: 0.65rem;
    color: #888;
    text-transform: uppercase;
}

/* Flo Water Shutoff Overview */
.flo-overview {
    flex: 0 0 240px;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.flo-overview h3 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.flo-devices {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.flo-device {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: #fff;
    border-radius: 4px;
    font-size: 0.8rem;
}

.flo-prop {
    font-weight: 600;
    color: #333;
    min-width: 36px;
}

.flo-status {
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
}

.flo-status.open {
    background: #e8f5e9;
    color: #2e7d32;
}

.flo-status.closed {
    background: #ffebee;
    color: #c62828;
}

.flo-flow {
    font-size: 0.7rem;
    color: #888;
    flex: 1;
    text-align: right;
}

.flo-open-btn {
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    background: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.flo-open-btn:hover {
    background: #1b5e20;
}

.flo-open-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

.flo-alert {
    margin-top: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: #fff3e0;
    color: #ef6c00;
    border-radius: 4px;
    font-size: 0.75rem;
    border-left: 3px solid #ef6c00;
}

/* Property Tabs */
.property-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0 2rem;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #333;
}

.tab-btn.active {
    color: #333;
    border-bottom-color: #333;
}

.tab-btn.separator {
    margin-left: 1.5rem;
    position: relative;
}

.tab-btn.separator::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: #ddd;
}

.tab-btn.attention-yellow {
    color: #f57f17;
}

.tab-btn.attention-yellow.active {
    color: #f57f17;
    border-bottom-color: #f57f17;
}

.tab-btn.attention-red {
    color: #c62828;
}

.tab-btn.attention-red.active {
    color: #c62828;
    border-bottom-color: #c62828;
}

/* Property Panels */
.property-details {
    padding: 2rem;
}

.property-panel {
    display: none;
}

.property-panel.active {
    display: block;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.property-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: #333;
}

.lock-status {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #666;
    flex-wrap: wrap;
}

.lock-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #f5f5f5;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    white-space: nowrap;
}

.lock-item .lock-name {
    font-weight: 500;
    color: #333;
}

.lock-item .lock-battery {
    color: #666;
}

.lock-item .lock-state {
    font-weight: 500;
}

/* Quick Links */
.quick-links {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.quick-link {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    text-decoration: none;
    color: #4a7c59;
    background: #f0f7f2;
    border: 1px solid #4a7c59;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quick-link:hover {
    background: #4a7c59;
    color: #fff;
}

.lock-item .lock-state.locked {
    color: #2e7d32;
}

.lock-item .lock-state.unlocked {
    color: #c62828;
}

.lock-item .lock-time {
    color: #999;
    font-size: 0.75rem;
}

/* Needs Attention / Maintenance Reminders */
.needs-attention {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    align-items: center;
}

.reminder-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.reminder-item.urgent-yellow {
    background: #fff8e1;
    color: #f57f17;
}

.reminder-item.urgent-red {
    background: #ffebee;
    color: #c62828;
}

.reminder-dismiss {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1;
    padding: 0 0.15rem;
    opacity: 0.6;
    color: inherit;
}

.reminder-dismiss:hover {
    opacity: 1;
}

.property-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
    margin-left: 0.5rem;
}

/* Property Panel Layout - tasks left (2/3), booking right (1/3) */
.panel-layout {
    display: flex;
    gap: 1.5rem;
}

.panel-layout .tasks-card {
    flex: 1;
}

.panel-layout .booking-card {
    flex: 0 0 33%;
    min-width: 280px;
}

/* Full-width tasks layout (no booking card) */
.panel-layout.full-tasks .tasks-card {
    flex: 1;
    max-width: 100%;
}

.panel-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.panel-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.integration-note {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 1rem;
}

/* Booking Card */
.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.status-badge.occupied {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.vacant {
    background: #fff3e0;
    color: #ef6c00;
}

.booking-details p {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: #555;
}

.booking-details strong {
    color: #333;
}

.next-booking {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.next-booking h4 {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.3rem;
}

.next-booking p {
    font-size: 0.9rem;
    color: #333;
}

/* Weather Card */
.weather-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.weather-item {
    text-align: center;
    padding: 0.5rem;
    background: #f9f9f9;
    border-radius: 4px;
}

.weather-label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 0.2rem;
}

.weather-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

/* Water Card */
.water-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.water-item {
    text-align: center;
    padding: 0.5rem;
    background: #f9f9f9;
    border-radius: 4px;
}

.water-label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 0.2rem;
}

.water-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.alert-status {
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    text-align: center;
}

.alert-status.good {
    background: #e8f5e9;
    color: #2e7d32;
}

.alert-status.warning {
    background: #fff3e0;
    color: #ef6c00;
}

.alert-status.danger {
    background: #ffebee;
    color: #c62828;
}

/* Cistern Status */
.cistern-status {
    margin: 1rem 0;
    padding: 1rem;
    background: #f0f7ff;
    border-radius: 4px;
}

.cistern-status h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.cistern-bar {
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.cistern-fill {
    height: 100%;
    background: linear-gradient(90deg, #2196F3, #64B5F6);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.cistern-percent {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.cistern-gallons {
    display: block;
    font-size: 0.8rem;
    color: #888;
}

/* Pool Card */
.pool-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pool-item {
    text-align: center;
    padding: 0.5rem;
    background: #f9f9f9;
    border-radius: 4px;
}

.pool-label {
    display: block;
    font-size: 0.75rem;
    color: #888;
}

.pool-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.pool-value.status-on {
    color: #2e7d32;
}

.pool-value.status-off {
    color: #888;
}

.pool-note {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

/* WiFi Card */
.wifi-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 4px;
}

.wifi-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.wifi-indicator.online {
    background: #4caf50;
}

.wifi-indicator.offline {
    background: #f44336;
}

/* Task Header and Tabs */
.tasks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.tasks-header h3 {
    margin-bottom: 0;
}

.task-tabs {
    display: flex;
    gap: 0.25rem;
}

.task-tab {
    padding: 0.3rem 0.8rem;
    background: #f0f0f0;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: inherit;
    color: #666;
    transition: all 0.2s ease;
}

.task-tab:hover {
    background: #e0e0e0;
}

.task-tab.active {
    background: #333;
    color: #fff;
}

/* Task List */
.task-list, .archive-list {
    margin-bottom: 1rem;
    min-height: 50px;
}

.archive-list {
    max-height: 400px;
    overflow-y: auto;
}

.no-tasks {
    color: #999;
    font-size: 0.85rem;
    padding: 1rem;
    text-align: center;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-bottom: 1px solid #f0f0f0;
}

.task-item:last-child {
    border-bottom: none;
}

.task-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.task-item label {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
}

/* Task assignment colors */
.task-item.assigned-doug label {
    color: #1565c0;
    font-weight: 500;
}

.task-item.assigned-staff label {
    color: #c62828;
    font-weight: 500;
}

.task-item .assignment-indicator {
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.task-item.assigned-doug .assignment-indicator {
    background: #e3f2fd;
    color: #1565c0;
}

.task-item.assigned-staff .assignment-indicator {
    background: #ffebee;
    color: #c62828;
}

.task-item input:checked + label {
    text-decoration: line-through;
    color: #999;
}

/* Archive UI - shows when checkbox clicked */
.task-item.archiving {
    background: #f8f9fa;
    flex-wrap: wrap;
}

.task-item.archiving .task-text {
    flex: 1;
}

.archive-ui {
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

.task-item.archiving .archive-ui {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.archive-ui input {
    flex: 1;
    padding: 0.4rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: inherit;
}

.archive-ui input:focus {
    outline: none;
    border-color: #333;
}

.archive-btn {
    padding: 0.4rem 0.8rem;
    background: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.archive-btn:hover {
    background: #1b5e20;
}

.cancel-archive-btn {
    padding: 0.4rem 0.6rem;
    background: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: inherit;
}

.cancel-archive-btn:hover {
    background: #e0e0e0;
}

/* Delete button in archive UI */
.delete-from-archive-ui {
    padding: 0.4rem 0.8rem;
    background: #c62828;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.delete-from-archive-ui:hover {
    background: #b71c1c;
}

/* Delete button on task items */
.delete-task-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 0.3rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.delete-task-btn:hover {
    color: #c62828;
}

/* Edit button on task items */
.edit-task-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1rem;
    cursor: pointer;
    padding: 0 0.3rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.edit-task-btn:hover {
    color: #1976d2;
}

/* Hide edit button when archiving or editing */
.task-item.archiving .edit-task-btn,
.task-item.editing .edit-task-btn {
    display: none;
}

/* Edit UI */
.edit-ui {
    display: none !important;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
    flex-direction: column;
    gap: 0.5rem;
}

.task-item.editing .edit-ui {
    display: flex !important;
}

.task-item.editing .task-text,
.task-item.editing .task-meta,
.task-item.editing .delete-task-btn,
.task-item.editing input[type="checkbox"],
.task-item.editing .drag-handle,
.task-item.editing .mobile-reorder,
.task-item.editing .assignment-indicator {
    display: none !important;
}

.edit-task-input {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: inherit;
    box-sizing: border-box;
}

.edit-task-input:focus {
    outline: none;
    border-color: #1976d2;
}

.edit-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.edit-buttons {
    display: flex;
    gap: 0.4rem;
}

.save-edit-btn {
    padding: 0.5rem 1rem;
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.save-edit-btn:hover {
    background: #1565c0;
}

.cancel-edit-btn {
    padding: 0.5rem 0.8rem;
    background: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: inherit;
}

.cancel-edit-btn:hover {
    background: #e0e0e0;
}

/* Assignment buttons in edit mode */
.edit-assignment {
    display: flex;
    gap: 0.4rem;
    margin-right: 0.5rem;
}

.assign-btn {
    padding: 0.35rem 0.5rem;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
}

.assign-doug-btn {
    background: #e3f2fd;
    color: #1565c0;
    border-color: #e3f2fd;
}

.assign-doug-btn:hover,
.assign-doug-btn.active {
    border-color: #1565c0;
}

.assign-staff-btn {
    background: #ffebee;
    color: #c62828;
    border-color: #ffebee;
}

.assign-staff-btn:hover,
.assign-staff-btn.active {
    border-color: #c62828;
}

.assign-none-btn {
    background: #f5f5f5;
    color: #666;
    border-color: #f5f5f5;
}

.assign-none-btn:hover,
.assign-none-btn.active {
    border-color: #666;
}

/* Mobile reorder buttons - hidden on desktop */
.mobile-reorder {
    display: none;
    flex-direction: column;
    gap: 2px;
    margin-right: 0.3rem;
}

.move-up-btn,
.move-down-btn {
    background: #f0f0f0;
    border: 1px solid #ddd;
    color: #666;
    font-size: 0.65rem;
    cursor: pointer;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    line-height: 1;
}

.move-up-btn:hover:not(:disabled),
.move-down-btn:hover:not(:disabled) {
    background: #e0e0e0;
    color: #333;
}

.move-up-btn:disabled,
.move-down-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Task meta info (who added, date) */
.task-meta {
    font-size: 0.7rem;
    color: #aaa;
    white-space: nowrap;
}

/* Archived task display */
.archived-item {
    padding: 0.8rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.archived-item:last-child {
    border-bottom: none;
}

.archived-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.delete-archived-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 0.3rem;
    line-height: 1;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.delete-archived-btn:hover {
    color: #c62828;
}

.archived-item .archived-task {
    color: #333;
    margin-bottom: 0.3rem;
}

.archived-item .archived-user {
    font-size: 0.7rem;
    color: #888;
    margin-top: 0.2rem;
}

.archived-item .archived-note {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
}

.archived-item .archived-date {
    color: #999;
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

/* Drag handle for task reordering */
.drag-handle {
    cursor: grab;
    color: #999;
    font-size: 1rem;
    padding: 0 0.3rem;
    user-select: none;
    letter-spacing: -2px;
}

.drag-handle:hover {
    color: #666;
}

.drag-handle:active {
    cursor: grabbing;
}

/* Task item drag states */
.task-item[draggable="true"] {
    transition: background-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.task-item.dragging {
    opacity: 0.5;
    background: #e3f2fd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.task-item.drag-over-above {
    border-top: 2px solid #1976d2;
    margin-top: -2px;
}

.task-item.drag-over-below {
    border-bottom: 2px solid #1976d2;
    margin-bottom: -2px;
}

.add-task {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.add-task input {
    flex: 1;
    min-width: 150px;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
}

.add-task input:focus {
    outline: none;
    border-color: #333;
}

.add-task-btn {
    padding: 0.6rem 1rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.add-task-btn:hover {
    background: #555;
}

.add-task-assignment {
    display: flex;
    gap: 0.3rem;
}

.add-task-assignment .assign-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
}

/* Messages Section */
.messages-section {
    padding: 2rem;
    background: #fff;
    margin: 0 2rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.messages-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.messages-list {
    margin-top: 1rem;
}

.message-item {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.message-item:last-child {
    border-bottom: none;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.message-guest {
    font-weight: 500;
    color: #333;
}

.message-time {
    font-size: 0.8rem;
    color: #999;
}

.message-text {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.3rem;
}

.message-platform {
    font-size: 0.75rem;
    color: #999;
}

/* Integration Section */
.integration-section {
    padding: 2rem;
    background: #fff;
    margin: 0 2rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.integration-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.integration-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 4px;
}

.integration-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.3rem;
}

.integration-status {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.3rem;
}

.integration-status.connected {
    background: #e8f5e9;
    color: #2e7d32;
}

.integration-status.pending {
    background: #fff3e0;
    color: #ef6c00;
}

.integration-detail {
    font-size: 0.8rem;
    color: #888;
}

/* ============================================
   INVENTORY SECTION
   ============================================ */

.inventory-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 1.5rem;
    padding: 1.5rem;
}

.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 0.5rem;
    cursor: pointer;
}

.inventory-header:hover {
    opacity: 0.8;
}

.inventory-header h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inventory-toggle {
    font-size: 0.8rem;
    color: #888;
    transition: transform 0.2s ease;
}

.inventory-section.expanded .inventory-toggle {
    transform: rotate(90deg);
}

.inventory-section .inventory-list {
    display: none;
    margin-top: 1rem;
}

.inventory-section.expanded .inventory-list {
    display: block;
}

.inventory-section .add-inventory-btn {
    display: none;
}

.inventory-section.expanded .add-inventory-btn {
    display: inline-block;
}

.inventory-meta {
    font-size: 0.85rem;
    color: #888;
    flex: 1;
    margin-left: 1rem;
}

.add-inventory-btn {
    padding: 0.5rem 1rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.add-inventory-btn:hover {
    background: #555;
}

.inventory-list {
    overflow-x: auto;
}

.no-inventory {
    color: #999;
    font-size: 0.85rem;
    padding: 1rem;
    text-align: center;
}

.inventory-category {
    margin-bottom: 1.5rem;
}

.inventory-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #eee;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.inventory-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.inventory-table th {
    text-align: left;
    padding: 0.5rem;
    color: #888;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

.inventory-table td {
    padding: 0.5rem;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
}

.inventory-table tr:hover {
    background: #f9f9f9;
}

.inventory-table .item-name {
    font-weight: 500;
}

.inventory-table .notes-cell {
    max-width: 200px;
    color: #666;
    font-size: 0.8rem;
}

.inventory-table .notes-cell .notes-short {
    display: inline;
}

.inventory-table .notes-cell .notes-expand-link {
    color: #2196F3;
    cursor: pointer;
    font-size: 0.75rem;
    text-decoration: underline;
    margin-left: 0.25rem;
}

.inventory-table .notes-cell .notes-expand-link:hover {
    color: #1565c0;
}

/* Notes Detail Modal */
.notes-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.notes-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.notes-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.notes-modal-header h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.notes-modal-body {
    padding: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
    white-space: pre-wrap;
}

.inventory-table .actions-cell {
    white-space: nowrap;
    text-align: right;
}

.edit-inventory-btn,
.delete-inventory-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    font-size: 1rem;
    color: #999;
    transition: color 0.2s ease;
}

.edit-inventory-btn:hover {
    color: #333;
}

.delete-inventory-btn:hover {
    color: #c62828;
}

/* Inventory Status Badges */
.inventory-status {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.inventory-status.status-good {
    background: #e8f5e9;
    color: #2e7d32;
}

.inventory-status.status-new {
    background: #e3f2fd;
    color: #1565c0;
}

.inventory-status.status-fair {
    background: #fff8e1;
    color: #f57f17;
}

.inventory-status.status-replace-soon {
    background: #fff3e0;
    color: #e65100;
}

.inventory-status.status-end-of-life {
    background: #ffebee;
    color: #c62828;
}

.inventory-status.status-needs-service {
    background: #fce4ec;
    color: #ad1457;
}

/* ============================================
   SUPPLIES SECTION (Household Items)
   ============================================ */

.supplies-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-left: 4px solid #8B7355;
}

.supplies-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 0.5rem;
    cursor: pointer;
}

.supplies-header:hover {
    opacity: 0.8;
}

.supplies-header h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.supplies-toggle {
    font-size: 0.8rem;
    color: #888;
    transition: transform 0.2s ease;
}

.supplies-section.expanded .supplies-toggle {
    transform: rotate(90deg);
}

.supplies-section .supplies-list {
    display: none;
    margin-top: 1rem;
}

.supplies-section.expanded .supplies-list {
    display: block;
}

.add-supplies-btn {
    background: #8B7355;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
    display: none;
}

.supplies-section.expanded .add-supplies-btn {
    display: inline-block;
}

.add-supplies-btn:hover {
    background: #6B5344;
}

.no-supplies {
    color: #999;
    font-style: italic;
    padding: 1rem 0;
}

.supplies-category {
    margin-bottom: 1.5rem;
}

.supplies-category .category-title {
    font-size: 0.95rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #eee;
}

.supplies-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.supplies-table th {
    text-align: left;
    padding: 0.5rem;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid #eee;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.supplies-table td {
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: top;
}

.supplies-table tbody tr:hover {
    background: #fafafa;
}

.supplies-table .notes-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #888;
    font-size: 0.85rem;
}

.supplies-table .qty-cell {
    text-align: center;
    font-weight: 500;
}

.supplies-table .status-cell {
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.supplies-table .status-cell.status-have {
    background: #e8f5e9;
    color: #2e7d32;
}

.supplies-table .status-cell.status-missing {
    background: #ffebee;
    color: #c62828;
}

.supplies-table tr.status-have {
    background: #f8fff8;
}

.supplies-table tr.status-missing {
    background: #fff8f8;
}

.supplies-table tr.status-have:hover {
    background: #e8f5e9;
}

.supplies-table tr.status-missing:hover {
    background: #ffebee;
}

.supplies-table .actions-cell {
    white-space: nowrap;
    text-align: right;
}

.edit-supplies-btn,
.delete-supplies-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.edit-supplies-btn:hover,
.delete-supplies-btn:hover {
    opacity: 1;
}

.delete-supplies-btn {
    color: #c62828;
}

/* Supplies Modal */
.supplies-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.supplies-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.supplies-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.supplies-modal-header h2 {
    font-size: 1.3rem;
    color: #333;
    margin: 0;
}

#supplies-form {
    padding: 1.5rem;
}

/* ============================================
   INVENTORY MODAL
   ============================================ */

.inventory-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.inventory-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.inventory-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.inventory-modal-header h2 {
    font-size: 1.3rem;
    color: #333;
    margin: 0;
}

#inventory-form {
    padding: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.btn-primary {
    padding: 0.6rem 1.2rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #555;
}

.btn-secondary {
    padding: 0.6rem 1.2rem;
    background: #f0f0f0;
    color: #333;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

/* Footer */
.admin-footer {
    text-align: center;
    padding: 2rem;
    color: #888;
    font-size: 0.85rem;
}

.footer-note {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 0.3rem;
}

/* Responsive */
@media (max-width: 900px) {
    .top-overview {
        flex-direction: column;
        padding: 1rem;
    }

    .cistern-overview {
        flex: none;
        width: 100%;
    }

    .booking-overview {
        justify-content: space-between;
        padding: 1rem 0;
    }

    .weather-overview {
        flex: none;
        width: 100%;
    }

    .panel-layout {
        flex-direction: column;
    }

    .panel-layout .booking-card {
        flex: none;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    /* Inventory responsive */
    .inventory-section {
        padding: 1rem;
        margin-top: 1rem;
    }

    .inventory-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .inventory-meta {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }

    .add-inventory-btn {
        width: 100%;
        text-align: center;
    }

    .inventory-table {
        font-size: 0.75rem;
    }

    .inventory-table th,
    .inventory-table td {
        padding: 0.4rem;
    }

    .inventory-table .notes-cell {
        max-width: 80px;
    }

    .inventory-modal-content {
        width: 95%;
        margin: 1rem;
    }

    /* Supplies responsive */
    .supplies-section {
        padding: 1rem;
        margin-top: 1rem;
    }

    .supplies-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .add-supplies-btn {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    .supplies-table {
        font-size: 0.75rem;
    }

    .supplies-table th,
    .supplies-table td {
        padding: 0.4rem;
    }

    .supplies-table .notes-cell {
        max-width: 80px;
    }

    .supplies-modal-content {
        width: 95%;
        margin: 1rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .admin-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 1rem;
    }

    .admin-header h1 {
        font-size: 1.4rem;
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .last-updated {
        font-size: 0.75rem;
    }

    .refresh-btn, .back-to-site, .media-docs-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .top-overview {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .cistern-overview {
        padding: 0.75rem;
    }

    .cistern-overview h3 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .cistern-compact .cistern-bar {
        height: 12px;
    }

    .cistern-compact .cistern-percent {
        font-size: 0.9rem;
    }

    .cistern-compact .alert-status {
        padding: 0.25rem 0.4rem;
        font-size: 0.7rem;
    }

    .booking-overview {
        padding: 0.5rem 0;
        gap: 0.25rem;
    }

    .overview-stat {
        padding: 0.3rem 0.5rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .property-tabs {
        overflow-x: auto;
        padding: 0 0.5rem;
        gap: 0.25rem;
    }

    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 1rem;
        white-space: nowrap;
    }

    .property-details {
        padding: 0.75rem;
    }

    .property-panel h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .property-subtitle {
        display: block;
        margin-left: 0;
        margin-top: 0.2rem;
    }

    .panel-card {
        padding: 1rem;
    }

    .panel-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .status-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .booking-details p {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .next-booking {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }

    .next-booking h4 {
        font-size: 0.8rem;
    }

    .next-booking p {
        font-size: 0.8rem;
    }

    .task-item {
        padding: 0.6rem;
        gap: 0.5rem;
    }

    .task-item label {
        font-size: 0.8rem;
    }

    /* Hide drag handle on mobile, show up/down buttons instead */
    .drag-handle {
        display: none;
    }

    .mobile-reorder {
        display: flex;
    }

    .edit-task-btn {
        font-size: 0.9rem;
    }

    .add-task input {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .add-task-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .admin-footer {
        padding: 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .admin-header h1 {
        font-size: 1.2rem;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .tab-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    .property-panel h2 {
        font-size: 1.1rem;
    }
}

/* Admin Notes Section */
.admin-notes {
    background: #f8f9fa;
    border-left: 3px solid #6c757d;
    padding: 0.5rem 1rem;
    margin: 0.5rem 1.5rem 1rem;
    border-radius: 0 4px 4px 0;
}

.admin-notes details {
    margin: 0;
}

.admin-notes summary {
    cursor: pointer;
    color: #495057;
    font-size: 0.85rem;
    padding: 0.25rem 0;
}

.admin-notes summary:hover {
    color: #333;
}

.admin-notes ul {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
    font-size: 0.8rem;
    color: #555;
}

.admin-notes li {
    margin-bottom: 0.3rem;
}

.admin-notes li strong {
    color: #333;
}
