/* Container & Modal Overlay */
.gss-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.gss-modal-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    width: 100%;
    margin: auto 15px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.gss-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 12px 12px 0 0;
}

.gss-overlay-header h2 {
    margin: 0;
    font-size: 1.15rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gss-header-icon {
    color: #334155;
    flex-shrink: 0;
}

.gss-close-btn {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0 4px;
}

.gss-close-btn:hover {
    color: #0f172a;
}

.gss-overlay-content {
    background: #ffffff;
    max-width: 1200px;
    width: 100%;
    max-height: 85vh;
    overflow-x: auto;
    overflow-y: auto;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
}

.gss-table {
    width: 100%;
    border-collapse: collapse;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    white-space: nowrap;
}

.gss-table th {
    position: sticky;
    top: 0;
    background: #f8fafc;
    color: #475569;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
    z-index: 2;
}

.gss-table th a {
    color: #334155;
    text-decoration: none;
}

.gss-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
}

.gss-location-header td {
    background: #f1f5f9;
    color: #0f172a;
    font-size: 14px;
    padding: 8px 12px;
}

.gss-bold{
    font-weight: bold;
}

.gss-station-name{
    max-width: 150px;
}

@media (min-width: 601px) {
    .gss-table td.gss-station-name,
    .gss-table th:first-child {
        position: sticky;
        left: 0;
        background: #ffffff;
        z-index: 1;
        box-shadow: 2px 0 5px rgba(0,0,0,0.05);
    }
    .gss-table th:first-child {
        z-index: 3;
        background: #f8fafc;
    }
}

@media (max-width: 600px) {
    .gss-overlay {
        padding: 8px;
    }
    .gss-overlay-content {
        max-height: 90vh;
    }
    .gss-table th, .gss-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
}