@keyframes astra-blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}
.blink-active {
    animation: astra-blink 1s infinite;
}

.flip-container {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    vertical-align: middle;
}
.flip-tile {
    background: #1e293b;
    color: #38bdf8;
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 3px;
    border: 1px solid #334155;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    display: inline-block;
    text-align: center;
    min-width: 14px;
    height: 26px;
    line-height: 20px;
}
.flip-tile::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.5);
}
.flip-colon {
    color: #38bdf8;
    font-weight: 800;
    font-size: 18px;
    padding: 0 3px;
}

.board-container {
    background: #0f172a;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #1e293b;
    max-width: 1000px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.4);
}

.header-row {
    display: grid;
    grid-template-columns: 3fr 1.2fr;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 100;
    letter-spacing: 1px;
    padding: 8px 0px;
    border-bottom: 2px solid #334155;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.departure-row {
    display: grid;
    grid-template-columns: 3fr 1.2fr;
    background: #1e293b;
    border: 1px solid #334155;
    padding: 5px 10px;
    margin-bottom: 6px;
    border-radius: 6px;
    align-items: center;
}

.route-text {
    color: #f1f5f9;
    font-weight: 300;
    letter-spacing: 0.4px;
    text-align: left;
    font-size:12px
}

.countdown-container {
    text-align: right;
    font-weight: 400;
}

/* Status */
.status-bar {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #64748b;
    padding-top: 12px;
    border-top: 1px dashed #334155;
}

/* Tabel plecări - dark theme matching board */
.microbus-table-container {
    background: #0f172a;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #1e293b;
    max-width: 100%;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.4);
    overflow-x: auto;
}

.microbus-table {
    width: 100%;
    border-collapse: collapse;
    color: #f1f5f9;
    font-size: 14px;
}

.microbus-table thead {
    background: #1e293b;
}

.microbus-table th {
    text-align: left;
    padding: 14px 20px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    border-bottom: 2px solid #334155;
}

.microbus-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #334155;
    vertical-align: middle;
}

.microbus-table tbody tr:nth-child(even) {
    background: #1e293b;
}

.microbus-table tbody tr:hover {
    background: #334155;
}

.microbus-table .ora-col {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    color: #38bdf8;
    font-size: 15px;
    white-space: nowrap;
}

.microbus-table .zile-col {
    color: #e2e8f0;
}

.microbus-table .route-header {
    color: #38bdf8;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.microbus-table .route-header .arrow {
    color: #38bdf8;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 600px) {
    .microbus-table th, .microbus-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
    .microbus-table .ora-col {
        font-size: 14px;
    }
}

/* Adaugă sau înlocuiește aceste reguli în assets/css/orar-style.css */

.microbus-table .route-header {
    color: #38bdf8;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #334155;
    display: flex;
    justify-content: space-between; /* Împinge titlul în stânga și observațiile în dreapta */
    align-items: center;
    gap: 15px;
}

.microbus-table .route-header .route-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.microbus-table .route-header .route-observatii {
    color: #ffffff;             /* Forțează textul observațiilor să fie complet ALB */
    font-size: 14px;            /* Dimensiune ușor mai mică decât titlul */
    font-weight: 400;           /* Aspect regular, finuț */
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.05); /* Opțional: un fundal extrem de subtil */
    padding: 4px 10px;
    border-radius: 4px;
}