/* Page Title */

.page-title .stop-lines {
    margin: 8px 0 0 0;
}

.page-title .stop-lines .line-name {
    background-color: red;
    color: white;
    margin: 0;
    padding: 0px 6px 0px 6px;
    border-radius: 6px;
    display: inline-block;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
}

.section > .stop-details-container {
    margin-top: 32px;
}

.static-schedule {
    margin-top: 24px;
}

.static-schedule > p {
    font-size: 0.88rem;
    line-height: 1.35;
}

.static-schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.static-schedule-table th,
.static-schedule-table td {
    font-size: 0.86rem;
    line-height: 1.25;
    padding: 10px 14px;
    border-bottom: solid 1px #0000001F;
    text-align: left;
    vertical-align: baseline;
}

.static-schedule-table tr:last-child td {
    border-bottom: none;
}

.static-schedule-table th {
    color: #0000004D;
    font-weight: 600;
}

.static-schedule-table td:last-child {
    font-weight: 700;
    white-space: nowrap;
}

.stop-facts-panel {
    padding: 0;
}

.stop-facts-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.stop-facts-table th,
.stop-facts-table td {
    font-size: 0.88rem;
    line-height: 1.25;
    padding: 13px 18px;
    vertical-align: baseline;
    border-bottom: solid 1px #0000001F;
}

.stop-facts-table tr:last-child th,
.stop-facts-table tr:last-child td {
    border-bottom: none;
}

.stop-facts-table th {
    color: #0000004D;
    font-weight: 500;
    text-align: left;
    width: 42%;
}

.stop-facts-table td {
    color: #00000099;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
    border-left: solid 1px #00000014;
}

.next-train-to-container {
    padding-top: 32px;
}

.next-train-to-panel {
    padding: 12px 0 12px 0;
}

.next-train-to {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 8px 18px 8px 18px;
}

.next-train-to p {
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
}

.next-train-to p.time {
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (prefers-color-scheme: dark) {
    .static-schedule-table th,
    .static-schedule-table td {
        border-bottom-color: #FFFFFF1F;
    }

    .static-schedule-table th {
        color: #FFFFFF4D;
    }

    .stop-facts-table th,
    .stop-facts-table td {
        border-bottom-color: #FFFFFF1F;
    }

    .stop-facts-table th {
        color: #FFFFFF4D;
    }

    .stop-facts-table td {
        color: #FFFFFF99;
        border-left-color: #FFFFFF1A;
    }
}
