/* Global Theme Variables */
:root {
    /* Color variables */
    --primary-color: #274E13;
    --secondary-color: #4A7B2E;
    --accent-color: #6B9E3F;
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #F9FAFB;
    --border-color: #E5E7EB;
    --success-color: #274E13;
    --warning-color: #F59E0B;
    --danger-color: #dc3545;
    --info-color: #3B82F6;
    --dark-bg: #1A1A1A;
    /* Chart color palette */
    --chart-active: rgba(16, 185, 129, 0.18); /* green, soft transparent */
    --chart-inactive: rgba(244, 63, 94, 0.18); /* red, soft transparent */
    /* Header Sizing Variables - Consistent across all breakpoints */
    --header-height: 60px;
    --header-padding-desktop: 20px;
    --header-padding-tablet: 16px;
    --header-padding-mobile: 12px;
    --header-gap-desktop: 15px;
    --header-gap-tablet: 12px;
    --header-gap-mobile: 8px;
    /* Font Variables - Unified to match home page */
    --primary-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --heading-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --body-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --logo-font: 'Cinzel', serif;
    --heading-color: #1F2937;
    --body-color: #23272f;
    --header-color: #ffffff;
    --footer-color: #23272f;
    /* Font Sizes - Unified to match home page */
    --font-size-base: 1rem;
    --font-size-sm: 0.9375rem;
    --font-size-lg: 1.1rem;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.75rem;
    --font-size-h4: 1.5rem;
    --font-size-h5: 1.25rem;
    --font-size-h6: 1rem;
    --font-size-body: 0.9375rem;
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* Border Radius */
    --border-radius-sm: 5px;
    --border-radius-md: 5px;
    --border-radius-lg: 5px;
    --border-radius-xl: 5px;
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    /* Transitions */
    --transition-quick: 0.2s ease;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s ease;
    /* Z-index layers */
    --z-dropdown: 1000;
    --z-modal: 1050;
    --z-tooltip: 1070;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-offcanvas: 1040;
}
/* Base styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    --font-family-base: var(--primary-font);
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--light-bg);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: var(--primary-font);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: var(--font-size-body);
}

/* Lavie Maison brand styling */
.lavie-brand {
    font-family: var(--logo-font);
    font-weight: 700;
    letter-spacing: 0.5px;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.25rem;
    line-height: 1.3;
    font-family: var(--heading-font);
    color: var(--heading-color);
    font-weight: 600;
}
h1 {
    font-size: var(--font-size-h1);
    font-weight: 700;
    margin-bottom: 1.75rem;
}
h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    margin-bottom: 1.5rem;
}
h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
    margin-bottom: 1.25rem;
}
h4 {
    font-size: var(--font-size-h4);
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: var(--heading-font);
}
h5 {
    font-size: var(--font-size-h5);
    font-weight: 500;
    margin-bottom: 0.75rem;
}
h6 {
    font-size: var(--font-size-h6);
    font-weight: 500;
    margin-bottom: 0.75rem;
}
/* Logo and branding */
.header-logo {
    font-family: var(--logo-font);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.4rem;
    letter-spacing: 1.2px;
}
/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--secondary-color);
}
/* =====================================
   CONSOLIDATED BUTTON STYLES
   All button styles moved here to eliminate duplicates
   ===================================== */
/* Primary button - main action button */
.btn-primary {
    background: linear-gradient(135deg, #274E13 0%, #2d5a17 100%);
    border-color: #274E13;
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    box-shadow: 0 2px 4px rgba(39, 78, 19, 0.2);
    transition: all 0.2s ease;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a0e 0%, #234a13 100%);
    border-color: #1e3a0e;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(39, 78, 19, 0.3);
    transform: translateY(-1px);
}
/* Secondary button - supporting actions */
.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    border-color: #6c757d;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.2);
}
.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268 0%, #545b62 100%);
    border-color: #5a6268;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
    transform: translateY(-1px);
}
/* Success button - positive actions */
.btn-success {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
    border-color: #198754;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(25, 135, 84, 0.2);
}
.btn-success:hover {
    background: linear-gradient(135deg, #157347 0%, #146c43 100%);
    border-color: #157347;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3);
    transform: translateY(-1px);
}
/* Danger button - destructive actions */
.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-color: #dc3545;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}
.btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    border-color: #c82333;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
    transform: translateY(-1px);
}
/* Warning button - caution actions */
.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border-color: #ffc107;
    color: #212529;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.2);
}
.btn-warning:hover {
    background: linear-gradient(135deg, #e0a800 0%, #d39e00 100%);
    border-color: #e0a800;
    color: #212529;
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
    transform: translateY(-1px);
}
/* Info button - informational actions */
.btn-info {
    background: linear-gradient(135deg, #0dcaf0 0%, #0baccc 100%);
    border-color: #0dcaf0;
    color: #000;
    box-shadow: 0 2px 4px rgba(13, 202, 240, 0.2);
}
.btn-info:hover {
    background: linear-gradient(135deg, #0baccc 0%, #0aa2c0 100%);
    border-color: #0baccc;
    color: #000;
    box-shadow: 0 4px 8px rgba(13, 202, 240, 0.3);
    transform: translateY(-1px);
}
/* Outline button variants */
.btn-outline-primary {
    background: transparent;
    border-color: #274E13;
    color: #274E13;
    box-shadow: 0 1px 3px rgba(39, 78, 19, 0.1);
}
.btn-outline-primary:hover {
    background: #274E13;
    border-color: #274E13;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(39, 78, 19, 0.2);
    transform: translateY(-1px);
}
.btn-outline-secondary {
    background: transparent;
    border-color: #6c757d;
    color: #6c757d;
    box-shadow: 0 1px 3px rgba(108, 117, 125, 0.1);
}
.btn-outline-secondary:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.2);
    transform: translateY(-1px);
}
.btn-outline-danger {
    background: transparent;
    border-color: #dc3545;
    color: #dc3545;
    box-shadow: 0 1px 3px rgba(220, 53, 69, 0.1);
}
.btn-outline-danger:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
    transform: translateY(-1px);
}
.btn-outline-success {
    background: transparent;
    border-color: #198754;
    color: #198754;
    box-shadow: 0 1px 3px rgba(25, 135, 84, 0.1);
}
.btn-outline-success:hover {
    background: #198754;
    border-color: #198754;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.2);
    transform: translateY(-1px);
}
/* Button sizes */
.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    min-height: 32px;
    min-width: 70px;
}
.btn-lg {
    padding: 14px 20px;
    font-size: 16px;
    min-height: 46px;
    min-width: 100px;
}
.btn-xl {
    padding: 18px 24px;
    font-size: 18px;
    min-height: 54px;
    min-width: 120px;
}
/* Button states */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}
.btn:focus {
    outline: 2px solid rgba(39, 78, 19, 0.5);
    outline-offset: 2px;
}
.btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
/* Special button types */
.btn-close {
    background: transparent;
    border: 0;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}
