/* HVG Region Buttons - Fixed Left Side */
.hvg-region-buttons {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hvg-region-btn {
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: #fff;
    padding: 15px 2px;
    border: none;
    border-radius:  8px  0 0 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    min-width: 30px;
    min-height: 150px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    letter-spacing: 2px;
}

.hvg-region-btn:hover {
    transform: rotate(180deg) translateY(-5px);
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3);
}

.hvg-region-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.hvg-region-btn:hover::before {
    left: 100%;
}

.hvg-region-btn.north {
    background: linear-gradient(135deg, #27ae60 0%, #0854a2 100%);
}

.hvg-region-btn.south {
    
	background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* Popup Modal */
.hvg-region-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.hvg-region-popup.active {
    display: flex;
}

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

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

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

.hvg-popup-header {
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: #fff;
    padding: 5px 20px;
/*     border-radius: 12px 12px 0 0; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hvg-popup-header.north {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.hvg-popup-header.south {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.hvg-popup-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.hvg-popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

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

.hvg-popup-body {
    padding: 20px;
}

.hvg-info-section {
    margin-bottom: 15px;
}

.hvg-info-section:last-child {
    margin-bottom: 0;
}

.hvg-info-section h4 {
    color: #0066cc;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hvg-info-section h4 i {
    font-size: 20px;
}

.hvg-info-section p {
    margin: 5px 0;
    color: #333;
    line-height: 1.6;
}

.hvg-info-section a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hvg-info-section a:hover {
    color: #004999;
    text-decoration: underline;
}

.hvg-map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hvg-map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hvg-region-btn {
        min-width: 100px;
        padding: 0 5px;
        font-size: 12px;
    }

    .hvg-popup-content {
        width: 95%;
        max-height: 95vh;
    }

    .hvg-popup-header {
        padding: 15px 20px;
    }

    .hvg-popup-header h3 {
        font-size: 20px;
    }

    .hvg-popup-body {
        padding: 20px;
    }

    .hvg-info-section h4 {
        font-size: 16px;
    }

    .hvg-map-container iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hvg-region-buttons {
        gap: 5px;
		z-index: 9999
    }

    .hvg-region-btn {
        min-width: 26px;
        padding: 0 3px;
        font-size: 11px;
    }

    .hvg-popup-header h3 {
        font-size: 18px;
    }

    .hvg-popup-body {
        padding: 15px;
    }
}
