/* Consolidated CSS - Design System + Components */

/* ========================================
   CSS CUSTOM PROPERTIES (DESIGN SYSTEM)
   ======================================== */
:root {
  --color-bg: #f8f9fa;
  --color-text: #212529;
  --color-primary: #6c757d;
  --color-secondary: #495057;
  --radius: 12px;
  --space: 24px;
  
  /* Complete color palette */
  --color-white: #ffffff;
  --color-black: #000000;
  
  /* Gray scale */
  --color-gray-50: #f8f9fa;
  --color-gray-100: #e9ecef;
  --color-gray-200: #dee2e6;
  --color-gray-300: #ced4da;
  --color-gray-400: #adb5bd;
  --color-gray-500: #6c757d;
  --color-gray-600: #495057;
  --color-gray-700: #343a40;
  --color-gray-800: #212529;
  --color-gray-900: #0d1117;
  
  /* Primary colors (blues for ticker) */
  --color-primary-50: #e7f3ff;
  --color-primary-100: #bee5eb;
  --color-primary-200: #2c5aa0;
  --color-primary-300: #2a5298;
  --color-primary-400: #1e3c72;
  --color-primary-500: #1a365d;
  --color-primary-600: #17a2b8;
  --color-primary-700: #0c5460;
  
  /* Success colors (greens) */
  --color-success-50: #d4edda;
  --color-success-100: #c3e6cb;
  --color-success-200: #7dd87d;
  --color-success-300: #5cb85c;
  --color-success-400: #28a745;
  --color-success-500: #218838;
  --color-success-600: #1e7e34;
  
  /* Warning colors (yellows/oranges) */
  --color-warning-50: #fff3cd;
  --color-warning-100: #ffeaa7;
  --color-warning-200: #ffb366;
  --color-warning-300: #ff9f43;
  --color-warning-400: #ffc107;
  --color-warning-500: #e0a800;
  --color-warning-600: #d39e00;
  --color-warning-700: #856404;
  
  /* Danger colors (reds) */
  --color-danger-50: #f8d7da;
  --color-danger-100: #f5c6cb;
  --color-danger-200: #ff8a8a;
  --color-danger-300: #ff6b6b;
  --color-danger-400: #dc3545;
  --color-danger-500: #c82333;
  --color-danger-600: #bd2130;
  --color-danger-700: #721c24;
  
  /* Info colors (cyans) */
  --color-info-50: #d1ecf1;
  --color-info-100: #bee5eb;
  --color-info-400: #17a2b8;
  --color-info-500: #138496;
  --color-info-600: #0c5460;
  
  /* Spacing scale (based on 8px grid) */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */
  
  /* Border radius scale */
  --radius-none: 0;
  --radius-sm: 0.25rem;   /* 4px */
  --radius-base: 0.375rem; /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.25rem;  /* 20px */
  --radius-full: 9999px;
  
  /* Shadow scale */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-base: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Semantic color mappings */
  --color-bg: var(--color-gray-50);
  --color-text: var(--color-gray-800);
  --color-primary: var(--color-gray-500);
  --color-secondary: var(--color-gray-600);
  
  /* Component-specific mappings */
  --color-border: var(--color-gray-100);
  --color-border-light: var(--color-gray-200);
  --color-surface: var(--color-white);
  --color-surface-hover: var(--color-gray-50);
  --color-muted: var(--color-gray-400);
  --color-muted-text: var(--color-gray-500);
  
  /* Legacy mappings (keep for backward compatibility) */
  --radius: var(--radius-lg);
  --space: var(--space-6);
   
  /* Typography system */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  
  /* Font scale (1.25 ratio) */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  
  /* Line heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  
  /* Font weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
}

/* ========================================
   GLOBAL STYLES & TYPOGRAPHY
   ======================================== */
html {
  background: var(--color-bg);
  color: var(--color-text);
  line-height: var(--leading-normal);
  font-family: var(--font-sans);
  font-size: var(--text-base);
}

body {
  margin: 0;
  font-family: var(--font-sans);
}

/* Typography scale */
h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-4) 0;
}

h2 {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-3) 0;
}

h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  line-height: var(--leading-normal);
  margin: 0 0 var(--space-2) 0;
}

