/* PROFESSIONEEL DASHBOARD STYLING - FULL RESPONSIVE */
:root {
    /* Primary Colors */
    --primary: #00c3ff;
    --primary-light: rgba(0, 195, 255, 0.15);
    --primary-dark: #0099cc;
    --primary-gradient: linear-gradient(135deg, #00c3ff 0%, #0099cc 100%);
    
    /* Secondary Colors */
    --secondary: #ff6b6b;
    --secondary-light: rgba(255, 107, 107, 0.15);
    --secondary-dark: #ff4757;
    --secondary-gradient: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    
    /* Status Colors */
    --success: #00ff9d;
    --success-light: rgba(0, 255, 157, 0.15);
    --warning: #ffd166;
    --warning-light: rgba(255, 209, 102, 0.15);
    --danger: #ff4757;
    --danger-light: rgba(255, 71, 87, 0.15);
    
    /* Background Colors */
    --dark-bg: #0a0a12;
    --darker-bg: #05050a;
    --card-bg: #16162e;
    --card-bg-light: #1e1e3a;
    --card-border: rgba(255, 255, 255, 0.08);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b0b8d0;
    --text-muted: #8a9ba8;
    --text-light: #e0e6ff;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-xxl: 24px;
    --spacing-xxxl: 32px;
    --spacing-xxxxl: 40px;
    
    /* Border Radius */
    --border-radius-sm: 6px;
    --border-radius: 10px;
    --border-radius-lg: 14px;
    --border-radius-xl: 18px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 195, 255, 0.2);
    --shadow-glow-red: 0 0 20px rgba(255, 107, 107, 0.2);
    --shadow-glow-green: 0 0 20px rgba(0, 255, 157, 0.2);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    height: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    width: 100%;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

/* DASHBOARD CONTAINER */
.dashboard {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(22, 22, 46, 0.95), rgba(10, 10, 18, 0.98));
    position: relative;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, 
        rgba(22, 22, 46, 0.95), 
        rgba(13, 13, 26, 0.97));
    padding: var(--spacing-lg) var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 195, 255, 0.1);
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(0, 195, 255, 0.5));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    opacity: 0.8;
}

/* WEER WIDGET */
.weather-widget {
    flex-shrink: 0;
}

.weather-iframe-wrapper {
    position: relative;
    display: inline-block;
}

.weather-widget iframe {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.weather-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: default;
}

.station-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-sm) var(--spacing-xl);
    background: linear-gradient(135deg, 
        rgba(0, 195, 255, 0.05), 
        rgba(0, 195, 255, 0.02));
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 195, 255, 0.1);
    margin: 0 auto;
    flex: 1;
    max-width: 400px;
}

.station-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.station-icon i {
    font-size: 1.2rem;
    color: white;
}

.station-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.station-name {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 1;
}