.btn-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}
/* =====================================
   RESPONSIVE BUTTON STYLES
   ===================================== */
@media (max-width: 768px) {
    .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        min-height: 40px;
        min-width: 60px;
    }
    .btn-sm {
        padding: 4px 8px;
        font-size: 11px;
        min-height: 28px;
        min-width: 50px;
    }
    .btn-lg {
        padding: 12px 16px;
        font-size: 15px;
        min-height: 42px;
        min-width: 80px;
    }
    .btn-mobile-full {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .btn-group-mobile-stack {
        flex-direction: column;
    }
    .btn-group-mobile-stack .btn {
        margin-bottom: 0.25rem;
        border-radius: 0.375rem !important;
    }
}
@media (max-width: 576px) {
    .btn {
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
        min-height: 36px;
        min-width: 50px;
    }
    .btn-sm {
        padding: 3px 6px;
        font-size: 10px;
        min-height: 24px;
        min-width: 40px;
    }
    .btn-lg {
        padding: 10px 14px;
        font-size: 14px;
        min-height: 38px;
        min-width: 70px;
    }
}
/* =====================================
   DARK THEME BUTTON STYLES
   ===================================== */
[data-theme="dark"] .btn-outline-primary {
    border-color: #4ade80;
    color: #4ade80;
}
[data-theme="dark"] .btn-outline-primary:hover {
    background: #4ade80;
    border-color: #4ade80;
    color: #000;
}
[data-theme="dark"] .btn-outline-secondary {
    border-color: #9ca3af;
    color: #9ca3af;
}
[data-theme="dark"] .btn-outline-secondary:hover {
    background: #9ca3af;
    border-color: #9ca3af;
    color: #000;
}
[data-theme="dark"] .btn-close {
    filter: invert(1);
}
[data-theme="dark"] .btn-close:hover {
    background: rgba(255, 255, 255, 0.1);
}
/* =====================================
   ACCESSIBILITY AND PERFORMANCE
   ===================================== */
@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
    .btn:hover {
        transform: none;
    }
    .btn:active {
        transform: none;
    }
}
@media (prefers-contrast: high) {
    .btn {
        border-width: 2px;
    }
    .btn-outline-primary,
    .btn-outline-secondary,
    .btn-outline-danger,
    .btn-outline-success {
        border-width: 2px;
    }
}
.btn:focus-visible {
    outline: 2px solid rgba(39, 78, 19, 0.5);
    outline-offset: 2px;
}
/* ==========================================================================
   SPECIAL BUTTON CLASSES FOR SPECIFIC CONTEXTS
   ========================================================================== */
/* Save button styling moved to individual page CSS files */
/* Settings page buttons */
.header-tab {
    background: transparent;
    border: 1px solid #dee2e6;
    color: #6c757d;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 5px;
    transition: all 0.2s ease;
    min-height: 36px;
}
.header-tab.active,
.header-tab:hover {
    background: #274E13;
    border-color: #274E13;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(39, 78, 19, 0.2);
}
/* Status popup buttons */
.status-popup .btn {
    border-radius: 5px;
    font-size: 12px;
    padding: 6px 12px;
    min-height: 32px;
}
/* ==========================================================================
   DARK MODE BUTTON SUPPORT
   ========================================================================== */
[data-theme="dark"] .btn-outline-primary {
    border-color: #4a8c2a;
    color: #4a8c2a;
}
[data-theme="dark"] .btn-outline-primary:hover {
    background: #4a8c2a;
    border-color: #4a8c2a;
    color: #ffffff;
}
[data-theme="dark"] .btn-outline-secondary {
    border-color: #adb5bd;
    color: #adb5bd;
}
[data-theme="dark"] .btn-outline-secondary:hover {
    background: #adb5bd;
    border-color: #adb5bd;
    color: #000;
}
[data-theme="dark"] .btn-close {
    color: #adb5bd;
}
[data-theme="dark"] .btn-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}
/* ==========================================================================
   CORE RESPONSIVE STYLES (Essential Mobile Support)
   ========================================================================== */
/* Core mobile variables */
:root {
    --mobile-touch-target: 48px;
    --mobile-spacing-xs: 4px;
    --mobile-spacing-sm: 8px;
    --mobile-spacing-md: 12px;
    --mobile-spacing-lg: 16px;
    --mobile-spacing-xl: 20px;
    --mobile-border-radius: 5px;
    --mobile-text-sm: 0.875rem;
    --mobile-text-base: 1rem;
    --mobile-text-lg: 1.125rem;
    --mobile-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
/* Essential mobile layout fixes */
@media (max-width: 768px) {
    /* Core container responsive */
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    /* Settings page container override for mobile */
    .settings-page .container-fluid,
    .settings-container .container-fluid {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* Reports page container override for mobile */
    .reports-page .container-fluid,
    body.reports-page .container-fluid {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* Essential button responsive */
    .btn {
        padding: 8px 14px;
        font-size: 13px;
        min-height: 36px;
        min-width: 70px;
        border-radius: 5px;
    }
    .btn-sm {
        padding: 5px 10px;
        font-size: 11px;
        min-height: 28px;
        min-width: 60px;
    }
    .btn-lg {
        padding: 12px 18px;
        font-size: 15px;
        min-height: 42px;
        min-width: 90px;
    }
}
/* Essential form responsive */
@media (max-width: 768px) {
    .form-control,
    .form-select {
        font-size: 13px;
        padding: 7px 10px;
    }
    .form-label {
        font-size: 13px;
    }
    .form-group {
        margin-bottom: 12px;
    }
}
/* Essential table responsive */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        background: white;
    }
    .table {
        min-width: 600px;
        font-size: 0.875rem;
    }
    .table th,
    .table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}
/* Essential modal responsive */
@media (max-width: 480px) {
    .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    .modal-content {
        border-radius: 8px;
    }
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
}
/* ==========================================================================
   ACCESSIBILITY ENHANCEMENTS
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
        transform: none !important;
    }
    .btn:hover {
        transform: none !important;
    }
    .btn:active {
        transform: none !important;
    }
}
@media (prefers-contrast: high) {
    .btn {
        border-width: 2px;
    }
    .btn-outline-primary,
    .btn-outline-secondary,
    .btn-outline-danger,
    .btn-outline-success {
        border-width: 2px;
    }
}
/* Focus visible for keyboard navigation */
.btn:focus-visible {
    outline: 2px solid #274E13;
    outline-offset: 2px;
}
/* ==========================================================================
   FORM IMPROVEMENTS - CLEAN DESIGN
   ========================================================================== */
/* Form control styling */
.form-control,
.form-select {
    border-radius: 5px;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.5;
}
.form-control:focus,
.form-select:focus {
    border-color: #274E13;
    box-shadow: 0 0 0 3px rgba(39, 78, 19, 0.1);
    outline: none;
}
.editor-textarea {
    min-height: 400px;
    resize: vertical;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}
.editor-textarea:focus {
    border-color: #274E13;
    box-shadow: 0 0 0 3px rgba(39, 78, 19, 0.1);
}
@media (max-width: 767px) {
    .form-control,
    .form-select {
        font-size: 13px;
        padding: 7px 10px;
    }
    .editor-textarea {
        min-height: 300px;
        font-size: 13px;
    }
}
@media (max-width: 576px) {
    .form-control,
    .form-select {
        font-size: 12px;
        padding: 6px 8px;
    }
    .editor-textarea {
        min-height: 250px;
        font-size: 12px;
    }
}
/* Form groups and labels */
.form-group {
    margin-bottom: 16px;
}
.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 6px;
    display: block;
}
@media (max-width: 767px) {
    .form-group {
        margin-bottom: 12px;
    }
    .form-label {
        font-size: 13px;
    }
}
@media (max-width: 576px) {
    .form-group {
        margin-bottom: 8px;
    }
    .form-label {
        font-size: 12px;
    }
}
/* ==========================================================================
   UTILITY CLASSES FOR CLEAN RESPONSIVE DESIGN
   ========================================================================== */