p {
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-relaxed);
  margin: 0 0 var(--space-4) 0;
}

small {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

/* ========================================
   HERO BANNER STYLES
   ======================================== */

.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    padding: var(--space-3) var(--space-4);
    color: var(--color-white);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-bold);
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.title-accent {
    font-size: 1.2em;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.title-main {
    display: block;
    background: linear-gradient(45deg, #fff, #e8f4f8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-1);
}

.title-sub {
    display: block;
    font-size: 0.7em;
    font-weight: var(--font-medium);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: var(--text-xl);
    font-weight: var(--font-medium);
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    line-height: var(--leading-relaxed);
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.features-grid {
    display: none;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: var(--text-lg);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.feature-content h3 {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-white);
    margin: 0 0 var(--space-1) 0;
}

.feature-content p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: var(--leading-normal);
}

.hero-cta {
    display: none;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-size: var(--text-sm);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: var(--color-white);
    color: var(--color-primary-400);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.cta-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-icon {
    transform: translateX(2px);
}

.hero-stats {
    display: flex;
    flex-direction: row;
    gap: var(--space-2);
    align-items: center;
    flex-shrink: 0;
}

.stat-item {
    text-align: center;
    padding: var(--space-1) var(--space-2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    min-width: 80px;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.stat-number {
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    color: var(--color-white);
    margin-bottom: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

.decoration-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.decoration-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 5%;
    animation-delay: 2s;
}

.decoration-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 25%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ========================================
   RESPONSIVE HERO STYLES
   ======================================== */

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat-item {
        min-width: 70px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: var(--space-2) var(--space-3);
        margin-bottom: var(--space-3);
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .hero-stats {
        flex-direction: row;
        gap: var(--space-1);
        justify-content: center;
    }
    
    .stat-item {
        min-width: 60px;
        padding: var(--space-1);
    }
    
    .stat-number {
        font-size: var(--text-sm);
    }
    
    .decoration-circle {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        padding: var(--space-1) var(--space-2);
    }
    
    .hero-content {
        gap: var(--space-1);
    }
    
    .hero-title {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }
    
    .hero-subtitle {
        font-size: var(--text-sm);
    }
    
    .hero-description {
        font-size: var(--text-xs);
    }
    
    .stat-item {
        min-width: 50px;
        padding: 2px var(--space-1);
    }
    
    .stat-number {
        font-size: var(--text-xs);
    }
    
    .stat-label {
        font-size: 10px;
    }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  zoom: 0.80;
}

.header {
  margin-bottom: var(--space-8);
  padding: var(--space-6) 0;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.footer {
  margin-top: var(--space-8);
  padding: var(--space-6) 0;
}

/* ========================================
   COMPONENT STYLES
   ======================================== */

/* Hotel table captions for accessibility */
.hotel-overview-table caption {
    caption-side: top;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-muted-text);
    text-align: left;
    padding: var(--space-2) var(--space-3) var(--space-4) var(--space-3);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-bottom: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-bottom: 0;
}

/* Controls */
.controls {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-base);
    border: 1px solid var(--color-border);
}

.control-group {
    display: flex;
    gap: var(--space-4);
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.btn {
    padding: var(--space-2) var(--space-4);
    border: 1px solid transparent;
    border-radius: var(--radius-base);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    text-decoration: none;
    display: inline-block;
    line-height: var(--leading-normal);
}

.btn-primary {
    background: var(--color-gray-500);
    color: var(--color-white);
    border-color: var(--color-gray-500);
}

.btn-primary:hover {
    background: var(--color-gray-600);
    border-color: var(--color-gray-600);
    transform: translateY(-1px);
}

.btn-success {
    background: var(--color-success-400);
    color: var(--color-white);
    border-color: var(--color-success-400);
}

.btn-success:hover {
    background: var(--color-success-500);
    border-color: var(--color-success-600);
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--color-danger-400);
    color: var(--color-white);
    border-color: var(--color-danger-400);
}

.btn-danger:hover {
    background: var(--color-danger-500);
    border-color: var(--color-danger-600);
    transform: translateY(-1px);
}

.btn-warning {
    background: var(--color-warning-400);
    color: var(--color-gray-800);
    border-color: var(--color-warning-400);
}

.btn-warning:hover {
    background: var(--color-warning-500);
    border-color: var(--color-warning-600);
    transform: translateY(-1px);
}

.admin-notice {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--color-warning-50);
    border: 1px solid var(--color-warning-100);
    border-radius: var(--radius-base);
    color: var(--color-warning-700);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    font-family: var(--font-sans);
}

.admin-icon {
    font-size: var(--text-base);
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.status {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-base);
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    font-family: var(--font-sans);
    margin-left: var(--space-3);
}

.status.running {
    background: var(--color-info-50);
    color: var(--color-info-600);
    border: 1px solid var(--color-info-100);
}

.status.stopped {
    background: var(--color-danger-50);
    color: var(--color-danger-700);
    border: 1px solid var(--color-danger-100);
}

/* Hotel Cards */
.hotel-cards-row {
    display: flex;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.hotel-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: all 0.2s ease-in-out;
}

.hotel-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gray-300);
}

.hotel-overview-header h2, .hotel-summary-header h2 {
    margin-bottom: var(--space-6);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    font-family: var(--font-sans);
    color: var(--color-secondary);
    text-align: center;
    letter-spacing: 0.01em;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: var(--space-3);
    position: relative;
}

.hotel-overview-header h2::after, .hotel-summary-header h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

.hotel-overview-summary {
    background: var(--color-gray-50);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border);
}