.station-code {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.station-code span {
    color: var(--primary);
    font-weight: 700;
    background: rgba(0, 195, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

.time-display {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-shrink: 0;
    margin-left: auto;
}

.live-clock-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.live-clock {
    font-size: 1.8rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
    background: linear-gradient(90deg, #ffffff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.clock-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 6px;
    background: rgba(0, 195, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 195, 255, 0.2);
}

.date-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.date {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.day-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: capitalize;
}

/* STORINGSBALK - ALTIJD ZICHTBAAR! */
.disruption-bar {
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.95),
        rgba(255, 71, 87, 0.95));
    padding: var(--spacing-md) var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 71, 87, 0.3);
    display: flex !important; /* FORCEER ZICHTBAARHEID */
    position: relative;
    z-index: 90;
    animation: disruptionPulse 3s infinite;
    box-shadow: var(--shadow-glow-red);
    visibility: visible !important;
    opacity: 1 !important;
}

/* GROENE BALK VOOR "GEEN STORINGEN" */
.disruption-bar.no-disruptions {
    background: linear-gradient(135deg, 
        rgba(0, 255, 157, 0.95),
        rgba(0, 200, 120, 0.95)) !important;
    border-bottom: 1px solid rgba(0, 255, 157, 0.3) !important;
    animation: noDisruptionPulse 3s infinite !important;
    box-shadow: var(--shadow-glow-green) !important;
}

.disruption-bar.no-disruptions .disruption-icon {
    border-color: var(--success) !important;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.disruption-bar.no-disruptions .disruption-icon i {
    color: var(--success) !important;
}

.disruption-bar.no-disruptions .disruption-title {
    color: var(--success) !important;
}

.disruption-bar.no-disruptions .disruption-title i {
    color: var(--success) !important;
}

.disruption-bar.no-disruptions .info-item {
    border-left-color: var(--success) !important;
}

.disruption-bar.no-disruptions .info-label {
    color: var(--success) !important;
}

.disruption-bar.no-disruptions .info-label::before {
    color: var(--success) !important;
}

@keyframes disruptionPulse {
    0%, 100% { 
        background: linear-gradient(135deg, 
            rgba(255, 107, 107, 0.95),
            rgba(255, 71, 87, 0.95));
    }
    50% { 
        background: linear-gradient(135deg, 
            rgba(255, 107, 107, 0.9),
            rgba(255, 71, 87, 0.9));
    }
}

@keyframes noDisruptionPulse {
    0%, 100% { 
        background: linear-gradient(135deg, 
            rgba(0, 255, 157, 0.95),
            rgba(0, 200, 120, 0.95));
    }
    50% { 
        background: linear-gradient(135deg, 
            rgba(0, 255, 157, 0.9),
            rgba(0, 200, 120, 0.9));
    }
}

.disruption-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.disruption-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--warning);
    box-shadow: 0 0 15px rgba(255, 209, 102, 0.4);
}

.disruption-icon i {
    color: var(--warning);
    font-size: 1.2rem;
}

.disruption-main {
    flex: 1;
    min-width: 0;
}

.disruption-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.disruption-title {
    font-size: 0.95rem;
    color: var(--warning);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.disruption-counter {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 2px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.disruption-info {
    width: 100%;
}

.info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    width: 100%;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--warning);
    min-height: 45px;
}

.info-label {
    font-size: 0.8rem;
    color: var(--warning);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.info-label::before {
    content: '•';
    color: var(--warning);
    font-size: 1rem;
}

.info-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* INFO BAR */
.info-bar {
    background: linear-gradient(135deg, 
        rgba(0, 30, 60, 0.95),
        rgba(0, 20, 40, 0.97));
    padding: var(--spacing-sm) var(--spacing-xl);
    border-bottom: 1px solid rgba(0, 195, 255, 0.1);
    position: relative;
    z-index: 80;
    box-shadow: var(--shadow);
}

.info-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.info-message {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex: 1;
    min-width: 200px;
}

.info-message i {
    color: var(--success);
    font-size: 1rem;
    flex-shrink: 0;
}

#info-message-text {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-shrink: 0;
}

.info-page {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--warning);
    font-weight: 700;
    background: rgba(255, 209, 102, 0.1);
    padding: 4px 12px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 209, 102, 0.2);
    font-size: 0.85rem;
}

.info-page i {
    font-size: 0.8rem;
}

#last-update {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* DASHBOARD SECTIONS */
.dashboard-section {
    background: linear-gradient(135deg, 
        rgba(30, 30, 50, 0.7), 
        rgba(20, 20, 40, 0.9));
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 400px;
}

/* SECTION HEADER */
.section-header {
    padding: var(--spacing-lg) var(--spacing-xl);
    background: linear-gradient(90deg, 
        rgba(40, 40, 60, 0.8), 
        rgba(30, 30, 50, 0.9));
    border-bottom: 1px solid rgba(0, 195, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex: 1;
    min-width: 0;
}

.section-title i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ffffff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-left: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.section-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-xxl);
    flex-shrink: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-value.disruption {
    color: var(--secondary);
}