.mobile-full-width {
    width: 100%;
}
@media (max-width: 767px) {
    .mobile-stack {
        flex-direction: column !important;
    }
    .mobile-center {
        text-align: center !important;
    }
    .mobile-no-gap {
        gap: 0 !important;
    }
    .mobile-hide {
        display: none !important;
    }
    .mobile-show {
        display: block !important;
    }
}
/* ==========================================================================
   EMAIL TEMPLATE STYLES
   ========================================================================== */
/* Email template base */
.email-template {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}
/* Email header layout */
.email-header {
    text-align: center;
    margin-bottom: 30px;
}
.email-header h1 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 24px;
    font-weight: bold;
}
.email-header p {
    color: #7f8c8d;
    font-style: italic;
    margin: 0;
    font-size: 14px;
}
/* Email body content */
.email-body {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}
.email-body p {
    margin: 0 0 20px 0;
    font-size: 16px;
}
/* Success message box */
.email-success-box {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
}
.email-success-box p {
    margin: 0;
    font-weight: bold;
    color: #155724;
}
.email-success-box p + p {
    margin: 5px 0 0 0;
    color: #155724;
    font-weight: normal;
}
/* Connection details box */
.email-details-box {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
}
.email-details-box h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
    font-size: 18px;
}
.email-details-box p {
    margin: 8px 0;
    font-size: 14px;
}
.email-details-box strong {
    font-weight: bold;
}
/* Enjoy stay section */
.email-enjoy-section {
    margin: 25px 0;
}
.email-enjoy-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 18px;
}
.email-enjoy-section p {
    margin: 0 0 15px 0;
    font-size: 14px;
}
/* Thank you section */
.email-thank-you {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #ecf0f1;
    border-radius: 5px;
}
.email-thank-you p {
    margin: 0 0 10px 0;
    font-weight: bold;
    color: #2c3e50;
}
.email-thank-you p + p {
    margin: 0;
    color: #7f8c8d;
}
/* Email footer */
.email-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}
.email-footer p {
    margin: 0 0 5px 0;
    font-weight: bold;
    color: #2c3e50;
}
.email-footer a {
    color: #3498db;
    text-decoration: none;
}
.email-footer a:hover {
    text-decoration: underline;
}
/* Email responsive design */
@media (max-width: 600px) {
    .email-template {
        padding: 15px;
    }
    .email-body {
        padding: 20px;
    }
    .email-header h1 {
        font-size: 20px;
    }
    .email-body p {
        font-size: 14px;
    }
    .email-details-box {
        padding: 15px;
    }
    .email-details-box h3 {
        font-size: 16px;
    }
    .email-details-box p {
        font-size: 13px;
    }
}
/* ==========================================================================
   EXPORT STYLES
   ========================================================================== */
/* Export report layout */
.export-header {
    color: #007bff;
    text-align: center;
}
.export-subtitle {
    text-align: center;
    color: #6c757d;
}
.export-table {
    width: 100%;
    border-collapse: collapse;
}
.export-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}
.export-table td,
.export-table th {
    border: 1px solid #dee2e6;
    padding: 8px;
}
.export-no-data {
    text-align: center;
}
.export-summary {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}
.export-summary h3 {
    color: #274E13;
    margin-top: 0;
}
.export-summary-table {
    width: 100%;
    border-collapse: collapse;
}
.export-summary-table td {
    padding: 5px;
}
/* ==========================================================================
   OPTIMIZATION PAGE STYLES
   ========================================================================== */
.optimization-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}
.performance-score {
    font-size: 24px;
    font-weight: bold;
}
.performance-score-green {
    color: green;
}
.performance-score-orange {
    color: orange;
}
.performance-score-red {
    color: red;
}
/* Email container layout */
.email-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}
.email-warning-box {
    background: #fff3cd;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
}
.email-warning-box p {
    margin: 0;
    color: #856404;
}
.email-info-list {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}
.email-info-list h3 {
    color: #274E13;
    margin-top: 0;
}
.email-info-list ul {
    margin: 0;
    padding-left: 20px;
}
.email-info-list li {
    margin-bottom: 8px;
    color: #666;
}
.email-success-highlight {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #28a745;
    margin: 20px 0;
}
.email-success-highlight h4 {
    color: #155724;
    margin-top: 0;
}
.email-success-highlight p {
    margin: 0;
    color: #155724;
}
.email-cta {
    text-align: center;
    margin: 30px 0;
}
.email-cta a {
    background: linear-gradient(135deg, #274E13, #38761D);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    font-weight: bold;
}
.email-footer-note {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    text-align: center;
}
.email-footer-note p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}
.email-footer-note a {
    color: #274E13;
}
/* ==========================================================================
   EXISTING STYLES PRESERVED
   ========================================================================== */
