﻿.w-90 {
    width: 90% !important;
}

.logo img {
    max-width: 80%;
}

* {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

/* Modern Language Selector Styles */
.modern-language-selector {
    position: relative;
    display: inline-block;
}

.language-dropdown {
    position: relative;
}

.language-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #374151;
    min-width: 80px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.language-trigger:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.language-trigger:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.selected-language {
    display: flex;
    align-items: center;
    gap: 6px;
}

.flag-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
/*    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);*/
}

.language-code {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.language-trigger[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    margin-top: 4px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.language-option {
    margin: 0;
    padding: 0;
    list-style: none;
}

.language-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #374151;
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
}

.language-link:hover {
    background: #eff6ff;
    color: #1d4ed8;
    text-decoration: none;
    transform: translateX(2px);
}

.language-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.language-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.language-code-small {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.check-icon {
    opacity: 0;
    transition: opacity 0.2s ease;
    color: #10b981;
}

.language-link.active .check-icon {
    opacity: 1;
}

/* RTL Support */
[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .language-link:hover {
    transform: translateX(-2px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .language-menu {
        min-width: 180px;
    }
    
    .language-link {
        padding: 10px 14px;
    }
    
    .language-trigger {
        padding: 6px 10px;
        min-width: 70px;
    }
    
    .flag-icon {
        width: 18px;
        height: 18px;
    }
}