:root {
    --bg: #0a0e1a; --card: #1a2332; --card-hover: #232f42;
    --accent: #38bdf8; --text: #f1f5f9; --text-dim: #94a3b8;
    --success: #4ade80; --danger: #f87171;
}

body {
    background: linear-gradient(135deg, var(--bg) 0%, #0f1629 100%);
    color: var(--text); font-family: sans-serif; padding: 20px; min-height: 100vh;
}

.container { max-width: 600px; margin: 0 auto; }
.section { margin-bottom: 25px; }

.header {
    background: var(--card); padding: 18px; border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3); border-top: 3px solid var(--accent);
}

.route-display { display: flex; align-items: center; justify-content: space-between; }
.station-name { font-size: 1.1rem; font-weight: 700; }
.station-label { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; }

.btn-switch {
    background: var(--accent); border: none; width: 42px; height: 42px;
    border-radius: 50%; font-size: 1.2rem; cursor: pointer;
}

.train-card {
    background: var(--card); border-radius: 12px; padding: 15px;
    display: flex; justify-content: space-between; align-items: center;
    border-left: 4px solid var(--accent); margin-top: 10px;
}

.departure-time { font-size: 1.4rem; font-weight: 700; }
.delay { color: var(--danger); font-weight: bold; margin-left: 5px; }
.on-time { color: var(--success); margin-left: 5px; }

.platform {
    background: var(--accent); color: #000; padding: 10px 14px;
    border-radius: 10px; font-weight: 800; font-size: 1.1rem;
}

.train-type { background: rgba(56,189,248,0.1); color: var(--accent); padding: 2px 6px; border-radius: 4px; font-size: 0.7rem; }

.refresh-container { text-align: center; margin-top: 20px; }
.btn-refresh { background: var(--accent); border: none; padding: 12px 25px; border-radius: 12px; font-weight: 700; }
.last-update { color: var(--text-dim); font-size: 0.75rem; margin-top: 10px; }