/* ... existing code ... */
/* Form styling */
.form-group {
    margin-bottom: 1.5rem;
}
.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    transition: all var(--transition-normal);
    background: white;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(39, 78, 19, 0.1);
}
/* Alert components */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    font-weight: 500;
}
.alert-success {
    background-color: rgba(39, 78, 19, 0.1);
    border-color: rgba(39, 78, 19, 0.2);
    color: var(--success-color);
}
.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: var(--danger-color);
}
.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
}
.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--info-color);
}
/* Card components */
.card {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    overflow: hidden;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
/* Utility Classes - Consolidated */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }
.ml-1 { margin-left: var(--spacing-xs); }
.ml-2 { margin-left: var(--spacing-sm); }
.ml-3 { margin-left: var(--spacing-md); }
.ml-4 { margin-left: var(--spacing-lg); }
.ml-5 { margin-left: var(--spacing-xl); }
.mr-1 { margin-right: var(--spacing-xs); }
.mr-2 { margin-right: var(--spacing-sm); }
.mr-3 { margin-right: var(--spacing-md); }
.mr-4 { margin-right: var(--spacing-lg); }
.mr-5 { margin-right: var(--spacing-xl); }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }
/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .card {
        margin-bottom: 1rem;
    }
}
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-in {
    animation: fadeIn 0.6s ease-in;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.slide-in {
    animation: slideIn 0.6s ease-out;
}
/* Theme Switch */
.theme-switch {
    position: relative;
    display: inline-block;
}
.theme-switch-btn {
    background: var(--border-color);
    border: none;
    border-radius: 20px;
    padding: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
}
.theme-switch-btn:hover {
    background: var(--primary-color);
}
/* Dark Mode */
[data-theme="dark"] {
    --text-color: #e2e8f0;
    --heading-color: #f7fafc;
    --light-bg: #1a202c;
    --border-color: #4a5568;
}
[data-theme="dark"] body {
    background: var(--light-bg);
    color: var(--text-color);
}
[data-theme="dark"] .card {
    background: #2d3748;
    border-color: #4a5568;
}
[data-theme="dark"] .form-control {
    background: #4a5568;
    border-color: #718096;
    color: var(--text-color);
}
[data-theme="dark"] .alert-success {
    background: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.3);
}
[data-theme="dark"] .alert-danger {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.3);
}
[data-theme="dark"] .alert-warning {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}
[data-theme="dark"] .alert-info {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}
/* Container layout */
.container-fluid {
    width: calc(100% - 48px) !important;
    max-width: calc(100% - 48px) !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}
/* Ensure proper */
body.admin-page .editor-section {
    width: calc(100% - 48px) !important;
    max-width: calc(100% - 48px) !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}
/* Ensure all content within editor-section maintains consistent width */
body.admin-page .editor-section > .page-header,
body.admin-page .editor-section > .dashboard-stats-grid,
body.admin-page .editor-section > .stat-cards-grid,
body.admin-page .editor-section > .dashboard-section-card,
body.admin-page .editor-section > .row,
body.admin-page .editor-section > .settings-container,
body.admin-page .editor-section > .alert {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}
@media (min-width: 1200px) {
    .container-fluid {
        width: calc(100% - 64px) !important;
        max-width: calc(100% - 64px) !important;
        margin-left: 32px !important;
        margin-right: 32px !important;
    }
    body.admin-page .editor-section {
        width: calc(100% - 64px) !important;
        max-width: calc(100% - 64px) !important;
        margin-left: 32px !important;
        margin-right: 32px !important;
    }
    /* Ensure all content within editor-section maintains consistent width */
    body.admin-page .editor-section > .page-header,
    body.admin-page .editor-section > .dashboard-stats-grid,
    body.admin-page .editor-section > .stat-cards-grid,
    body.admin-page .editor-section > .dashboard-section-card,
    body.admin-page .editor-section > .row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}
@media (max-width: 768px) {
    .container-fluid {
        width: calc(100% - 40px) !important;
        max-width: calc(100% - 40px) !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
    body.admin-page .editor-section {
        width: calc(100% - 40px) !important;
        max-width: calc(100% - 40px) !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
    /* Ensure all content within editor-section maintains consistent width */
    body.admin-page .editor-section > .page-header,
    body.admin-page .editor-section > .dashboard-stats-grid,
    body.admin-page .editor-section > .stat-cards-grid,
    body.admin-page .editor-section > .dashboard-section-card,
    body.admin-page .editor-section > .row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}
@media (max-width: 576px) {
    .container-fluid {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
    }
    body.admin-page .editor-section {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
    }
    /* Ensure all content within editor-section maintains consistent width */
    body.admin-page .editor-section > .page-header,
    body.admin-page .editor-section > .dashboard-stats-grid,
    body.admin-page .editor-section > .stat-cards-grid,
    body.admin-page .editor-section > .dashboard-section-card,
    body.admin-page .editor-section > .row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}
/* Container override cleanup */
/* (delete the .settings-page .container-fluid, .reports-page .container-fluid, etc. rules above) */
/* Reports page container override - ensure full width */
.reports-page .container-fluid,
body.reports-page .container-fluid {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
/* Status Popup */
.status-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    max-width: 400px;
}
.status-popup.show {
    transform: translateX(0);
}
.status-popup .status-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.status-popup .status-icon.success {
    color: var(--success-color);
}
.status-popup .status-icon.error {
    color: var(--danger-color);
}
.status-popup .status-message {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}
.status-popup .status-details {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}
.status-popup .status-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}
.status-popup .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}
.status-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.status-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Modal components */
/* Blocked Container */
.blocked-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
    background: var(--light-bg);
}
.blocked-icon {
    font-size: 4rem;
    color: var(--danger-color);
    margin-bottom: 2rem;
}
.blocked-message {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 600;
}
.ip-address {
    background: var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: monospace;
    color: var(--text-color);
    margin-top: 1rem;
}
/* Table components */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.table th,
.table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}
/* Admin page table headers have custom styling in admin.css */
body:not(.admin-page) .table thead th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--heading-color);
    border-bottom: 2px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}
