/**
 * ARSA Technology - Language Selection Modal Styles
 */

.arsa-lang-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arsa-lang-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.arsa-lang-modal-content {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    padding: 40px;
    position: relative;
    animation: slideUp 0.4s ease;
}

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

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #333;
}

.modal-header h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
    text-align: center;
}

.modal-header p {
    margin: 0 0 30px 0;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
    color: #333;
    width: 100%;
    text-align: left;
}

.lang-option:hover {
    background: #fff;
    border-color: #2ea3f2;
    transform: translateX(5px);
}

.lang-option.suggested {
    background: #e3f2fd;
    border-color: #2ea3f2;
    box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.1);
}

.lang-option.suggested::after {
    content: "Recommended";
    margin-left: auto;
    font-size: 12px;
    color: #2ea3f2;
    font-weight: 600;
}

.lang-option .flag {
    font-size: 32px;
    line-height: 1;
}

.lang-option .lang-name {
    font-weight: 600;
    font-size: 18px;
}

.modal-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.modal-footer .note {
    margin: 0;
    font-size: 13px;
    color: #999;
    text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
    .arsa-lang-modal-content {
        padding: 30px 20px;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .lang-option {
        padding: 15px 18px;
    }

    .lang-option .flag {
        font-size: 28px;
    }

    .lang-option .lang-name {
        font-size: 16px;
    }
}
/* Navigation Language Switcher Styles */
.arsa-language-switcher .current-lang-flag {
    font-size: 18px;
    margin-right: 5px;
}

.arsa-language-switcher .current-lang-text {
    font-weight: 600;
}

.arsa-language-switcher > a {
    display: flex !important;
    align-items: center;
    gap: 5px;
}

.arsa-language-switcher .sub-menu {
    min-width: 200px;
}

.arsa-language-switcher .sub-menu a {
    padding: 10px 20px !important;
    width: 100% !important;
    display: block !important;
    font-size: 14px !important;
}

.arsa-language-switcher .sub-menu li {
    padding: 0 !important;
}

.arsa-language-switcher .sub-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}