.summary-text {
    font-size: var(--text-sm);
    font-family: var(--font-sans);
    color: var(--color-muted-text);
    font-weight: var(--font-medium);
}

.price-grid {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-base);
    border: 1px solid var(--color-border);
    max-height: 37.5rem;
    overflow-y: auto;
}

.hotel-overview-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    transition: all 0.15s ease-in-out;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hotel-overview-card:hover {
    border-color: #6c757d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hotel-overview-info {
    flex: 1;
}

.hotel-overview-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #4a6fa5;
    margin-bottom: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.hotel-overview-name:hover {
    color: #2c5aa0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hotel-overview-date {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 2px;
}

.hotel-overview-room {
    font-size: 0.75rem;
    color: #adb5bd;
}

.hotel-overview-price {
    text-align: right;
    margin-left: 16px;
}

.hotel-overview-price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #28a745;
}

.hotel-overview-price-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-align: center;
}

.hotel-overview-table .price-cell {
    font-weight: 700;
    color: #28a745;
    text-align: right;
    font-size: 1.125rem;
}

.hotel-overview-table .date-cell {
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
}

.hotel-overview-table .hotel-cell {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.hotel-overview-table .room-cell {
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.4;
}

.hotel-overview-table .rate-cell {
    color: #adb5bd;
    font-size: 0.75rem;
    text-align: center;
}

.hotel-overview-table .rooms-cell {
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.hotel-overview-table .price-range-cell {
    font-weight: 600;
    color: #28a745;
    text-align: center;
    font-size: 1rem;
}

.hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.hotel-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #4a6fa5;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.hotel-name:hover {
    color: #2c5aa0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.price-dates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
}

.price-date {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    transition: all 0.15s ease-in-out;
    position: relative;
    font-size: 0.875rem;
}

.price-date.updated {
    animation: flash 1s ease-in-out;
}

.price-date.increase {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.price-date.decrease {
    background: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

.price-date.best-price {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.date-key {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 3px;
    font-weight: 600;
}

.room-info {
    font-size: 0.6875rem;
    color: #adb5bd;
    margin-top: 3px;
}

.price-change-entry {
    border-left: 3px solid #6c757d;
    padding: 12px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 0 6px 6px 0;
    border: 1px solid #e9ecef;
    transition: all 0.15s ease-in-out;
}

.price-change-entry:hover {
    background: #e9ecef;
    transform: translateX(2px);
}

.price-change-entry.increase {
    border-left-color: #dc3545;
    background: #f8d7da;
    border-color: #f5c6cb;
}

.price-change-entry.decrease {
    border-left-color: #28a745;
    background: #d4edda;
    border-color: #c3e6cb;
}

.price-change-entry.significant_drop {
    border-left-color: #ffc107;
    background: #fff3cd;
    border-color: #ffeaa7;
}

.price-change-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.price-change-hotel {
    font-weight: 600;
    color: #4a6fa5;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.price-change-hotel:hover {
    color: #2c5aa0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.price-change-time {
    font-size: 0.75rem;
    color: #6c757d;
}

.price-change-details {
    font-size: 0.875rem;
    color: #495057;
}

.price-change-amount {
    font-weight: 600;
}

.price-change-amount.positive {
    color: #28a745;
}

.price-change-amount.negative {
    color: #dc3545;
}

.debug-container {
    /* Debug panel - not for SEO indexing */
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    max-height: 500px;
    overflow-y: auto;
}

.debug-entry {
    padding: 8px 12px;
    margin: 4px 0;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    border-left: 3px solid #6c757d;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.debug-entry.info {
    background: #d1ecf1;
    border-left-color: #17a2b8;
    border-color: #bee5eb;
}

.debug-entry.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
    border-color: #ffeaa7;
}

.debug-entry.error {
    background: #f8d7da;
    border-left-color: #dc3545;
    border-color: #f5c6cb;
}

.debug-entry.debug {
    background: #e2e3e5;
    border-left-color: #6c757d;
    border-color: #d6d8db;
}

.debug-timestamp {
    color: #6c757d;
    font-weight: var(--font-semibold);
    margin-right: 8px;
}

.price-value {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    font-family: var(--font-sans);
    color: #495057;
}

.price-change {
    font-size: var(--text-xs);
    font-family: var(--font-sans);
    margin-top: 4px;
}

.price-change.positive {
    color: #28a745;
}

.price-change.negative {
    color: #dc3545;
}

.hotel-overview-container, .chart-container, .price-changes-container, .debug-container {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.hotel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.hotel-overview-container, .hotel-summary-container {
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.hotel-overview-container h2, .hotel-summary-container h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #495057;
    flex-shrink: 0;
}

.hotel-overview-container > div, .hotel-summary-container > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hotel-overview-table {
    border-spacing: 0;
    width: 100%;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    margin-top: var(--space-4);
    table-layout: fixed;
}

.hotel-overview-table th,
.hotel-overview-table td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--color-border-light);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    font-family: var(--font-sans);
    line-height: var(--leading-normal);
    vertical-align: top;
    white-space: nowrap;
}

.hotel-overview-table th {
    background: var(--color-gray-50);
    font-weight: var(--font-semibold);
    color: var(--color-gray-600);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    position: relative;
}

.hotel-overview-table th:nth-child(1) { width: 40%; }  /* Hotel */
.hotel-overview-table th:nth-child(2) { width: 18%; }  /* Date */
.hotel-overview-table th:nth-child(3) { width: 22%; }  /* Room */
.hotel-overview-table th:nth-child(4) { width: 20%; }  /* Price */

.hotel-overview-table.rooms-table th:nth-child(1) { width: 50%; }  /* Hotel */
.hotel-overview-table.rooms-table th:nth-child(2) { width: 25%; }  /* Rooms Available */
.hotel-overview-table.rooms-table th:nth-child(3) { width: 25%; }  /* Price Range */

.hotel-overview-table tr:last-child td {
    border-bottom: none;
}

.hotel-overview-table tbody tr {
    transition: all 0.2s ease-in-out;
    animation: fadeInUp 0.3s ease-out;
    animation-fill-mode: both;
}

.hotel-overview-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.hotel-overview-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.hotel-overview-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.hotel-overview-table tbody tr:nth-child(4) { animation-delay: 0.4s; }
.hotel-overview-table tbody tr:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hotel-overview-table tbody tr:hover {
    background: var(--color-surface-hover);
    transform: scale(1.005);
    box-shadow: inset 0 0 0 1px var(--color-border);
}

.hotel-overview-table tbody tr:nth-child(even) {
    background: var(--color-gray-50);
}

.hotel-overview-table tbody tr:nth-child(even):hover {
    background: var(--color-surface-hover);
}

.hotel-overview-table .hotel-cell {
    font-weight: var(--font-semibold);
    font-family: var(--font-sans);
    color: #4a6fa5;
    font-size: var(--text-sm);
    position: relative;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.hotel-overview-table .hotel-cell:hover {
    color: #2c5aa0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hotel-overview-table .price-cell, .hotel-overview-table .price-range-cell {
    font-weight: var(--font-bold);
    font-family: var(--font-sans);
    color: var(--color-success-500);
    font-size: var(--text-base);
    text-align: right;
    min-width: 90px;
    padding-right: var(--space-3);
}

.hotel-overview-table .date-cell, .hotel-overview-table .room-cell, .hotel-overview-table .rooms-cell {
    color: var(--color-muted-text);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    font-family: var(--font-sans);
}

.hotel-overview-table .date-cell {
    text-align: left;
    font-weight: var(--font-semibold);
    color: var(--color-gray-600);
    font-size: var(--text-sm);
    min-width: 80px;
    white-space: nowrap;
}

.hotel-overview-table .room-cell {
    font-family: var(--font-mono);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    color: var(--color-gray-700);
    text-align: center;
    min-width: 60px;
    white-space: nowrap;
    background: var(--color-gray-50);
    border-radius: 4px;
    padding: 4px 8px;
}

.hotel-overview-table .rooms-cell {
    text-align: center;
    font-weight: var(--font-semibold);
    color: var(--color-gray-600);
    font-size: var(--text-sm);
    min-width: 70px;
    white-space: nowrap;
}

.price-changes-container, .debug-container {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.price-changes-container h2, .debug-container h2 {
    margin-bottom: 16px;
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
    text-align: center;
}

.price-changes-container > div, .debug-container > div {
    flex: 1;
    overflow-y: auto;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.last-update {
    text-align: left;
    margin: 24px auto 0 auto;
    color: #6c757d;
    font-size: 0.75rem;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}



.footer {
    margin-top: 48px;
    padding: 32px 0;
    border-top: 1px solid #e9ecef;
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    max-width: 100%;
    text-align: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.875rem;
    color: #6c757d;
    flex-shrink: 0;
}

.footer-center {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: #6c757d;
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    font-family: var(--font-sans);
    transition: all 0.15s ease-in-out;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid transparent;
}

.footer-link:hover {
    color: #495057;
    background: #f8f9fa;
    border-color: #dee2e6;
    text-decoration: none;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.app-name {
    font-weight: var(--font-bold);
    color: #495057;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.version {
    font-weight: var(--font-semibold);
    font-family: var(--font-sans);
    color: #495057;
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.made-by {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-sm);
    font-family: var(--font-sans);
}

.made-by a {
    color: #007bff;
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
    padding: 2px 4px;
    border-radius: 4px;
}

.made-by a:hover {
    color: #0056b3;
    background: #e7f3ff;
    text-decoration: none;
}

.footer .btn-outline {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

.footer .btn-outline:hover {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
    transform: translateY(-1px);
}

.footer .user-info {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.loading {
    text-align: center;
    padding: var(--space-12) var(--space-6);
    color: var(--color-muted-text);
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    margin: var(--space-4) 0;
}

.spinner {
    border: 3px solid #e9ecef;
    border-top: 3px solid #6c757d;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}



.secondary-content {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.price-changes-container, .debug-container {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-base);
    border: 1px solid var(--color-border);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.price-changes-container {
    max-height: 400px;
    overflow-y: auto;
}

.price-changes-container h2 {
    margin-bottom: var(--space-4);
    color: var(--color-secondary);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    border-bottom: 2px solid var(--color-border);
    padding-bottom: var(--space-2);
}

/* Compact recent change line */
.price-change-line {
    display: grid;
    grid-template-columns: 60px 2fr 50px 30px 90px 70px;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    border-left: 4px solid #6c757d;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.15s ease-in-out;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.price-change-line:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.price-change-line.price-increase {
    border-left-color: #dc3545;
    background: #fefefe;
}

.price-change-line.price-increase:hover {
    background: #fef8f8;
}

.price-change-line.price-decrease {
    border-left-color: #28a745;
    background: #fefefe;
}

.price-change-line.price-decrease:hover {
    background: #f8fef8;
}

.price-change-line .pc-time {
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
    font-weight: 500;
}

.price-change-line .pc-hotel {
    font-weight: 600;
    color: #4a6fa5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.price-change-line .pc-hotel:hover {
    color: #2c5aa0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.price-change-line .pc-date {
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
    font-weight: 500;
}

.price-change-line .pc-room {
    font-size: 0.75rem;
    color: #adb5bd;
    text-align: center;
    font-weight: 700;
    background: #f1f3f4;
    padding: 1px 4px;
    border-radius: 3px;
    border: 1px solid #e9ecef;
}

.price-change-line .pc-values {
    font-size: 0.8125rem;
    color: #495057;
    white-space: nowrap;
    font-weight: 500;
}

.price-change-line .pc-diff {
    font-size: 0.8125rem;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1.2;
}

.price-change-line .pc-diff.negative {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.price-change-line .pc-diff.positive {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

/* Hotel row clickable styling */
.hotel-row-clickable {
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.hotel-row-clickable:hover {
    background-color: #f8f9fa !important;
    transform: translateX(2px);
}

.hotel-row-clickable:active {
    background-color: #e9ecef !important;
    transform: translateX(1px);
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .secondary-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .control-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .date-inputs {
        flex-direction: column;
        gap: 8px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 0 16px;
    }
    
    .header-text {
        text-align: center;
    }
    
    .header h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .header p {
        font-size: 1rem;
        line-height: 1.4;
    }



    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 0 16px;
    }

    .footer-left {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        order: 2;
    }

    .footer-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        order: 1;
    }

    .app-name {
        font-size: 0.8rem;
        padding: 3px 6px;
    }

    .version {
        font-size: 0.8rem;
        padding: 3px 8px;
    }

    .made-by {
        font-size: 0.75rem;
    }

    .footer .btn-outline {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .footer .user-info {
        font-size: 0.8rem;
        padding: 4px 8px;
    }

    .hotel-card {
        padding: var(--space-6);
        margin-bottom: var(--space-4);
    }

    .hotel-card:hover {
        transform: none;
    }

    .hotel-overview-header h2, .hotel-summary-header h2 {
        font-size: var(--text-lg);
        margin-bottom: var(--space-4);
        padding-bottom: var(--space-2);
    }

    .hotel-overview-header h2::after, .hotel-summary-header h2::after {
        width: 40px;
    }

    .hotel-overview-table {
        font-size: 0.8rem;
        margin-top: var(--space-2);
    }

    .hotel-overview-table th,
    .hotel-overview-table td {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
    }

    .hotel-overview-table .price-cell, .hotel-overview-table .price-range-cell {
        font-size: var(--text-sm);
        min-width: 60px;
    }

    .hotel-overview-table .hotel-cell {
        font-size: var(--text-xs);
        max-width: 120px;
    }

    .hotel-overview-table .room-cell {
        font-size: var(--text-xs);
        min-width: 50px;
        padding: 2px 6px;
        white-space: nowrap;
    }

    .hotel-overview-table .date-cell {
        font-size: var(--text-xs);
        min-width: 50px;
    }

    .hotel-overview-table .rooms-cell {
        font-size: var(--text-xs);
        min-width: 50px;
    }

    .hotel-overview-table tbody tr:hover {
        transform: none;
    }
    
    /* Mobile responsive price change lines */
    .price-change-line {
        grid-template-columns: 40px 2fr 40px 20px 70px 50px;
        gap: 8px;
        padding: 8px 12px;
        margin-bottom: 6px;
    }
    
    .price-change-line .pc-time {
        font-size: 0.625rem;
    }
    
    .price-change-line .pc-hotel {
        font-size: 0.75rem;
    }
    
    .price-change-line .pc-date {
        font-size: 0.625rem;
    }
    
    .price-change-line .pc-room {
        font-size: 0.625rem;
        padding: 1px 4px;
    }
    
    .price-change-line .pc-values {
        font-size: 0.6875rem;
    }
    
    .price-change-line .pc-diff {
        font-size: 0.6875rem;
        padding: 1px 3px;
        line-height: 1.1;
    }
}

@media (max-width: 1100px) {
    .hotel-cards-row {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .hotel-card {
        width: 100%;
        padding: var(--space-8);
    }
    
    .secondary-content {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .price-changes-container, .debug-container {
        width: 100%;
    }
} 

/* ------------------------------------------------------ */
/* Minimal overrides – banner centering & font reduction   */
/* ------------------------------------------------------ */

/* 1. Center the banner (header) text */
.header {
    text-align: center;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 2. Smaller headings for the two dashboard cards */
.hotel-overview-header h2,
.hotel-summary-header h2 {
    font-size: var(--text-xl); /* was var(--text-2xl) */
    font-family: var(--font-sans);
}

/* 3. Slightly smaller table text inside those cards */
.hotel-overview-table th,
.hotel-overview-table td {
    font-size: var(--text-sm); /* consistent with design system */
    font-family: var(--font-sans);
} 

/* ------------------------------------------------------ */
/* Hotel table visual refinements                         */
/* ------------------------------------------------------ */

.hotel-overview-table {
    border-spacing: 0;
    width: 100%;
}

.hotel-overview-table th,
.hotel-overview-table td {
    padding: 10px 12px; /* a bit more breathing room */
}

.hotel-overview-table tbody tr:nth-child(even) {
    background: #f9fafb; /* subtle zebra stripes */
}

/* keep date on one line & left-aligned */
.hotel-overview-table .date-cell {
    white-space: nowrap;
    text-align: left;
}

/* align numbers right for readability */
.hotel-overview-table .price-cell,
.hotel-overview-table .price-range-cell,
.hotel-overview-table .rooms-cell {
    text-align: right;
} 

/* ------------------------------------------------------ */
/* Ticker accessibility improvements                       */
/* ------------------------------------------------------ */

/* Improve contrast for better readability */
 

/* ------------------------------------------------------ */
/* Typography utility classes for JS-generated content    */
/* ------------------------------------------------------ */

.no-data-message,
.error-message {
    font-size: var(--text-sm);
    font-family: var(--font-sans);
    font-weight: var(--font-medium);
    margin: 0;
}

.error-message {
    color: var(--color-danger-400);
}

.no-data-message {
    color: var(--color-muted-text);
} 

/* ========================================
   ATTRACTIONS TABLE STYLES
   ======================================== */

.attractions-container {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    position: relative;
}

.attractions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--color-border);
    position: relative;
}

.attractions-header h2 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-secondary);
    margin: 0;
    letter-spacing: 0.01em;
}

.attractions-header h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

.attractions-status {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--color-gray-50);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    font-size: var(--text-sm);
    color: var(--color-gray-700);
}

.park-status {
    font-weight: var(--font-semibold);
    color: var(--color-gray-700);
    white-space: nowrap;
}

.status-separator {
    color: var(--color-gray-400);
    font-weight: var(--font-bold);
    margin: 0 var(--space-1);
}

.status-text {
    font-weight: var(--font-medium);
    color: var(--color-gray-600);
}

.attractions-table-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    max-height: 500px;
    overflow-y: auto;
}

.attractions-table {
    width: 100%;
    border-spacing: 0;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-family: var(--font-sans);
}

.attractions-table thead {
    background: var(--color-gray-50);
    position: sticky;
    top: 0;
    z-index: 10;
}

.attractions-table th {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-weight: var(--font-semibold);
    color: var(--color-gray-700);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--color-border);
}

.attractions-table th:nth-child(1) { width: 40%; }  /* Attraction */
.attractions-table th:nth-child(2) { width: 25%; }  /* Park */
.attractions-table th:nth-child(3) { width: 20%; text-align: center; }  /* Wait Time */
.attractions-table th:nth-child(4) { width: 15%; text-align: center; }  /* Status */

.attractions-table tbody tr {
    transition: all 0.2s ease-in-out;
    border-bottom: 1px solid var(--color-border-light);
    position: relative;
}

.attractions-table tbody tr:hover {
    background: var(--color-gray-50);
    transform: scale(1.002);
}

.attractions-table tbody tr:last-child {
    border-bottom: none;
}

.attractions-table td {
    padding: var(--space-3) var(--space-4);
    vertical-align: middle;
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
}

/* Attraction name column */
.attraction-name {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.attraction-icon {
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.attraction-title {
    font-weight: var(--font-semibold);
    color: var(--color-gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Park column */
.attraction-park {
    color: var(--color-gray-600);
    font-weight: var(--font-medium);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Wait time column */
.attraction-wait-time {
    font-weight: var(--font-bold);
    font-size: var(--text-base);
    text-align: center;
    position: relative;
}

.wait-time-value {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    min-width: 60px;
    transition: all 0.3s ease-in-out;
}

.wait-time-normal {
    background: var(--color-info-50);
    color: var(--color-info-600);
    border: 1px solid var(--color-info-100);
}

.wait-time-low {
    background: var(--color-success-50);
    color: var(--color-success-600);
    border: 1px solid var(--color-success-100);
}

.wait-time-busy {
    background: var(--color-warning-50);
    color: var(--color-warning-700);
    border: 1px solid var(--color-warning-100);
}

.wait-time-closed {
    background: var(--color-danger-50);
    color: var(--color-danger-600);
    border: 1px solid var(--color-danger-100);
}

/* Status column */
.attraction-status {
    text-align: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-operational {
    background: var(--color-success-50);
    color: var(--color-success-700);
    border: 1px solid var(--color-success-200);
}

.status-closed {
    background: var(--color-danger-50);
    color: var(--color-danger-700);
    border: 1px solid var(--color-danger-200);
}

.status-down {
    background: var(--color-gray-100);
    color: var(--color-gray-700);
    border: 1px solid var(--color-gray-300);
}

/* Stock ticker-style highlight animations */
@keyframes stockIncrease {
    0% { background-color: rgba(34, 197, 94, 0.1); }
    50% { background-color: rgba(34, 197, 94, 0.25); }
    100% { background-color: transparent; }
}

@keyframes stockDecrease {
    0% { background-color: rgba(239, 68, 68, 0.1); }
    50% { background-color: rgba(239, 68, 68, 0.25); }
    100% { background-color: transparent; }
}

@keyframes waitTimeChange {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Highlight classes for wait time changes */
.wait-time-increased {
    animation: stockIncrease 2s ease-out;
}

.wait-time-decreased {
    animation: stockDecrease 2s ease-out;
}

.wait-time-changed .wait-time-value {
    animation: waitTimeChange 0.6s ease-out;
}

/* Loading row styles */
.loading-row {
    text-align: center;
    padding: var(--space-8) !important;
}

.loading-row .loading {
    justify-content: center;
    align-items: center;
    color: var(--color-gray-600);
}

/* Responsive design */
@media (max-width: 768px) {
    .attractions-container {
        padding: var(--space-4);
        margin-bottom: var(--space-4);
    }
    
    .attractions-header {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }
    
    .attractions-header h2 {
        font-size: var(--text-lg);
    }
    
    .attractions-header h2::after {
        width: 40px;
    }
    
    .attractions-status {
        flex-direction: column;
        gap: var(--space-1);
        padding: var(--space-2);
    }
    
    .park-status {
        font-size: var(--text-xs);
        white-space: normal;
        text-align: center;
    }
    
    .status-separator {
        display: none;
    }
    
    .attractions-table-wrapper {
        max-height: 400px;
    }
    
    .attractions-table th,
    .attractions-table td {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
    }
    
    .attractions-table th:nth-child(1) { width: 35%; }
    .attractions-table th:nth-child(2) { width: 20%; }
    .attractions-table th:nth-child(3) { width: 25%; }
    .attractions-table th:nth-child(4) { width: 20%; }
    
    .attraction-title {
        font-size: var(--text-xs);
    }
    
    .attraction-park {
        font-size: 10px;
    }
    
    .wait-time-value {
        padding: 2px var(--space-2);
        min-width: 50px;
        font-size: var(--text-xs);
    }
    
    .status-badge {
        padding: 1px var(--space-1);
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .attractions-table th:nth-child(2) { display: none; }
    .attractions-table td:nth-child(2) { display: none; }
    
    .attractions-table th:nth-child(1) { width: 50%; }
    .attractions-table th:nth-child(3) { width: 30%; }
    .attractions-table th:nth-child(4) { width: 20%; }
} 