/* SECTION CONTAINER */
.section-container {
    flex: 1;
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* DEPARTURES SECTION */
.departures-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    margin-bottom: var(--spacing-xl);
    padding-right: var(--spacing-xs);
    max-height: 350px;
}

/* Custom scrollbar */
.departures-list::-webkit-scrollbar {
    width: 6px;
}

.departures-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.departures-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.departures-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Departures header for desktop */
.departures-header {
    display: none;
}

.departure-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.03), 
        rgba(255, 255, 255, 0.01));
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 195, 255, 0.08);
    transition: all var(--transition-normal);
    animation: fadeIn 0.4s ease-out;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.departure-item:hover {
    border-color: rgba(0, 195, 255, 0.2);
    box-shadow: var(--shadow-glow);
}

.departure-item.departing {
    border-color: var(--success);
    background: linear-gradient(135deg, 
        rgba(0, 255, 157, 0.05), 
        rgba(0, 255, 157, 0.02));
    animation: departingPulse 2s infinite;
}

@keyframes departingPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
    }
}

.departure-time {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    padding-left: var(--spacing-lg);
    position: relative;
    flex-shrink: 0;
    min-width: 70px;
}

.departure-time::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
}

.departure-train {
    color: var(--primary);
    font-weight: 700;
    padding: 4px 10px;
    background: rgba(0, 195, 255, 0.08);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(0, 195, 255, 0.15);
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.departure-destination {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.departure-track {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, 
        rgba(0, 195, 255, 0.1), 
        rgba(0, 153, 204, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.25);
    cursor: pointer;
}

.departure-track:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.4);
}

.departure-type {
    padding: 4px 12px;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid;
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.type-stoptrein {
    color: var(--warning);
    border-color: rgba(255, 209, 102, 0.3);
    background: linear-gradient(135deg, 
        rgba(255, 209, 102, 0.05), 
        transparent);
}

.type-sneltrein {
    color: #70a1ff;
    border-color: rgba(112, 161, 255, 0.3);
    background: linear-gradient(135deg, 
        rgba(112, 161, 255, 0.05), 
        transparent);
}

.type-sprinter {
    color: var(--success);
    border-color: rgba(0, 255, 157, 0.3);
    background: linear-gradient(135deg, 
        rgba(0, 255, 157, 0.05), 
        transparent);
}

/* NEXT TRAIN */
.next-train {
    background: linear-gradient(135deg, 
        rgba(40, 50, 70, 0.6), 
        rgba(30, 40, 60, 0.8));
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 195, 255, 0.1);
    padding: var(--spacing-lg);
    margin-top: auto;
    flex-shrink: 0;
}

.next-train-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(0, 195, 255, 0.1);
}

.next-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.next-label i {
    color: var(--primary);
    font-size: 1rem;
}

.next-destination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    font-size: 1.1rem;
}

.train-number {
    color: var(--primary);
    font-weight: 800;
    padding: 4px 10px;
    background: rgba(0, 195, 255, 0.08);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(0, 195, 255, 0.15);
    font-size: 1rem;
    flex-shrink: 0;
}

.to-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.destination {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.countdown {
    font-size: 2.5rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--success);
    text-shadow: 0 0 20px rgba(0, 255, 157, 0.6);
    letter-spacing: 1px;
    display: flex;
    align-items: baseline;
    gap: 2px;
    padding: var(--spacing-md) var(--spacing-xl);
    background: rgba(0, 255, 157, 0.03);
    border-radius: var(--border-radius);
    border: 2px solid rgba(0, 255, 157, 0.15);
    width: 100%;
    justify-content: center;
}

.countdown.warning {
    color: var(--warning);
    border-color: rgba(255, 209, 102, 0.15);
}

.countdown.critical {
    color: var(--danger);
    border-color: rgba(255, 71, 87, 0.15);
    animation: criticalPulse 1s infinite;
}

