
/* --- CARD CONTAINER --- */
.train-strip {
    background: #ffffff;
    /* border-radius: 12px; */
    box-shadow: 0 12px 8px rgba(0,0,0,0.05);
    padding: 12px 16px; /* Compact padding */
    border-left: 4px solid #004c90; /* Accent Color */
    margin-bottom: 12px;
    transition: transform 0.2s;
}
.train-strip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

/* --- ROW 1: Identity & Days --- */
.row-identity {
    display: flex;
    justify-content: space-between; /* Pushes Name to left, Days to right */
    align-items: center;
    border-bottom: 1px dashed #e5e7eb;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.train-info-group {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden; /* Prevents long names breaking layout */
}

.train-icon { color: #004c90; font-size: 1.1rem; }

.train-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.train-number {
    font-size: 0.75rem;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Running Days Styling */
.days-group {
    display: flex;
    gap: 2px;
}
.day-letter {
    font-size: 0.65rem;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #9ca3af; /* Inactive Color */
    font-weight: 600;
    cursor: default;
}
.day-letter.active {
    background-color: #ecfdf5;
    color: #059669; /* Active Green */
}

/* --- ROW 2: Schedule & Favicons --- */
.row-logistics {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.time-block { display: flex; flex-direction: column; }

.time-big {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    color: #1f2937;
}
.station-small {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 4px;
}

/* Center Pill (Distance/Duration) */
.center-pill {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    padding: 4px 10px;
    display: flex;
    gap: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: #4b5563;
    font-weight: 500;
}
.meta-icon { font-size: 0.8rem; color: #9ca3af; }

/* Mobile Tweak */
@media (max-width: 450px) {
    .row-identity { flex-direction: column; align-items: flex-start; gap: 5px; }
    .days-group { align-self: flex-start; margin-left: 28px; /* Align with name */ }
}