/* Badge components */
.badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge.bg-success {
    background: linear-gradient(135deg, var(--success-color), #20c997) !important;
    color: white;
}
.badge.bg-secondary {
    background: linear-gradient(135deg, #6c757d, #495057) !important;
    color: white;
}
.bi-check-circle-fill.text-success {
    color: var(--success-color) !important;
    font-size: 1.2rem;
    border-radius: 6px;
}
.bi-x-circle-fill.text-danger {
    color: var(--danger-color) !important;
    font-size: 1.2rem;
    border-radius: 6px;
}
/* Dark mode table styling */
[data-theme="dark"] .table th {
    background: #4a5568;
    color: #e2e8f0;
    border-bottom-color: #718096;
}
[data-theme="dark"] .table td {
    color: #e2e8f0;
    border-bottom-color: #4a5568;
}
[data-theme="dark"] .table tbody tr:hover {
    background: #4a5568;
}
[data-theme="dark"] .btn-outline-primary {
    border-color: #68d391;
    color: #68d391;
}
[data-theme="dark"] .btn-outline-primary:hover {
    background: #68d391;
    border-color: #68d391;
    color: #1a202c;
}
[data-theme="dark"] .btn-outline-secondary {
    border-color: #a0aec0;
    color: #a0aec0;
}
[data-theme="dark"] .btn-outline-secondary:hover {
    background: #a0aec0;
    border-color: #a0aec0;
    color: #1a202c;
}
/* Lavie WiFi Body */
.lavie-wifi-body,
.lavie-welcome-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #274E13 0%, #5B8C3E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.lavie-wifi-body::before,
.lavie-welcome-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}
/* Settings Section */
.settings-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}
.settings-section .form-label {
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}
.settings-section .form-control,
.settings-section .form-select {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all var(--transition-normal);
}
.settings-section .form-control:focus,
.settings-section .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(39, 78, 19, 0.1);
    outline: none;
}
/* Settings section input groups */
.settings-section .input-group {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
}
.settings-section .input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(39, 78, 19, 0.1);
}
.settings-section .input-group .form-control {
    border: none;
    border-radius: 0 10px 10px 0;
    box-shadow: none;
}
.settings-section .input-group .form-control:focus {
    border: none;
    box-shadow: none;
}
.settings-section .input-group .btn {
    border: none;
    border-radius: 10px 0 0 10px;
    background: var(--border-color);
    color: var(--text-color);
    transition: all var(--transition-normal);
}
.settings-section .input-group .btn:hover {
    background: var(--text-color);
    color: white;
}
.settings-section .btn-outline-secondary {
    border-color: var(--border-color);
    color: var(--text-color);
}
.settings-section .btn-outline-secondary:hover {
    background: var(--border-color);
    border-color: var(--text-color);
    color: white;
}
/* Toggle switch components */
.settings-section .form-check-label {
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
}
/* Color Picker Styles */
.pickr {
    position: relative;
    overflow: visible;
}
.pickr .pcr-app {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 1rem;
    margin-top: 0.5rem;
    min-width: 300px;
}
/* Responsive positioning for color picker */
@media (max-width: 768px) {
    .pickr .pcr-app {
        right: auto;
        left: 0;
        min-width: 280px;
    }
}
.pickr .pcr-app .pcr-selection {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.pickr .pcr-app .pcr-color-preview {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-normal);
}
.pickr .pcr-app .pcr-color-palette {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}
.pickr .pcr-app .pcr-color-palette button {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-normal);
}
.pickr .pcr-app .pcr-color-palette button:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}
/* Ensure proper */
#fontColorPicker {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--border-color);
    color: var(--text-color);
    transition: all var(--transition-normal);
    border-radius: 0 6px 6px 0;
}
#fontColorPicker:hover {
    background: var(--text-color);
    color: white;
    transform: translateY(-1px);
}
#fontColorPicker i {
    font-size: 1rem;
}
/* Input group styling for better alignment */
.input-group .form-control {
    border-radius: 6px 0 0 6px;
}
.input-group .btn {
    border-radius: 0 6px 6px 0;
}
/* Email copy button styling */
#copy-admin-email {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 6px 6px 0;
}
#copy-admin-email i {
    font-size: 1rem;
}
/* Reset Admin Container */
.reset-admin-container {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}
.reset-admin-success {
    color: var(--success-color);
    font-weight: 600;
}
.reset-admin-error {
    color: var(--danger-color);
    font-weight: 600;
}
.reset-admin-info {
    color: var(--info-color);
    font-weight: 600;
}
/* Enhanced Responsive Design & Accessibility */
@media (max-width: 576px) {
    .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }
    .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    .col, .col-12 {
        padding-left: 8px;
        padding-right: 8px;
    }
}
/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Touch targets */
    .btn, .nav-link, .form-control, .form-select {
        min-height: 44px;
        min-width: 44px;
    }
    /* Touch spacing */
    .btn + .btn {
        margin-left: 12px;
    }
    /* Form spacing */
    .form-control, .form-select {
        padding: 12px 16px;
        font-size: 16px; /* iOS zoom prevention */
    }
    /* Mobile table scroll */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
}
/* Mobile navigation */
@media (max-width: 768px) {
    /* Menu accessibility */
    .navbar-toggler {
        padding: 12px;
        border: none;
        background: transparent;
    }
    /* Mobile form layout */
    .form-row {
        flex-direction: column;
    }
    .form-row > .col {
        margin-bottom: 1rem;
    }
    /* Improve styling */
    .table th,
    .table td {
        padding: 8px 4px;
        font-size: 0.875rem;
    }
    /* Stack buttons on mobile */
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-group .btn {
        margin-bottom: 0.5rem;
        width: 100%;
    }
    /* Hide copy email button on mobile devices */
    #copy-admin-email {
        display: none !important;
    }
}
/* High contrast */
@media (prefers-contrast: high) {
    .btn {
        border-width: 2px;
    }
    .form-control {
        border-width: 2px;
    }
    .table th {
        background-color: #000;
        color: #fff;
    }
}
/* Size reduction */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #68d391;
        --text-color: #e2e8f0;
        --bg-color: #1a202c;
        --border-color: #4a5568;
    }
}
/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    .table {
        border-collapse: collapse;
    }
    .table th,
    .table td {
        border: 1px solid #000;
        padding: 8px;
    }
}
/* Animation Classes - Consolidated */
/* Animation classes - Consolidated */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}
.slide-in {
    animation: slideIn 0.6s ease-out;
}
/* Enhanced styling */
.d-none-xs { display: none !important; }
.d-block-xs { display: block !important; }
.d-flex-xs { display: flex !important; }
@media (min-width: 576px) {
    .d-none-sm { display: none !important; }
    .d-block-sm { display: block !important; }
    .d-flex-sm { display: flex !important; }
}
@media (min-width: 768px) {
    .d-none-md { display: none !important; }
    .d-block-md { display: block !important; }
    .d-flex-md { display: flex !important; }
}
@media (min-width: 992px) {
    .d-none-lg { display: none !important; }
    .d-block-lg { display: block !important; }
    .d-flex-lg { display: flex !important; }
}
@media (min-width: 1200px) {
    .d-none-xl { display: none !important; }
    .d-block-xl { display: block !important; }
    .d-flex-xl { display: flex !important; }
}
/* Responsive text alignment */
.text-left-xs { text-align: left !important; }
.text-center-xs { text-align: center !important; }
.text-right-xs { text-align: right !important; }
@media (min-width: 576px) {
    .text-left-sm { text-align: left !important; }
    .text-center-sm { text-align: center !important; }
    .text-right-sm { text-align: right !important; }
}
@media (min-width: 768px) {
    .text-left-md { text-align: left !important; }
    .text-center-md { text-align: center !important; }
    .text-right-md { text-align: right !important; }
}
@media (min-width: 992px) {
    .text-left-lg { text-align: left !important; }
    .text-center-lg { text-align: center !important; }
    .text-right-lg { text-align: right !important; }
}
@media (min-width: 1200px) {
    .text-left-xl { text-align: left !important; }
    .text-center-xl { text-align: center !important; }
    .text-right-xl { text-align: right !important; }
}
/* Responsive spacing */
.m-0-xs { margin: 0 !important; }
.p-0-xs { padding: 0 !important; }
@media (min-width: 576px) {
    .m-0-sm { margin: 0 !important; }
    .p-0-sm { padding: 0 !important; }
}
@media (min-width: 768px) {
    .m-0-md { margin: 0 !important; }
    .p-0-md { padding: 0 !important; }
}
@media (min-width: 992px) {
    .m-0-lg { margin: 0 !important; }
    .p-0-lg { padding: 0 !important; }
}
@media (min-width: 1200px) {
    .m-0-xl { margin: 0 !important; }
    .p-0-xl { padding: 0 !important; }
}
/* Enhanced Typography - Consolidated */
.text-muted {
    color: #6c757d !important;
}
/* Text alignment already defined above */
/* ==========================================================================
   Enhanced Mobile-First Responsive Design
   ========================================================================== */
