/**
 * Custom Tabs Widget Styles - Pure CSS Map
 */

.custom-tabs-widget {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Tabs Container */
.custom-tabs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
    padding: 0 15px;
}

/* Tab Button */
.custom-tab {
    background: linear-gradient(135deg, #f0f2f5 0%, #e8ecf1 100%);
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.custom-tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.custom-tab.active {
    background: linear-gradient(135deg, #0066cc 0%, #0055aa 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

/* Content Wrapper */
.custom-tabs-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 15px;
}

/* Left Side */
.custom-tabs-left {
    flex: 1;
    min-width: 280px;
    padding: 30px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Right Side Map */
.custom-tabs-right {
    flex: 1;
    min-width: 350px;
}

.custom-tabs-map-container {
    width: 100%;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.custom-tabs-map-container svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Typography */
.custom-tabs-heading {
    font-size: 12px;
    font-weight: 700;
    color: #0066cc;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.custom-tabs-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 18px;
    line-height: 1.3;
}

.custom-tabs-description {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 25px;
}

.custom-tabs-price {
    font-size: 16px;
    font-weight: 500;
    color: #1a202c;
    margin-bottom: 25px;
    padding-top: 15px;
    border-top: 2px solid #e2e8f0;
}

.custom-tabs-price span {
    color: #0066cc;
    font-weight: 800;
    font-size: 24px;
}

/* Button */
.custom-tabs-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0066cc 0%, #0055aa 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.custom-tabs-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    color: white;
    text-decoration: none;
}

.custom-tabs-button i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.custom-tabs-button:hover i {
    transform: translateX(6px);
}

/* Loading State */
.loading-spinner {
    width: 45px;
    height: 45px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.retry-map-btn {
    padding: 10px 25px;
    background: white;
    color: #0066cc;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.retry-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Marker animations */
.start-marker, .end-marker {
    cursor: pointer;
    transition: filter 0.3s ease;
}

.start-marker:hover, .end-marker:hover {
    filter: drop-shadow(0 0 5px currentColor);
}

/* Responsive */
@media (max-width: 768px) {
    .custom-tabs-container {
        gap: 8px;
    }
    
    .custom-tab {
        padding: 8px 18px;
        font-size: 12px;
    }
    
    .custom-tabs-title {
        font-size: 22px;
    }
    
    .custom-tabs-map-container {
        min-height: 300px;
    }
    
    .custom-tabs-left {
        padding: 20px;
    }
}