.language-popup {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    animation: slideUp 0.3s ease-out;
}

.language-popup-content {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.language-popup-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.language-popup-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    flex: 1;
}

.language-popup-header i {
    color: var(--primary-color);
    width: 1.5rem;
    height: 1.5rem;
}

.close-popup {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: #64748b;
}

.close-popup:hover {
    color: #1e293b;
}

.language-popup p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.language-popup-actions {
    display: flex;
    gap: 1rem;
}

.btn-switch-lang,
.btn-stay-english {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    flex: 1;
}

.btn-switch-lang {
    background: var(--primary-color);
    color: white;
}

.btn-switch-lang:hover {
    background: var(--primary-dark);
}

.btn-stay-english {
    background: #f1f5f9;
    color: #1e293b;
}

.btn-stay-english:hover {
    background: #e2e8f0;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .language-popup {
        bottom: 0;
        right: 0;
        left: 0;
    }

    .language-popup-content {
        border-radius: 1rem 1rem 0 0;
        margin: 0 1rem;
    }

    .language-popup-actions {
        flex-direction: column;
    }
}