/* Base styling */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
@media (max-width: 992px) {
    .container {
        max-width: 100%;
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }
    /* Enhanced styling */
    .row {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }
    .row > * {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    /* Typography improvements */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.875rem; }
    /* Button improvements */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        min-height: 36px;
    }
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-height: 52px;
    }
}
@media (max-width: 768px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    /* Mobile grid */
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    .row > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    /* Mobile typography */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.375rem; }
    h3 { font-size: 1.125rem; }
    h4 { font-size: 1rem; }
    h5 { font-size: 0.95rem; }
    h6 { font-size: 0.85rem; }
    /* Mobile buttons */
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
    }
    .btn + .btn {
        margin-left: 0;
    }
    .btn-sm {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-height: 40px;
    }
    .btn-lg {
        padding: 1.125rem 2rem;
        font-size: 1.125rem;
        min-height: 56px;
    }
    /* Card improvements - exclude settings page cards */
    .card:not(.enhanced-settings-card):not(.terms-editor-card):not(.gdpr-editor-card):not(.consent-editor-card) {
        margin-bottom: 1.25rem;
        border-radius: 0.375rem;
    }
    .card-header {
        padding: 0.875rem 1rem;
    }
    .card-body {
        padding: 1rem;
    }
    .card-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    /* Form improvements */
    .form-control,
    .form-select {
        padding: 0.875rem;
        font-size: 16px; /* iOS zoom prevention */
        min-height: 48px;
        border-radius: 0.375rem;
    }
    .form-label {
        font-size: 0.9rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }
    /* Table improvements */
    .table-responsive {
        border-radius: 0.375rem;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
    }
    .table {
        font-size: 0.85rem;
    }
    .table th,
    .table td {
        padding: 0.5rem 0.375rem;
    }
    /* Navigation improvements */
    .navbar-toggler {
        padding: 0.5rem;
        border: none;
        background: transparent;
        min-height: 44px;
        min-width: 44px;
    }
    /* Modal improvements */
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    .modal-content {
        border-radius: 0.5rem;
    }
    .modal-header,
    .modal-footer {
        padding: 1rem 1.25rem;
    }
    .modal-body {
        padding: 1.25rem;
    }
}
@media (max-width: 576px) {
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    /* Ultra-mobile grid */
    .row {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }
    .row > * {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    /* Ultra-mobile typography */
    h1 { font-size: 1.375rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.125rem; }
    h4 { font-size: 1rem; }
    h5 { font-size: 0.9rem; }
    h6 { font-size: 0.8rem; }
    /* Ultra-mobile buttons */
    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 52px;
        font-weight: 500;
    }
    .btn-sm {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    .btn-lg {
        padding: 1.25rem 2rem;
        font-size: 1.125rem;
        min-height: 60px;
    }
    /* Ultra-mobile cards - exclude settings page cards */
    .card:not(.enhanced-settings-card):not(.terms-editor-card):not(.gdpr-editor-card):not(.consent-editor-card) {
        margin-bottom: 1rem;
        border-radius: 0.25rem;
    }
    .card-header {
        padding: 0.75rem 0.875rem;
    }
    .card-body {
        padding: 0.875rem;
    }
    .card-title {
        font-size: 0.95rem;
        margin-bottom: 0.375rem;
    }
    /* Ultra-mobile forms */
    .form-control,
    .form-select {
        padding: 1rem;
        font-size: 16px;
        min-height: 52px;
        border-radius: 0.375rem;
    }
    .form-label {
        font-size: 0.875rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }
    /* Ultra-mobile table */
    .table {
        font-size: 0.8rem;
    }
    .table th,
    .table td {
        padding: 0.375rem 0.25rem;
    }
    /* Ultra-mobile modals */
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
    }
    .modal-header,
    .modal-footer {
        padding: 0.875rem 1rem;
    }
    .modal-body {
        padding: 1rem;
    }
}
/* ==========================================================================
   Enhanced Responsive Utilities
   ========================================================================== */