@keyframes criticalPulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.9;
        transform: scale(1.02);
    }
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.countdown-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.countdown-label i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* DISRUPTIONS SECTION */
.disruptions-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    overflow-y: auto;
    margin-bottom: var(--spacing-xl);
    padding-right: var(--spacing-xs);
    max-height: 350px;
}

/* Custom scrollbar for disruptions */
.disruptions-container::-webkit-scrollbar {
    width: 6px;
}

.disruptions-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.disruptions-container::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 3px;
}

.disruptions-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
}

.disruption-card {
    background: linear-gradient(135deg, 
        rgba(40, 30, 50, 0.8), 
        rgba(30, 20, 40, 0.9));
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 107, 107, 0.15);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    box-shadow: var(--shadow-glow-red);
    position: relative;
    overflow: hidden;
}

.disruption-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--secondary), 
        var(--danger));
    opacity: 0.6;
}

.disruption-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 107, 107, 0.2);
    flex-wrap: wrap;
}

.disruption-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.2), 
        rgba(255, 71, 87, 0.1));
    border: 2px solid rgba(255, 107, 107, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.disruption-icon i {
    color: var(--warning);
    font-size: 1.5rem;
}

.disruption-title {
    flex: 1;
    min-width: 0;
}

.disruption-title h3 {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ffffff, #ffd166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    word-break: break-word;
}

.disruption-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.disruption-field {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

.disruption-field h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--warning);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.disruption-field h4 i {
    font-size: 0.9rem;
}

.disruption-field p {
    font-size: 0.95rem;
    color: var(--text-primary);
    opacity: 0.95;
    line-height: 1.5;
    word-break: break-word;
}

/* NO DISRUPTIONS / DEPARTURES */
.no-disruptions, .no-departures {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    gap: var(--spacing-xl);
    padding: var(--spacing-xxxl);
}

.no-disruptions i, .no-departures i {
    font-size: 3.5rem;
    color: var(--success);
    filter: drop-shadow(0 0 15px rgba(0, 255, 157, 0.4));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.no-disruptions h3, .no-departures h3 {
    color: var(--success);
    font-size: 1.8rem;
    font-weight: 700;
}

.no-disruptions p, .no-departures p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 400px;
    line-height: 1.5;
}

/* DISRUPTION NAVIGATION */
.disruption-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    padding: var(--spacing-lg);
    border-top: 1px solid rgba(0, 195, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    margin-top: auto;
    flex-shrink: 0;
}

.nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(0, 195, 255, 0.2);
    background: linear-gradient(135deg, 
        rgba(0, 195, 255, 0.08), 
        rgba(0, 153, 204, 0.04));
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.nav-btn:hover:not(:disabled) {
    border-color: var(--primary);
    transform: scale(1.05);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.nav-info {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 70px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

/* Utility classes */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* WEER WIDGET - NIET KLIKSBAAR */
.weather-widget {
    position: relative;
    z-index: 1;
    cursor: default !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.weather-widget * {
    pointer-events: none !important;
}

/* MOBILE (< 768px) */
@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    body {
        padding: 0;
        background: var(--dark-bg);
    }
    
    .dashboard {
        min-height: 100vh;
        border-radius: 0;
    }
    
    .header {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
        flex-direction: column;
        align-items: stretch;
        height: auto;
    }
    
    .logo {
        justify-content: center;
    }
    
    .weather-widget {
        order: 1;
        align-self: center;
    }
    
    .station-info {
        order: 2;
        width: 100%;
        justify-content: center;
        padding: var(--spacing-sm);
    }
    
    .station-name {
        font-size: 1.4rem;
    }
    
    .time-display {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
    
    .live-clock {
        font-size: 1.6rem;
    }
    
    /* MOBILE STORINGSBALK */
    .disruption-bar {
        padding: var(--spacing-md);
    }
    
    .disruption-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .disruption-icon {
        align-self: flex-start;
    }
    
    .disruption-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .disruption-counter {
        align-self: flex-start;
        margin-top: 4px;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .info-item {
        padding: var(--spacing-sm);
        text-align: left;
        border-left: 4px solid var(--warning);
        border-top: none;
        min-height: 55px;
    }
    
    .info-value {
        -webkit-line-clamp: 3;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    /* INFO BAR */
    .info-bar {
        padding: var(--spacing-sm);
    }
    
    .info-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .info-message {
        min-width: 0;
        justify-content: center;
    }
    
    .info-controls {
        width: 100%;
        justify-content: center;
    }
    
    #last-update {
        font-size: 0.8rem;
        padding: 3px 6px;
    }
    
    /* MAIN CONTENT */
    .main-content {
        padding: var(--spacing-md);
        gap: var(--spacing-lg);
        display: flex;
        flex-direction: column;
    }
    
    .dashboard-section {
        min-height: auto;
    }
    
    .section-header {
        padding: var(--spacing-md);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .section-title {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .section-subtitle {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 2px solid rgba(255, 255, 255, 0.1);
        padding-top: var(--spacing-sm);
    }
    
    .section-stats {
        width: 100%;
        justify-content: space-around;
    }
    
    .section-container {
        padding: var(--spacing-md);
    }
    
    /* 4 VERTREKKENDE TREINEN OP MOBILE */
    .departures-list {
        max-height: 400px;
    }
    
    .departure-item {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm) var(--spacing-md);
        min-height: 70px;
        align-items: center;
    }
    
    .departure-time {
        grid-column: 1;
        grid-row: 1 / span 2;
        display: flex;
        align-items: center;
        min-height: 60px;
        font-size: 1.3rem;
        padding-left: var(--spacing-md);
        min-width: 60px;
    }
    
    .departure-time::before {
        width: 6px;
        height: 6px;
    }
    
    .departure-train {
        display: none;
    }
    
    .departure-destination {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        font-size: 1rem;
        font-weight: 600;
    }
    
    .departure-track {
        grid-column: 3;
        grid-row: 1 / span 2;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* TYPE OP MOBILE */
    .departure-type {
        display: block !important;
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        padding: 2px 8px;
        font-size: 0.8rem;
        width: max-content;
        margin-top: 2px;
    }
    
    /* NEXT TRAIN */
    .next-train-header {
        text-align: center;
    }
    
    .next-destination {
        justify-content: center;
        text-align: center;
    }
    
    .countdown {
        font-size: 2.2rem;
        padding: var(--spacing-sm) var(--spacing-lg);
    }
    
    /* DISRUPTIONS - MOBILE LAYOUT */
    .disruptions-container {
        max-height: 300px;
    }
    
    .disruption-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--spacing-md) !important;
    }
    
    .disruption-field {
        padding: var(--spacing-sm);
    }
    
    .disruption-card {
        padding: var(--spacing-md);
    }
    
    .disruption-header {
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    .disruption-icon {
        width: 40px;
        height: 40px;
    }
    
    .disruption-title h3 {
        font-size: 1.1rem;
    }
    
    /* NAVIGATION */
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .nav-info {
        min-width: 60px;
        font-size: 1rem;
    }
}

/* TABLET (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .header {
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .station-name {
        font-size: 1.6rem;
    }
    
    .main-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .dashboard-section {
        min-height: 450px;
    }
    
    .departures-list {
        max-height: 300px;
    }
    
    .departure-item {
        display: grid;
        grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
        gap: var(--spacing-md);
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .disruptions-container {
        max-height: 300px;
    }
    
    .disruption-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

/* DESKTOP (≥ 1024px) */
@media (min-width: 1024px) {
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 20px;
        background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    }
    
    .dashboard {
        width: 100%;
        max-width: 1600px;
        min-height: 90vh;
        border-radius: 24px;
        border: 1px solid rgba(0, 195, 255, 0.15);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
        overflow: hidden;
        margin: 0 auto;
    }
    
    .header {
        padding: var(--spacing-lg) var(--spacing-xxxl);
    }
    
    .station-name {
        font-size: 1.8rem;
    }
    
    .live-clock {
        font-size: 2.2rem;
    }
    
    .disruption-bar,
    .info-bar {
        padding: var(--spacing-md) var(--spacing-xxxl);
    }
    
    .main-content {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: var(--spacing-xxxl);
        padding: var(--spacing-xxxl);
        height: calc(90vh - 210px);
    }
    
    .dashboard-section {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .departures-list {
        max-height: 350px;
    }
    
    .departures-header {
        display: grid;
        grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
        gap: var(--spacing-xl);
        padding: var(--spacing-md) var(--spacing-lg);
        margin-bottom: var(--spacing-md);
        background: rgba(0, 195, 255, 0.05);
        border-radius: var(--border-radius);
        border: 1px solid rgba(0, 195, 255, 0.1);
        font-weight: 700;
        color: var(--primary);
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .departure-item {
        display: grid;
        grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
        gap: var(--spacing-xl);
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .departure-time {
        font-size: 1.5rem;
    }
    
    .disruptions-container {
        max-height: 350px;
    }
    
    .disruption-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-lg);
    }
    
    .disruption-content-mobile {
        display: none !important;
    }
}

/* LARGE DESKTOP (≥ 1440px) */
@media (min-width: 1440px) {
    .dashboard {
        max-width: 1800px;
        min-height: 85vh;
    }
    
    .header {
        padding: var(--spacing-xl) var(--spacing-xxxxl);
    }
    
    .station-name {
        font-size: 2rem;
    }
    
    .live-clock {
        font-size: 2.5rem;
    }
    
    .disruption-bar,
    .info-bar {
        padding: var(--spacing-lg) var(--spacing-xxxxl);
    }
    
    .main-content {
        padding: var(--spacing-xxxxl);
        height: calc(85vh - 240px);
    }
    
    .departures-list {
        max-height: 400px;
    }
    
    .disruptions-container {
        max-height: 400px;
    }
}

/* LANGERE STORINGEN SECTIE */
.disruptions-section .section-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.disruptions-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    overflow-y: auto;
    margin-bottom: var(--spacing-xl);
    padding-right: var(--spacing-xs);
    max-height: 450px;
}

/* Voor desktop - nog langer */
@media (min-width: 1024px) {
    .disruptions-container {
        max-height: 500px;
    }
}

/* Voor large desktop - nog langer */
@media (min-width: 1440px) {
    .disruptions-container {
        max-height: 550px;
    }
}

/* MOBILE - Langere storingen */
@media (max-width: 767px) {
    .disruptions-container {
        max-height: 400px;
    }
    
    .disruption-card {
        padding: var(--spacing-md);
    }
    
    .disruption-content-mobile {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .disruption-field-mobile {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
        background: rgba(255, 255, 255, 0.03);
        border-radius: var(--border-radius);
        border: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 0.95rem;
    }
    
    .disruption-field-mobile h4 {
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--warning);
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
    }
    
    .disruption-field-mobile h4 i {
        font-size: 0.9rem;
    }
    
    .disruption-field-mobile p {
        font-size: 0.95rem;
        color: var(--text-primary);
        opacity: 0.95;
        line-height: 1.5;
        word-break: break-word;
    }
}

/* DISRUPTION GRID - Responsive */
.disruption-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

/* TABLET */
@media (min-width: 768px) and (max-width: 1023px) {
    .disruption-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }
}

/* RELATIEVE HOOGTE - percentage van scherm */
@media (max-width: 767px) {
    .main-content {
        height: calc(100vh - 200px);
    }
    
    .disruptions-section {
        height: 60vh !important;
        min-height: 60vh !important;
    }
    
    .disruptions-section .section-container {
        height: 100%;
    }
    
    .disruptions-container {
        height: calc(100% - 80px);
        max-height: calc(100% - 80px);
    }
    
    .departures-section {
        height: 35vh !important;
        min-height: 35vh !important;
    }
}

/* ==================== CRITICAL FIXES ==================== */

/* ZORG DAT DE STORINGSBALK ALTIJD ZICHTBAAR IS */
.disruption-bar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* VERWIJDER ALLE MOGELIJKHEDEN OM DE BALK TE VERBERGEN */
.disruption-bar.hidden {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* GROENE BALK VOOR "GEEN STORINGEN" */
.disruption-bar.no-disruptions {
    background: linear-gradient(135deg, 
        rgba(0, 255, 157, 0.95),
        rgba(0, 200, 120, 0.95)) !important;
    border-bottom: 1px solid rgba(0, 255, 157, 0.3) !important;
    animation: noDisruptionPulse 3s infinite !important;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2) !important;
}

.disruption-bar.no-disruptions .disruption-icon {
    border-color: #00ff9d !important;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.disruption-bar.no-disruptions .disruption-icon i {
    color: #00ff9d !important;
}

.disruption-bar.no-disruptions .disruption-title {
    color: #00ff9d !important;
}

.disruption-bar.no-disruptions .disruption-title i {
    color: #00ff9d !important;
}

.disruption-bar.no-disruptions .info-item {
    border-left-color: #00ff9d !important;
}

.disruption-bar.no-disruptions .info-label {
    color: #00ff9d !important;
}

.disruption-bar.no-disruptions .info-label::before {
    color: #00ff9d !important;
}

/* Animatie voor groene balk */
@keyframes noDisruptionPulse {
    0%, 100% { 
        background: linear-gradient(135deg, 
            rgba(0, 255, 157, 0.95),
            rgba(0, 200, 120, 0.95));
    }
    50% { 
        background: linear-gradient(135deg, 
            rgba(0, 255, 157, 0.9),
            rgba(0, 200, 120, 0.9));
    }
}

/* GROENE BALK VOOR "GEEN STORINGEN" - LICHTER GROEN */
.disruption-bar.no-disruptions {
    background: linear-gradient(135deg, 
        rgba(102, 187, 106, 0.8),  /* #66BB6A */
        rgba(76, 175, 80, 0.8)) !important;  /* #4CAF50 */
    border-bottom: 1px solid rgba(102, 187, 106, 0.3) !important;
    animation: noDisruptionPulse 3s infinite !important;
    box-shadow: 0 0 15px rgba(102, 187, 106, 0.15) !important;
}

.disruption-bar.no-disruptions .disruption-icon {
    border-color: #81C784 !important; /* Lichter groen #81C784 */
    box-shadow: 0 0 10px rgba(129, 199, 132, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.disruption-bar.no-disruptions .disruption-icon i {
    color: #81C784 !important; /* Lichter groen #81C784 */
}

.disruption-bar.no-disruptions .disruption-title {
    color: #A5D6A7 !important; /* Nog lichter groen #A5D6A7 */
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.disruption-bar.no-disruptions .info-item {
    border-left-color: #81C784 !important; /* Lichter groen #81C784 */
    background: rgba(129, 199, 132, 0.08) !important;
}

.disruption-bar.no-disruptions .info-label {
    color: #A5D6A7 !important; /* Nog lichter groen #A5D6A7 */
}

/* Animatie voor groene balk - subtieler */
@keyframes noDisruptionPulse {
    0%, 100% { 
        background: linear-gradient(135deg, 
            rgba(102, 187, 106, 0.8), 
            rgba(76, 175, 80, 0.8));
        box-shadow: 0 0 15px rgba(102, 187, 106, 0.15);
    }
    50% { 
        background: linear-gradient(135deg, 
            rgba(102, 187, 106, 0.75), 
            rgba(76, 175, 80, 0.75));
        box-shadow: 0 0 12px rgba(102, 187, 106, 0.1);
    }
}
/* MOBILE INFO BAR FIX - FORCEER ELLIPSIS */
@media (max-width: 767px) {
    /* NUCLEAIRE RESET - ALLES TERUG */
    #info-message-text {
        all: initial !important;
        font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
    }
    
    /* FORCEER ELLIPSIS */
    .info-message {
        flex: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        display: block !important;
        position: relative !important;
    }
    
    #info-message-text {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: white !important;
        line-height: 1.4 !important;
        animation: none !important;
        padding-left: 0 !important;
        transform: none !important;
        float: none !important;
        clear: both !important;
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: none !important;
        box-shadow: none !important;
    }
    
    /* KILL ALL ANIMATIONS */
    #info-message-text,
    #info-message-text *,
    #info-message-text::before,
    #info-message-text::after {
        animation: none !important;
        animation-duration: 0s !important;
        animation-play-state: paused !important;
        transition: none !important;
    }
    
    /* FIX CONTAINER HIERARCHIE */
    .info-bar {
        overflow: hidden !important;
        max-width: 100vw !important;
    }
    
    .info-content {
        overflow: hidden !important;
        width: 100% !important;
    }
    
    .info-message > * {
        max-width: 100% !important;
    }
    
    /* SPECIFIEKE OVERSCHRIJVINGEN */
    #info-message-text[style*="marquee"],
    #info-message-text[style*="animation"],
    #info-message-text[style*="padding-left"] {
        animation: none !important;
        padding-left: 0 !important;
        transform: none !important;
    }
    
    /* KLEINE TELEFOONS */
    @media (max-width: 400px) {
        #info-message-text {
            font-size: 13px !important;
        }
    }
    
    @media (max-width: 320px) {
        #info-message-text {
            font-size: 12px !important;
        }
    }
}

/* EXTRA: PREVENT HORIZONTAL SCROLL */
body, html, .dashboard, .main-content, .info-bar, .info-content, .info-message {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* DEZE ZORGT DAT HET WERKT - BELANGRIJK */
#info-message-text {
    box-sizing: border-box !important;
}

/* VERWIJDER DE PAGINANUMMERING IN DE WERKZAAMHEDEN SECTIE */
/* Dit is de witte/grijze paginanummering naast "Storingen & Werkzaamheden" */

.disruptions-section .section-header .section-stats {
    display: none !important;
}

/* SPECIFIEK DE PAGINA TEKST IN DISRUPTIONS HEADER */
.disruptions-section .stat-item:last-child {
    display: none !important;
}

/* OF ALLEEN DE LAATSTE STAT ITEM (DIE BEVAT PAGINA) */
.section-header .section-stats .stat-item:nth-child(2) {
    display: none !important;
}

/* VOOR DEZE SPECIFIEKE SITUATIE: */
/* "Storingen & Werkzaamheden" (blauw) - "6" (blauw) - "Pagina 1/3" (wit/grijs) */
/* We willen "Pagina 1/3" verwijderen */

.disruptions-section .section-stats .stat-item:has(.stat-label:contains("Pagina")),
.disruptions-section .section-stats .stat-item:has(.stat-label:contains("pagina")),
.disruptions-section .section-stats .stat-item:has(.stat-label:contains("Page")) {
    display: none !important;
}

/* NUCLEAIRE OPTIE - VERWIJDER HELE SECTION STATS BIJ DISRUPTIONS */
.disruptions-section .section-stats {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* MOBIEL SPECIFIEK */
@media (max-width: 767px) {
    .disruptions-section .section-stats {
        display: none !important;
    }
    
    /* ZORG DAT HEADER NOG STEEDS MOOI UITZONDER STATS */
    .disruptions-section .section-header {
        justify-content: center !important;
        text-align: center !important;
    }
    
    .disruptions-section .section-title {
        flex-direction: column !important;
        text-align: center !important;
    }
}

/* OF VERWIJDER ALLEEN HET PAGINA GEDEELTE */
.disruptions-section .section-stats .stat-item .stat-label[style*="color"],
.disruptions-section .section-stats .stat-item .stat-value[style*="color"] {
    display: none !important;
}

/* VERWIJDER ALLE STATS BEHALVE DE EERSTE (AANTAL STORINGEN) */
.disruptions-section .section-stats .stat-item:not(:first-child) {
    display: none !important;
}