/* ==========================================================
   QR-INFO-PORTAL: RESPONSIVE CSS
   Konsolidiert alle @media Queries aus 14 Quelldateien
   Haupt-Breakpoints: 375px, 640px, 768px, 1024px, 1280px
   ========================================================== */


/* ========== Thai Medical Design System V2 (MASTER) ========== */
@media (max-width: 640px) {
  /* Typography Adjustments */
  :root {
    --text-base: 0.9rem;
    --text-lg: 1rem;
    --text-xl: 1.125rem;
    --text-2xl: 1.25rem;
    --text-3xl: 1.5rem;
    --text-4xl: 1.875rem;
  }
  
  /* Component Adjustments */
  .card-thai-medical {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-thai-sm);
  }
  
  .card-header-thai,
  .card-body-thai {
    padding: var(--space-4);
  }
  
  .btn-thai {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
  }
  
  .service-icon-thai {
    width: var(--icon-lg);
    height: var(--icon-lg);
    font-size: var(--icon-base);
  }
  
  .services-grid-thai {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .service-item-thai {
    padding: var(--space-4);
  }
  
  .time-display-thai {
    font-size: var(--text-4xl);
  }
  
  .status-banner-thai {
    padding: var(--space-4);
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }
  
  .status-icon-thai {
    width: 60px;
    height: 60px;
    font-size: var(--text-xl);
  }
  
  /* Navigation Mobile */
  .nav-container-thai {
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-4);
  }
  
  .nav-items-thai {
    width: 100%;
    justify-content: space-around;
  }
  
  .nav-item-thai {
    flex-direction: column;
    padding: var(--space-2);
    font-size: var(--text-xs);
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .services-grid-thai {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .kiosk-thai-triple {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  
  .kiosk-section-thai {
    padding: var(--space-8);
  }
  
  .time-display-thai {
    font-size: var(--text-5xl);
  }
}
@media (min-width: 1025px) {
  .services-grid-thai {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .card-thai-medical:hover {
    transform: translateY(-4px) scale(1.02);
  }
  
  .service-item-thai:hover {
    transform: translateY(-4px) scale(1.03);
  }
  
  .kiosk-time-thai {
    font-size: 8rem;
  }
}
@media (min-width: 1280px) {
  .services-grid-thai {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .service-icon-thai {
    width: var(--icon-3xl);
    height: var(--icon-3xl);
    font-size: var(--icon-xl);
  }
  
  .qr-code-thai img {
    width: 300px;
    height: 300px;
  }
}
@media (prefers-contrast: high) {
  :root {
    --thai-turquoise-500: #0F766E;
    --thai-coral-500: #DC2626;
    --gray-200: var(--gray-400);
    --shadow-thai: 0 0 0 2px var(--gray-900);
  }
  
  .btn-thai,
  .form-input-thai {
    border-width: 3px;
  }
}
@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;
  }
}
@media print {
  /* Reset for print */
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  /* Hide interactive elements */
  .btn-thai,
  .nav-thai-medical,
  .lang-switcher-thai {
    display: none !important;
  }
  
  /* Optimize cards for print */
  .card-thai-medical {
    box-shadow: none;
    border: 2px solid var(--gray-300);
    page-break-inside: avoid;
    margin-bottom: var(--space-4);
  }
  
  /* QR Code print optimization */
  .qr-container-thai {
    border: 3px solid #000;
    background: white;
    page-break-inside: avoid;
  }
  
  .qr-code-thai img {
    width: 250px;
    height: 250px;
    max-width: 100%;
  }
  
  /* Force black text for readability */
  .heading-thai-1,
  .heading-thai-2,
  .heading-thai-3 {
    color: #000 !important;
    background: none !important;
    -webkit-text-fill-color: #000 !important;
  }
  
  /* Status indicators for print */
  .status-thai-live {
    border: 2px solid currentColor !important;
    font-weight: bold;
  }
  
  /* Service icons for print */
  .service-icon-thai {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --gray-50: #0F172A;
    --gray-100: #1E293B;
    --gray-200: #334155;
    --gray-300: #475569;
    --gray-400: #64748B;
    --gray-500: #94A3B8;
    --gray-600: #CBD5E1;
    --gray-700: #E2E8F0;
    --gray-800: #F1F5F9;
    --gray-900: #F8FAFC;
    
    /* Adjust for dark mode */
    --thai-turquoise-500: #22D3EE;
    --thai-coral-500: #FB7185;
    
    --shadow-thai: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-thai-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
  }
  
  body {
    background-color: var(--gray-50);
  }
  
  .card-thai-medical {
    background: var(--gray-100);
    border-color: rgba(34, 211, 238, 0.2);
  }
  
  .nav-thai-medical {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
  }
}
@media (min-width: 640px) {
  .container-thai {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}
@media (min-width: 1024px) {
  .container-thai {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}
@media (max-width: 768px) {
  .grid-thai-2,
  .grid-thai-3 {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-thai-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ========== Status Enhancements ========== */
@media (max-width: 768px) {
    .status-banner {
        margin: 0 -1rem 1.5rem -1rem;
        border-radius: 0;
    }
    
    .status-banner .flex {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .status-banner .space-x-4 > * + * {
        margin-left: 0;
        margin-top: 1rem;
    }
}
@media (prefers-contrast: high) {
    .status-banner {
        border-width: 3px;
        box-shadow: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .status-banner,
    .status-banner::before,
    .card-status-closed .rounded-full {
        animation: none;
        transition: none;
    }
}


/* ========== Legal Compliance ========== */
@media (max-width: 768px) {
    .cookie-consent-content {
        width: 95%;
        max-height: 95vh;
        margin: 20px;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }
    
    .cookie-consent-banner {
        padding: 20px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-consent-tabs {
        flex-wrap: wrap;
    }
    
    .cookie-tab {
        flex: 1;
        min-width: 120px;
    }
    
    .compliance-notice {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .legal-settings-tabs {
        flex-direction: column;
    }
    
    .config-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .cookie-consent-header {
        padding: 16px 16px 0 16px;
    }
    
    .cookie-consent-body {
        padding: 0 16px;
    }
    
    .cookie-consent-footer {
        padding: 16px;
    }
    
    .cookie-consent-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
@media (prefers-color-scheme: dark) {
    .cookie-consent-content {
        background: #1f2937;
        color: #f9fafb;
    }
    
    .cookie-consent-header {
        border-bottom-color: #374151;
    }
    
    .cookie-consent-header h3 {
        color: #f9fafb;
    }
    
    .cookie-consent-close {
        color: #9ca3af;
    }
    
    .cookie-consent-close:hover {
        background: #374151;
        color: #f3f4f6;
    }
    
    .cookie-consent-description {
        color: #d1d5db;
    }
    
    .cookie-consent-tabs {
        border-bottom-color: #374151;
    }
    
    .cookie-tab {
        color: #9ca3af;
    }
    
    .cookie-tab:hover {
        color: #f3f4f6;
        background: #374151;
    }
    
    .cookie-tab.active {
        color: #60a5fa;
        background: #1e3a8a;
    }
    
    .cookie-toggle-title {
        color: #f9fafb;
    }
    
    .cookie-description {
        color: #d1d5db;
    }
    
    .cookie-details {
        color: #9ca3af;
    }
    
    .cookie-details strong {
        color: #f3f4f6;
    }
    
    .cookie-consent-footer {
        border-top-color: #374151;
    }
    
    .medical-disclaimer-section {
        background: #451a03;
        border-left-color: #f59e0b;
    }
    
    .medical-disclaimer-text {
        color: #fbbf24 !important;
    }
}
@media print {
    .cookie-consent-banner,
    .cookie-notification {
        display: none !important;
    }
    
    .legal-document {
        max-width: none;
        margin: 0;
    }
    
    .legal-document h1,
    .legal-document h2,
    .legal-document h3 {
        page-break-after: avoid;
    }
    
    .legal-document p,
    .legal-document li {
        page-break-inside: avoid;
    }
}
@media (prefers-contrast: high) {
    .cookie-consent-content {
        border: 2px solid;
    }
    
    .cookie-tab.active {
        border: 2px solid;
    }
    
    .cookie-btn {
        border: 2px solid;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cookie-consent-banner,
    .cookie-notification,
    .cookie-tab,
    .cookie-btn,
    .cookie-panel {
        transition: none;
    }
    
    @keyframes fadeIn {
        from, to { opacity: 1; transform: none; }
    }
}


/* ========== Help System ========== */
@media (max-width: 768px) {
    .help-panel {
        width: 100%;
        right: -100%;
    }
    
    .help-button {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }
    
    .help-button i {
        font-size: 20px;
    }
    
    .help-wizard-content {
        padding: 24px 20px;
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .help-tooltip {
        max-width: 200px;
        font-size: 0.8rem;
    }
}
@media (prefers-color-scheme: dark) {
    .help-panel {
        background-color: #1f2937;
        color: white;
    }
    
    .help-section {
        border-color: #374151;
    }
    
    .help-section-header {
        background-color: #374151;
        border-color: #4b5563;
    }
    
    .help-section-header:hover {
        background-color: #4b5563;
    }
    
    .help-search-input {
        background-color: #374151;
        border-color: #4b5563;
        color: white;
    }
    
    .help-search-input:focus {
        background-color: #4b5563;
    }
    
    .help-wizard-content {
        background-color: #1f2937;
        color: white;
    }
}
@media print {
    .help-button,
    .help-panel,
    .help-tooltip,
    .help-wizard {
        display: none !important;
    }
}


/* ========== Setup Wizard ========== */
@media (max-width: 768px) {
    .progress-steps {
        gap: 0.5rem;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
}
@media (max-width: 768px) {
    .wizard-container {
        padding: 1rem;
    }
    
    .wizard-step {
        padding: 2rem 1rem;
    }
    
    .step-title {
        font-size: 1.875rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wizard-navigation {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .wizard-navigation .nav-info {
        order: -1;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
@media (prefers-contrast: high) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        border-width: 3px;
    }
    
    .btn {
        border-width: 3px;
    }
}


/* ========== Design System ========== */
@media (prefers-contrast: high) {
  :root {
    --color-gray-200: var(--color-gray-400);
    --shadow-base: 0 0 0 1px var(--color-gray-900);
    --shadow-lg: 0 0 0 2px var(--color-gray-900);
  }
  
  .btn {
    border-width: 2px;
  }
  
  .form-input,
  .form-textarea,
  .form-select {
    border-width: 2px;
  }
}
@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;
  }
}
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:text-lg { font-size: var(--text-lg); }
  .sm\:p-6 { padding: var(--space-6); }
}
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:text-xl { font-size: var(--text-xl); }
  .md\:p-8 { padding: var(--space-8); }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:text-2xl { font-size: var(--text-2xl); }
  .lg\:p-10 { padding: var(--space-10); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .xl\:block { display: block; }
  .xl\:text-3xl { font-size: var(--text-3xl); }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media print {
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  .no-print,
  .nav,
  .notification,
  .btn {
    display: none !important;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #000;
    page-break-inside: avoid;
  }
  
  a {
    text-decoration: underline;
  }
  
  a[href^="http"]:after {
    content: " (" attr(href) ")";
  }
}


/* ========== Enhanced UI ========== */
@media (max-width: 640px) {
  .kiosk-time {
    font-size: 2rem;
  }
  
  .kiosk-title {
    font-size: 1.5rem;
  }
  
  .card-enhanced {
    margin-bottom: 1rem;
    border-radius: var(--radius);
  }
  
  .btn-kiosk {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    min-width: 150px;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .kiosk-container {
    padding: 1.5rem;
  }
  
  .kiosk-card {
    padding: 1.5rem;
  }
}
@media (min-width: 1025px) {
  .kiosk-time {
    font-size: 4rem;
  }
  
  .kiosk-title {
    font-size: 2.5rem;
  }
}
@media (prefers-contrast: high) {
  :root {
    --gray-300: #000000;
    --gray-700: #000000;
  }
}
@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;
  }
}
@media print {
  .qr-container,
  .qr-code {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  .no-print {
    display: none !important;
  }
}


/* ========== UI/UX Fixes ========== */
@media (max-width: 767px) {
    .kiosk-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .kiosk-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 1rem;
    }
}
@media (min-width: 1024px) {
    .kiosk-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
}
@media (min-width: 1440px) {
    .kiosk-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}
@media (min-width: 1920px) {
    .kiosk-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
        max-width: 2000px; /* Prevent excessive width */
        margin: 0 auto;
    }
}
@media screen and (min-resolution: 1.25dppx) {
    /* 125% zoom fixes */
    body {
        font-size: 16px !important;
    }
    
    .kiosk-grid {
        gap: 1.2rem;
    }
}
@media screen and (min-resolution: 1.5dppx) {
    /* 150% zoom fixes */
    .kiosk-grid {
        gap: 1rem;
        padding: 1rem;
    }
    
    .thai-primary {
        font-weight: 700 !important;
    }
}
@media screen and (min-resolution: 2dppx) {
    /* High DPI displays */
    .kiosk-text,
    .thai-primary,
    .en-subtitle {
        font-weight: 600 !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}
@media (prefers-contrast: high) {
    .kiosk-text,
    .thai-primary,
    .en-subtitle {
        font-weight: 700 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .lang-option,
    .nav-item-medical,
    button {
        border: 2px solid currentColor !important;
    }
}
@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;
    }
}


/* ========== Theme System ========== */
@media (max-width: 768px) {
  .theme-switcher {
    bottom: var(--space-4);
    right: var(--space-4);
  }
  
  .theme-switcher-toggle {
    width: 48px;
    height: 48px;
  }
  
  .theme-switcher-menu {
    right: 0;
    left: auto;
    min-width: 180px;
  }
}
@media print {
  /* Force light theme for printing */
  :root {
    --color-primary-500: #1890FF !important;
    --color-gray-900: #000000 !important;
    --color-white: #FFFFFF !important;
    --color-gray-50: #FAFAFA !important;
  }
  
  .theme-switcher {
    display: none !important;
  }
}


/* ========== Minimal ========== */
@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .grid-cols-7 {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        font-size: 0.75rem;
    }
    
    .calendar-day {
        min-height: 80px;
        padding: 0.25rem;
    }
}


/* ========== Thai Components Library ========== */
@media (max-width: 640px) {
  /* Service Cards Mobile */
  .medical-service-card {
    padding: var(--space-4);
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }
  
  .medical-service-icon {
    width: var(--icon-xl);
    height: var(--icon-xl);
  }
  
  /* Contact Methods Mobile */
  .contact-methods-thai {
    padding: var(--space-4);
  }
  
  .contact-method-item {
    padding: var(--space-3);
  }
  
  /* Time Display Mobile */
  .time-hero-clock {
    font-size: var(--text-4xl);
  }
  
  /* Status Banner Mobile */
  .status-banner-thai-medical {
    padding: var(--space-4);
  }
  
  .status-content-thai {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }
  
  .status-icon-large-thai {
    width: 70px;
    height: 70px;
    font-size: var(--text-2xl);
  }
  
  /* Calendar Mobile */
  .calendar-day-thai {
    min-height: 80px;
    padding: var(--space-2);
  }
  
  .calendar-day-number {
    font-size: var(--text-base);
  }
  
  /* Kiosk Mobile (Tablets in portrait) */
  .kiosk-grid-thai {
    grid-template-columns: 1fr;
    padding: var(--space-4);
  }
  
  .kiosk-panel-thai {
    padding: var(--space-6);
  }
  
  .kiosk-panel-title {
    font-size: var(--text-2xl);
  }
}
@media (max-width: 480px) {
  /* Extra small mobile adjustments */
  .location-amenities-thai {
    grid-template-columns: 1fr;
  }
  
  .time-compact-thai {
    font-size: var(--text-sm);
  }
  
  .qr-code-thai img {
    width: 150px;
    height: 150px;
  }
}
@media print {
  /* Service Cards for print */
  .medical-service-card {
    box-shadow: none !important;
    border: 2px solid var(--gray-300) !important;
    page-break-inside: avoid;
    margin-bottom: var(--space-4);
  }
  
  .medical-service-icon {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  /* Status Banner for print */
  .status-banner-thai-medical {
    box-shadow: none !important;
    border: 3px solid var(--status-border) !important;
    background: white !important;
  }
  
  /* Contact methods for print */
  .contact-method-item {
    border: 2px solid var(--method-border) !important;
    background: white !important;
  }
  
  /* QR Codes optimized for print */
  .qr-container-thai {
    background: white !important;
    border: 3px solid #000 !important;
    page-break-inside: avoid;
  }
  
  .qr-code-thai {
    background: white !important;
    box-shadow: none !important;
  }
  
  .qr-code-thai img {
    width: 200px !important;
    height: 200px !important;
  }
  
  /* Calendar for print */
  .calendar-thai-container {
    box-shadow: none !important;
    border: 2px solid var(--gray-300) !important;
  }
  
  .calendar-header-thai {
    background: var(--gray-100) !important;
    color: var(--gray-900) !important;
  }
  
  .calendar-day-thai {
    border: 1px solid var(--gray-300) !important;
    background: white !important;
  }
  
  .calendar-day-today {
    border: 2px solid var(--thai-turquoise-500) !important;
    background: var(--thai-turquoise-50) !important;
  }
}


/* ========== Modern Medical Design ========== */
@media (max-width: 640px) {
  .services-grid-modern {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .service-item-modern {
    padding: var(--space-4);
  }
  
  .service-icon {
    width: var(--icon-base);
    height: var(--icon-base);
  }
  
  .btn-modern {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-xs);
  }
  
  .card-modern {
    border-radius: var(--radius-lg);
  }
  
  .card-header-modern,
  .card-body-modern {
    padding: var(--space-4);
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .services-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-icon {
    width: var(--icon-lg);
    height: var(--icon-lg);
  }
}
@media (min-width: 1025px) {
  .services-grid-modern {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-item-modern:hover {
    transform: translateY(-4px) scale(1.03);
  }
}
@media (min-width: 1440px) {
  .services-grid-modern {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .service-icon {
    width: var(--icon-xl);
    height: var(--icon-xl);
  }
}
@media (prefers-contrast: high) {
  :root {
    --gray-200: var(--gray-400);
    --shadow: 0 0 0 1px var(--gray-900);
    --shadow-lg: 0 0 0 2px var(--gray-900);
  }
  
  .btn-modern {
    border: 2px solid currentColor;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media print {
  .service-icon,
  .btn-modern {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  .card-modern {
    box-shadow: none !important;
    border: 2px solid var(--gray-300) !important;
  }
}


/* ========== UI Components ========== */
@media (max-width: 768px) {
  .nav-mobile-toggle {
    display: block;
  }
  
  .nav-items {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: white;
    flex-direction: column;
    padding: var(--space-6);
    transition: left 0.3s ease;
    box-shadow: var(--shadow-xl);
  }
  
  .nav-items.active {
    left: 0;
  }
}
@media (max-width: 640px) {
  .status-banner {
    padding: var(--space-4);
  }
  
  .status-icon-container {
    width: 60px;
    height: 60px;
  }
  
  .time-display-large {
    font-size: 2.5rem;
  }
  
  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
  }
}
@media (min-width: 1024px) {
  .kiosk-time-display {
    font-size: 8rem;
  }
  
  .kiosk-status-large {
    font-size: 2.5rem;
    padding: var(--space-8) var(--space-12);
  }
  
  .qr-code-enhanced img {
    width: 300px;
    height: 300px;
  }
}
@media print {
  .status-banner {
    background: white !important;
    border: 2px solid black !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  .no-print {
    display: none !important;
  }
  
  .qr-code-enhanced {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