/* Display utilities */
.d-mobile-none { display: none !important; }
.d-mobile-block { display: block !important; }
.d-mobile-flex { display: flex !important; }
.d-mobile-inline { display: inline !important; }
.d-mobile-inline-block { display: inline-block !important; }
@media (min-width: 768px) {
    .d-mobile-none { display: block !important; }
    .d-desktop-none { display: none !important; }
    .d-desktop-block { display: block !important; }
    .d-desktop-flex { display: flex !important; }
}
/* Text alignment utilities */
.text-mobile-center { text-align: center !important; }
.text-mobile-left { text-align: left !important; }
.text-mobile-right { text-align: right !important; }
@media (min-width: 768px) {
    .text-desktop-center { text-align: center !important; }
    .text-desktop-left { text-align: left !important; }
    .text-desktop-right { text-align: right !important; }
}
/* Spacing utilities */
.p-mobile-0 { padding: 0 !important; }
.p-mobile-1 { padding: 0.25rem !important; }
.p-mobile-2 { padding: 0.5rem !important; }
.p-mobile-3 { padding: 1rem !important; }
.p-mobile-4 { padding: 1.5rem !important; }
.m-mobile-0 { margin: 0 !important; }
.m-mobile-1 { margin: 0.25rem !important; }
.m-mobile-2 { margin: 0.5rem !important; }
.m-mobile-3 { margin: 1rem !important; }
.m-mobile-4 { margin: 1.5rem !important; }
/* Width utilities */
.w-mobile-25 { width: 25% !important; }
.w-mobile-50 { width: 50% !important; }
.w-mobile-75 { width: 75% !important; }
.w-mobile-100 { width: 100% !important; }
/* Flex utilities */
.flex-mobile-column { flex-direction: column !important; }
.flex-mobile-row { flex-direction: row !important; }
.justify-mobile-center { justify-content: center !important; }
.justify-mobile-between { justify-content: space-between !important; }
.align-mobile-center { align-items: center !important; }
.align-mobile-start { align-items: flex-start !important; }
@media (min-width: 768px) {
    .flex-desktop-column { flex-direction: column !important; }
    .flex-desktop-row { flex-direction: row !important; }
    .justify-desktop-center { justify-content: center !important; }
    .justify-desktop-between { justify-content: space-between !important; }
    .align-desktop-center { align-items: center !important; }
    .align-desktop-start { align-items: flex-start !important; }
}
/* ==========================================================================
   Enhanced Touch and Accessibility
   ========================================================================== */
/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Touch targets */
    .btn,
    .nav-link,
    .form-control,
    .form-select,
    .navbar-toggler,
    .close,
    .btn-close {
        min-height: 44px;
        min-width: 44px;
    }
    /* Increase tap target spacing */
    .btn + .btn,
    .nav-link + .nav-link {
        margin-top: 0.5rem;
    }
    /* Form spacing */
    .form-control,
    .form-select {
        padding: 0.875rem;
        font-size: 16px; /* iOS zoom prevention */
    }
    /* Better styling */
    .table-responsive,
    .modal-body {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .table-responsive::-webkit-scrollbar,
    .modal-body::-webkit-scrollbar {
        display: none;
    }
    /* Touch-friendly links */
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    /* Touch-friendly table actions */
    .table .btn {
        padding: 0.5rem;
        margin: 0.125rem;
        min-height: 40px;
        min-width: 40px;
    }
}
/* High contrast */
@media (prefers-contrast: high) {
    .btn {
        border-width: 2px;
    }
    .form-control,
    .form-select {
        border-width: 2px;
    }
    .table th {
        background-color: #000;
        color: #fff;
    }
}
/* Size reduction */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* Dark mode support - Consolidated */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #68d391;
        --secondary-color: #9f7aea;
        --text-color: #e2e8f0;
        --bg-color: #1a202c;
        --border-color: #4a5568;
    }
    body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }
    .card:not(.enhanced-settings-card):not(.terms-editor-card):not(.gdpr-editor-card):not(.consent-editor-card) {
        background-color: var(--card-bg);
        border-color: var(--border-color);
    }
    .form-control,
    .form-select {
        background-color: var(--card-bg);
        border-color: var(--border-color);
        color: var(--text-color);
    }
    .table {
        color: var(--text-color);
    }
    .table th {
        background-color: var(--header-bg);
    }
}
/* Mobile responsive features consolidated in mobile-responsive.css */
/* Basic responsive container adjustments only - mobile features in mobile-responsive.css */
/* Mobile styles moved to mobile-responsive.css */
/* ==========================================================================
   INTEGRATION TEST BUTTONS
   ========================================================================== */
/* ==========================================================================
   MOBILE LAYOUT CONSISTENCY FIXES
   Ensure all page elements have consistent width and padding on mobile
   ========================================================================== */
