/**
 * WPML GeoLocal Modal Styles
 * Theme colors: Dark purple background rgb(13,0,22), Pink buttons rgb(255,7,95)
 */

.wpml-geolocal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wpml-geolocal-fade-in 0.3s ease-out;
}

.wpml-geolocal-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 0, 22, 0.85);
    backdrop-filter: blur(6px);
}

.wpml-geolocal-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(13, 0, 22, 0.5), 0 0 0 1px rgba(255, 7, 95, 0.1);
    max-width: 500px;
    width: 90%;
    padding: 0;
    animation: wpml-geolocal-slide-up 0.4s ease-out;
    overflow: hidden;
}

.wpml-geolocal-modal-header {
    padding: 24px 30px 20px;
    border-bottom: 1px solid rgba(13, 0, 22, 0.1);
    background: #ffffff;
}

.wpml-geolocal-modal-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: rgb(13, 0, 22);
    line-height: 1.3;
}

.wpml-geolocal-modal-body {
    padding: 30px;
    color: #1a1a1a;
    font-size: 16px;
    line-height: 1.6;
    background: #ffffff;
}

.wpml-geolocal-modal-body p {
    margin: 0 0 16px;
}

.wpml-geolocal-modal-body p:last-child {
    margin-bottom: 0;
}

.wpml-geolocal-modal-body strong {
    color: rgb(13, 0, 22);
    font-weight: 600;
}

.wpml-geolocal-modal-footer {
    padding: 20px 30px;
    background: #ffffff;
    border-top: 1px solid rgba(13, 0, 22, 0.1);
    display: flex;
    gap: 12px;
    justify-content: center;
}

.wpml-geolocal-btn {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    outline: none;
}

.wpml-geolocal-btn:focus {
    outline: 2px solid rgba(255, 7, 95, 0.5);
    outline-offset: 2px;
}

.wpml-geolocal-btn-primary {
    background: rgb(255, 7, 95);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 7, 95, 0.3);
}

.wpml-geolocal-btn-primary:hover {
    background: rgb(230, 6, 85);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 7, 95, 0.4);
}

.wpml-geolocal-btn-primary:active {
    transform: translateY(0);
    background: rgb(210, 5, 75);
}

.wpml-geolocal-btn-secondary {
    background: #ffffff;
    color: rgb(13, 0, 22);
    border: 2px solid rgba(13, 0, 22, 0.2);
}

.wpml-geolocal-btn-secondary:hover {
    background: rgba(13, 0, 22, 0.03);
    border-color: rgba(13, 0, 22, 0.4);
}

.wpml-geolocal-btn-secondary:active {
    background: rgba(13, 0, 22, 0.06);
}

/* Animations */
@keyframes wpml-geolocal-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes wpml-geolocal-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 640px) {
    .wpml-geolocal-modal-content {
        width: 95%;
        margin: 20px;
    }

    .wpml-geolocal-modal-header {
        padding: 20px 24px 16px;
    }

    .wpml-geolocal-modal-header h3 {
        font-size: 20px;
    }

    .wpml-geolocal-modal-body {
        padding: 24px;
        font-size: 15px;
    }

    .wpml-geolocal-modal-footer {
        padding: 16px 24px;
        flex-direction: column;
    }

    .wpml-geolocal-btn {
        width: 100%;
        padding: 14px 24px;
    }
}