﻿/* Easy Transport Schedules Public Styles */

.ets-search-form {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.ets-search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.ets-search-row input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ets-swap-stops {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
}

.ets-swap-stops:hover {
    background: #005a87;
}

.ets-search-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.ets-search-btn:hover {
    background: #005a87;
}

.ets-search-results {
    margin-top: 20px;
}

.ets-connection {
    background: white;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.ets-connection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ets-connection-time {
    font-size: 18px;
    font-weight: bold;
}

.ets-connection-duration {
    color: #666;
}

.ets-connection-route {
    color: #0073aa;
    font-weight: 500;
}

.ets-timetable {
    overflow-x: auto;
    margin: 20px 0;
}

.ets-timetable table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.ets-timetable th,
.ets-timetable td {
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.ets-timetable th {
    background: #f5f5f5;
    font-weight: 600;
}

.ets-timetable tr:hover {
    background: #f9f9f9;
}

.ets-stop-name {
    text-align: left !important;
    font-weight: 500;
}

.ets-departure-list {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
}

.ets-departure-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.ets-departure-item:last-child {
    border-bottom: none;
}

.ets-departure-time {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.ets-departure-route {
    color: #666;
}

.ets-special-mark {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .ets-search-row {
        flex-direction: column;
    }

    .ets-swap-stops {
        width: 100%;
    }

    .ets-timetable {
        font-size: 14px;
    }

    .ets-connection-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