@media (max-width: 768px) {
    /* UNIVERSAL MOBILE CONTAINER RULES */
    * {
        box-sizing: border-box;
    }
    /* Hide page headers on mobile - except settings page which needs tabs */
    .page-header:not(.settings-page-header) {
        display: none !important;
    }
    /* Settings page header mobile optimization - handled by unified approach */
    .settings-page-header {
        display: block !important;
        margin-bottom: 1rem !important;
    }
    .settings-page-header .header-content {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 1rem !important;
    }
    .settings-page-header .header-left {
        text-align: center !important;
        margin-bottom: 0.5rem !important;
    }
    .settings-page-header .page-title {
        font-size: 1.25rem !important;
        margin-bottom: 0.25rem !important;
    }
    .settings-page-header .page-subtitle {
        font-size: 0.875rem !important;
        color: #6c757d !important;
    }
    .settings-page-header .header-right {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        flex-wrap: wrap !important;
    }
    .settings-page-header .header-tabs {
        flex-direction: column !important;
        gap: 0.5rem !important;
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    .settings-page-header .header-tab {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .settings-page-header .settings-quick-actions {
        flex-direction: row !important;
        gap: 0.5rem !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }
    .settings-page-header .settings-quick-actions .btn {
        width: auto !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    /* Ensure proper */
    .dashboard-main-content,
    .dashboard-content,
    .editor-section {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    /* Reports page specific container consistency */
    body.reports-page .page-header,
    body.reports-page .dashboard-content,
    body.reports-page .dashboard-section-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }
    /* Settings page specific container consistency - unified approach */
    /* These rules are now handled by the unified approach above */
    /* Enhanced styling */
    .mailchimp-stats-grid,
    .guests-stats-grid,
    .gratuity-stats-grid,
    .dashboard-stats-grid {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    /* Card containers should have consistent width - settings cards handled by unified approach */
    .card:not(.enhanced-settings-card):not(.terms-editor-card):not(.gdpr-editor-card):not(.consent-editor-card),
    .dashboard-section-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }
    /* Ensure rows and columns don't add extra spacing */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    .col,
    .col-12,
    .col-md-6,
    .col-lg-3,
    .col-xl-3,
    [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    /* Fix any overflow issues */
    body,
    html {
        overflow-x: hidden !important;
    }
    /* Ensure proper */
    .table-responsive {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 0.5rem;
        background: white;
        border: 1px solid #e9ecef;
    }
}
@media (max-width: 576px) {
    /* Even tighter consistency for small mobile */
    .dashboard-main-content,
    .dashboard-content,
    .editor-section,
    .page-header {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    /* Reports page small mobile container consistency */
    body.reports-page .page-header,
    body.reports-page .dashboard-content,
    body.reports-page .dashboard-section-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }
    /* Settings page small mobile container consistency - unified approach */
    /* These rules are now handled by the unified approach above */
    .page-header:not(.settings-page-header) {
        margin: 12px 0 !important;
        padding: 12px !important;
        width: calc(100% - 24px) !important;
        margin-left: 12px !important;
        margin-right: 12px !important;
    }
    /* Settings page header small mobile adjustments */
    /* Card containers should have consistent width in small mobile */
    /* Card containers - settings cards handled by unified approach */
    .card:not(.enhanced-settings-card):not(.terms-editor-card):not(.gdpr-editor-card):not(.consent-editor-card),
    .dashboard-section-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }
}
/* Add these classes to consolidate inline styles from JavaScript */
.color-preview-text {
    font-weight: bold;
}
.mobile-error-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.mobile-empty-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}
.alert-close-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: inherit;
}
.alert-close-btn:hover {
    opacity: 0.7;
}
/* Small text utility class */
.small-text {
    font-size: 0.8rem !important;
}
/* =====================================
   WIFI CHECKBOX STYLES - CONSOLIDATED
   ===================================== */
/* Checkbox wrapper container */
.lavie-wifi-checkbox-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    user-select: text;
    position: relative;
    z-index: 0;
}
/* Individual checkbox container */
.lavie-wifi-checkbox {
    display: flex;
    align-items: flex-start; /* Changed to flex-start for better text wrapping */
    gap: 6px; /* Gap adjustment */
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    position: relative;
    min-height: unset;
    user-select: text;
    flex-wrap: wrap; /* Changed to wrap to allow text wrapping */
    width: 100%;
    max-width: 100%;
}
.lavie-wifi-checkbox input[type="checkbox"] {
    margin: 0;
    padding: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: 2px solid #E5E7EB;
    transition: all 0.2s ease;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border-radius: 5px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    align-self: center;
    float: none;
    margin-left: 0;
    margin-right: 0;
    background-image: none;
}
.lavie-wifi-checkbox input[type="checkbox"]:checked {
    background-color: #274E13;
    border-color: #274E13;
    background-image: none;
}
.lavie-wifi-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    background-image: none;
}
.lavie-wifi-checkbox label {
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    cursor: pointer;
    display: block;
    align-self: flex-start; /* Changed to flex-start for better alignment */
    font-weight: normal;
    user-select: text;
    flex: 1;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
    min-width: 0;
    max-width: calc(100% - 24px); /* Width adjustment */
}
.lavie-wifi-checkbox a {
    color: #274E13;
    text-decoration: none;
    font-weight: 500;
}
.lavie-wifi-checkbox a:hover {
    text-decoration: underline;
}
/* Enhanced mobile-specific checkbox styles for better responsiveness */
@media (max-width: 576px) {
    .lavie-wifi-checkbox-wrapper {
        gap: 8px;
        margin-bottom: 12px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .lavie-wifi-checkbox {
        gap: 4px; /* Mobile gap adjustment */
        align-items: flex-start !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden;
    }
    .lavie-wifi-checkbox label {
        font-size: 13px;
        line-height: 1.4;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        hyphens: auto !important;
        flex: 1 !important;
        min-width: 0 !important;
        max-width: calc(100% - 24px) !important; /* Mobile width adjustment */
        display: block !important;
        width: 100% !important;
        overflow-wrap: break-word !important;
        word-spacing: normal !important;
    }
    .lavie-wifi-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
        flex-shrink: 0 !important;
        margin-top: 2px;
        min-width: 20px;
    }
}
@media (max-width: 480px) {
    .lavie-wifi-checkbox-wrapper {
        gap: 6px;
        margin-bottom: 10px;
        width: 100%;
        max-width: 100%;
    }
    .lavie-wifi-checkbox {
        gap: 3px; /* Small mobile gap adjustment */
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        align-items: flex-start;
    }
    .lavie-wifi-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-top: 1px;
        min-width: 18px;
        flex-shrink: 0;
    }
    .lavie-wifi-checkbox label {
        font-size: 12px;
        line-height: 1.3;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        hyphens: auto !important;
        flex: 1;
        min-width: 0;
        max-width: calc(100% - 21px); /* Small mobile width adjustment */
        display: block;
        width: 100%;
    }
}
/* Extra small devices - ensure text never gets truncated */
@media (max-width: 360px) {
    .lavie-wifi-checkbox-wrapper {
        gap: 4px;
        margin-bottom: 8px;
        width: 100%;
        max-width: 100%;
    }
    .lavie-wifi-checkbox {
        gap: 4px;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        align-items: flex-start;
    }
    .lavie-wifi-checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-top: 0;
        min-width: 16px;
        flex-shrink: 0;
    }
    .lavie-wifi-checkbox label {
        font-size: 11px;
        line-height: 1.2;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        hyphens: auto !important;
        flex: 1;
        min-width: 0;
        max-width: calc(100% - 20px); /* Account for smaller checkbox width + gap */
        display: block;
        width: 100%;
    }
}

/* Filter Select Styles */
.filter-select {
    min-width: 120px;
}

.filter-select[name="status_filter"] {
    min-width: 140px;
}

/* Site Badge Styles */
.site-badge {
    background-color: #0d6efd !important;
}

/* Empty Site Warning */
.empty-site-warning {
}
/* Filter Select Styles */
.filter-select {
    min-width: 120px;
}

.filter-select[name="status_filter"] {
    min-width: 140px;
}

/* Site Badge Styles */
.site-badge {
    background-color: #0d6efd !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
}

/* Empty Site Warning */
.empty-site-warning {
    color: red !important;
    font-weight: bold !important;
}
