/* Language Switcher Popup Styles */
.lang-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

.lang-popup-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-popup {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideUp 0.3s ease;
}

.lang-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    transition: color 0.2s;
}

.lang-popup-close:hover {
    color: #000;
}

.lang-popup-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.lang-popup-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.lang-popup-btn {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-popup-btn-primary {
    background: #dd9237;
    color: #fff;
}

.lang-popup-btn-primary:hover {
    background: #c97f2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(221, 146, 55, 0.3);
}

.lang-popup-btn-secondary {
    background: #f0f0f0;
    color: #666;
}

.lang-popup-btn-secondary:hover {
    background: #e0e0e0;
    color: #333;
}

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

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

@media (max-width: 600px) {
    .lang-popup {
        padding: 30px 20px;
    }

    .lang-popup-title {
        font-size: 20px;
    }

    .lang-popup-buttons {
        flex-direction: column;
    }

    .lang-popup-btn {
        width: 100%;
    }
}
