.schedule-search__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.schedule-search__form-wrap {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.schedule-search__form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.schedule-search__field {
    flex: 1;
    min-width: 180px;
}

.schedule-search__field label {
    display: block;
    font-size: 12px;
    color: #555;
    margin-bottom: 5px;
    font-weight: 600;
}

.schedule-search__input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

.schedule-search__input:focus {
    outline: none;
    border-color: #2e7d32;
}

/* Searchable combobox */
.ss-combobox {
    position: relative;
}

.ss-combobox__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ss-combobox__option {
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
}

.ss-combobox__option:hover {
    background: #e8f5e9;
}

.ss-combobox__input:focus ~ .ss-combobox__dropdown {
    border-color: #2e7d32;
}

.schedule-search__swap {
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: #2e7d32;
    user-select: none;
    align-self: flex-end;
    margin-bottom: 4px;
}

.schedule-search__swap:hover {
    color: #1b5e20;
}

.schedule-search__btn {
    padding: 10px 30px;
    background: #f57c00;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.schedule-search__btn:hover {
    background: #e65100;
}

@media (max-width: 768px) {
    .schedule-search__form {
        flex-direction: column;
    }
    .schedule-search__field {
        min-width: 100%;
    }
    .schedule-search__swap {
        align-self: center;
        transform: rotate(90deg);
    }
}

.schedule-search__results h3 {
    margin-bottom: 15px;
    color: #333;
}

.schedule-search__empty {
    padding: 30px;
    text-align: center;
    color: #999;
    background: #f5f5f5;
    border-radius: 8px;
}

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

.schedule-search__table th,
.schedule-search__table td {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
    font-size: 14px;
}

.schedule-search__table th {
    background: transparent;
    font-weight: 600;
    font-size: 13px;
    color: #888;
    border: none;
    border-bottom: 1px solid #e0e0e0;
}

.schedule-search__table td {
    border-left: none;
    border-right: none;
}

.schedule-search__table tbody tr:hover {
    background: #fafafa;
}

.schedule-search__route-cell-cont {
    border-top: none !important;
}

.schedule-search__details-btn {
    padding: 0;
    background: none;
    color: #f57c00;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.schedule-search__details-btn:hover {
    color: #e65100;
}

.schedule-search__day-badge {
    display: inline-block;
    padding: 3px 8px;
    background: #e3f2fd;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #1565c0;
}

.schedule-search__detail-row td {
    padding: 0 !important;
    border: none !important;
}

.schedule-search__stops-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.schedule-search__stops-table th,
.schedule-search__stops-table td {
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.schedule-search__stops-table th {
    color: #888;
    font-weight: 600;
}

.schedule-search__stop-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.schedule-search__stop-icon--departure {
    background: #2e7d32;
    border-color: #2e7d32;
}

.schedule-search__collapse-bar {
    background: #e8f5e9;
    text-align: center;
    padding: 8px;
    cursor: pointer;
    color: #2e7d32;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0 0 6px 6px;
}

.schedule-search__collapse-bar:hover {
    background: #c8e6c9;
}

.schedule-search__all-routes h3 {
    margin-bottom: 15px;
}

.schedule-search__routes-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.schedule-search__route-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 14px;
}

.schedule-search__route-item:hover {
    background: #e8e8e8;
}

.schedule-search__route-num {
    font-weight: 700;
    color: #2e7d32;
    min-width: 60px;
}

/* Type badges */
.schedule-search__type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 6px;
}

.schedule-search__type-badge--suburban {
    background: #e8f5e9;
    color: #2e7d32;
}

.schedule-search__type-badge--intercity {
    background: #e3f2fd;
    color: #1565c0;
}

.schedule-search__type-badge--international {
    background: #fce4ec;
    color: #c62828;
}

/* Infobus widget */
.schedule-infobus {
    border: 2px solid #2e7d32;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    background: #f9fff9;
}

.schedule-infobus__title {
    font-size: 18px;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 10px;
}

.schedule-infobus__content p {
    margin: 0 0 12px;
    font-size: 14px;
    color: #555;
}

.schedule-infobus__link {
    display: inline-block;
    padding: 10px 24px;
    background: #2e7d32;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.schedule-infobus__link:hover {
    background: #1b5e20;
    color: #fff;
}

/* Map button */
.schedule-map-button {
    margin-top: 20px;
}

.schedule-map-button__link {
    display: block;
    padding: 14px 20px;
    background: #f57c00;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: background 0.2s;
}

.schedule-map-button__link:hover {
    background: #e65100;
    color: #fff;
}

/* Bottom text */
.schedule-bottom-text {
    margin-top: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.schedule-bottom-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
