/* Language Modal Styles */
.language-modal .modal-content {
    background-color: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.language-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
}

.language-modal .modal-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}

.language-modal .modal-body {
    padding: 1.5rem;
}

.language-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.language-option .flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

.language-option span {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

/* Footer Language Button Styles */
.footer-bottom .language-selector {
    display: flex;
    align-items: center;
}

.footer-bottom .language-btn {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
}

.footer-bottom .language-btn:hover {
    background: #2a2a2a;
    border-color: #3a3a3a;
    text-decoration: none;
    color: #fff;
}

.footer-bottom .language-btn i {
    margin-right: 8px;
    color: #fff;
}

.footer-bottom .language-btn .current-lang {
    color: #fff;
    font-size: 0.9rem;
}

/* RTL Support */
[dir="rtl"] .language-option {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-bottom .language-btn i {
    margin-right: 0;
    margin-left: 8px;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .language-options {
        grid-template-columns: 1fr;
    }
    
    .language-modal .modal-dialog {
        margin: 1rem;
    }
    
    .language-option {
        padding: 0.5rem 0.75rem;
    }
    
    .language-option img {
        width: 20px;
        height: 14px;
    }
    
    .language-option span {
        font-size: 0.9rem;
    }
    
    .footer-bottom .language-selector {
        justify-content: center;
    }
} 