/* Transport Information Popup */
.transport-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

.transport-popup-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.transport-popup {
    background: #fff;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.transport-popup-header {
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    color: #fff;
    padding: 25px 30px;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.transport-popup-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.transport-popup-header h2 i {
    color: #f8e874;
    font-size: 1.8rem;
}

.transport-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.transport-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.transport-popup-body {
    padding: 30px;
}

.transport-intro {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #003366;
}

.transport-intro p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.transport-routes {
    display: grid;
    gap: 20px;
    margin-bottom: 25px;
}

.transport-route {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.transport-route:hover {
    border-color: #003366;
    box-shadow: 0 4px 12px rgba(0, 31, 63, 0.1);
    transform: translateY(-2px);
}

.route-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.route-icon {
    background: linear-gradient(135deg, #003366, #001f3f);
    color: #f8e874;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.route-title {
    flex: 1;
}

.route-title h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: #001f3f;
    font-weight: 700;
}

.route-title p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.route-details {
    padding-left: 65px;
}

.route-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.route-info i {
    color: #003366;
    width: 20px;
}

.route-info span {
    color: #333;
    font-size: 0.95rem;
}

.route-info strong {
    color: #001f3f;
    font-weight: 600;
}

.transport-locations {
    background: #fff9e6;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 2px dashed #f8e874;
}

.transport-locations h4 {
    margin: 0 0 12px 0;
    color: #001f3f;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.transport-locations h4 i {
    color: #003366;
}

.locations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.location-tag {
    background: #fff;
    color: #003366;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 6px;
}

.location-tag i {
    font-size: 0.8rem;
}

.transport-contact {
    background: #e8f4f8;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.transport-contact h4 {
    margin: 0 0 10px 0;
    color: #001f3f;
    font-size: 1.1rem;
}

.transport-contact p {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 0.95rem;
}

.contact-btn {
    background: linear-gradient(135deg, #003366, #001f3f);
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 31, 63, 0.3);
    color: #fff;
}

.popup-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.dont-show-again {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.dont-show-again input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.dont-show-again label {
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.close-popup-btn {
    background: #6c757d;
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.close-popup-btn:hover {
    background: #5a6268;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .transport-popup {
        max-width: 95%;
        margin: 10px;
    }
    
    .transport-popup-header {
        padding: 20px;
    }
    
    .transport-popup-header h2 {
        font-size: 1.2rem;
    }
    
    .transport-popup-body {
        padding: 20px;
    }
    
    .route-details {
        padding-left: 0;
        margin-top: 10px;
    }
    
    .route-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .popup-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .popup-footer > * {
        width: 100%;
        text-align: center;
    }
    
    .close-popup-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .transport-popup-header h2 {
        font-size: 1.1rem;
    }
    
    .locations-list {
        flex-direction: column;
    }
    
    .location-tag {
        justify-content: center;
    }
}
