/* ===== LANGUAGE MODAL - MODERN & CLEAN ===== */

/* Language Trigger Button - Indigo/Sorme'i */
.language-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg,
        rgba(79, 70, 229, 0.15) 0%,
        rgba(67, 56, 202, 0.1) 100%);
    border: 1px solid rgba(79, 70, 229, 0.25);
    border-radius: 20px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: auto;
    white-space: nowrap;
}

.language-trigger:hover {
    background: linear-gradient(135deg,
        rgba(79, 70, 229, 0.25) 0%,
        rgba(67, 56, 202, 0.2) 100%);
    border-color: rgba(129, 140, 248, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.language-trigger:active {
    transform: translateY(0);
}

.language-text {
    font-family: var(--font-primary);
    font-weight: 500;
}

.language-short {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.language-trigger-icon {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.language-trigger:hover .language-trigger-icon {
    transform: translateY(1px);
}

/* Adjust navbar layout for mobile */
@media (max-width: 991.98px) {
    .language-selector {
        order: 2;
        margin-left: auto !important;
        margin-right: 12px !important;
    }

    .language-trigger {
        padding: 6px 12px;
        font-size: 13px;
    }

    .language-short {
        font-size: 12px;
    }

    /* Ensure logo and language button are in same row */
    .navbar .container {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .navbar-brand {
        flex: 1;
        min-width: 0;
    }
}

/* Modal Backdrop */
#languageModal .modal-backdrop {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
}

/* Modal Content - Indigo Theme */
#languageModal .modal-content {
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(30, 41, 59, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 16px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(79, 70, 229, 0.1);
    overflow: hidden;
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Language Options */
.language-options {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.language-option-form {
    margin: 0;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    width: 100%;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid transparent;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: right;
    position: relative;
    overflow: hidden;
}

.language-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(79, 70, 229, 0.1) 0%,
        rgba(79, 70, 229, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.language-option:hover::before {
    opacity: 1;
}

.language-option:hover {
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.3);
    transform: translateX(-4px);
}

.language-option.active {
    background: linear-gradient(135deg,
        rgba(79, 70, 229, 0.15) 0%,
        rgba(67, 56, 202, 0.1) 100%);
    border: 1px solid rgba(79, 70, 229, 0.4);
    box-shadow:
        0 4px 12px rgba(79, 70, 229, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.language-option.active::before {
    opacity: 1;
    background: linear-gradient(135deg,
        rgba(79, 70, 229, 0.2) 0%,
        rgba(79, 70, 229, 0.1) 100%);
}

/* Language Icon (Flag) - Indigo Accent */
.language-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(79, 70, 229, 0.2);
}

.flag {
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

.flag-ir {
    background: linear-gradient(135deg,
        #DA0000 33%,
        #FFFFFF 33% 66%,
        #239F40 66%);
}

.flag-us {
    background: linear-gradient(135deg,
        #3C3B6E 0% 40%,
        #B22234 40% 60%,
        #FFFFFF 60% 80%,
        #B22234 80% 90%,
        #FFFFFF 90% 95%,
        #B22234 95% 100%);
}

.flag-ar {
    background: linear-gradient(135deg,
        #007A3D 33%,
        #FFFFFF 33% 66%,
        #000000 66%);
}

/* Language Info */
.language-info {
    flex: 1;
    text-align: right;
}

.language-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
    letter-spacing: -0.2px;
}

.language-code {
    font-size: 12px;
    color: rgba(165, 180, 252, 0.7);
    font-family: 'Segoe UI', sans-serif;
    font-weight: 500;
}

/* Active Indicator - Indigo */
.active-indicator {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-radius: 50%;
    color: white;
    font-size: 12px;
    animation: pulse-indigo 2s infinite;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

@keyframes pulse-indigo {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(79, 70, 229, 0);
    }
}

/* RTL/LTR Support */
[dir="rtl"] .language-option:hover {
    transform: translateX(4px);
}

[dir="ltr"] .language-option:hover {
    transform: translateX(-4px);
}

[dir="ltr"] .language-info {
    text-align: left;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .language-trigger {
        padding: 5px 10px;
        font-size: 12px;
        gap: 4px;
    }

    .language-short {
        font-size: 11px;
    }

    .language-trigger .fa-globe {
        font-size: 13px;
        margin-right: 4px;
    }

    .language-trigger .fa-chevron-down {
        font-size: 10px;
        margin-left: 4px;
    }

    /* Modal adjustments for mobile */
    #languageModal .modal-dialog {
        margin: 16px;
    }

    .language-option {
        padding: 14px 16px;
        gap: 12px;
    }

    .language-name {
        font-size: 15px;
    }

    .language-icon {
        width: 32px;
        height: 32px;
    }

    .language-code {
        font-size: 11px;
    }
}

/* Fix for navbar layout in mobile */
@media (max-width: 991.98px) {
    .navbar-toggler {
        order: 3;
    }

    .navbar-collapse {
        order: 4;
    }
}

/* Ensure proper spacing in navbar */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: auto;
}
/* ===== MODAL Z-INDEX FIXES ===== */

/* سایدبار و overlay */
.responsive-sidebar {
    z-index: 10008 !important; /* باید کمتر از مودال باشد */
}

.sidebar-overlay {
    z-index: 999 !important; /* کمتر از سایدبار */
}

/* مودال زبان - باید بالاتر از همه باشد */
#languageModal {
    z-index: 10050 !important; /* بالاتر از همه */
}

#languageModal .modal-backdrop {
    z-index: 10049 !important; /* یک درجه کمتر از مودال */
}

#languageModal .modal-content {
    z-index: 10051 !important; /* بالاتر از backdrop */
}

/* مودال advanced search */
.advanced-search-modal {
    z-index: 10050 !important;
}

.advanced-search-modal .modal-backdrop {
    z-index: 10049 !important;
}

.advanced-search-modal .modal-content {
    z-index: 10051 !important;
}

/* دکمه toggle موبایل */
.mobile-sidebar-toggle {
    z-index: 10010 !important; /* بالاتر از سایدبار اما کمتر از مودال */
}

/* ===== MODAL STYLES FIX ===== */

/* Modal Backdrop - اصلاح شده */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 1040;
    display: none;
}

.modal-backdrop.show {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

/* Modal Content - اصلاح شده */
.modal-content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.98) 0%,
        rgba(30, 41, 59, 0.98) 100%) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(79, 70, 229, 0.3) !important;
    border-radius: 20px !important;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(79, 70, 229, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    max-width: 90% !important;
    width: auto !important;
    min-width: 300px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    z-index: 1050 !important;
}

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg,
        rgba(79, 70, 229, 0.1) 0%,
        rgba(67, 56, 202, 0.05) 100%);
    border-bottom: 1px solid rgba(79, 70, 229, 0.2);
    padding: 1.5rem 1.5rem 1rem !important;
    border-radius: 20px 20px 0 0 !important;
    backdrop-filter: blur(10px);
}

.modal-header h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header h3 i {
    color: #4f46e5;
    font-size: 1.2rem;
}

.close-modal {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.3);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.close-modal:hover {
    background: rgba(79, 70, 229, 0.2);
    border-color: rgba(79, 70, 229, 0.5);
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 1.5rem !important;
    background: transparent !important;
}

/* Search Filter Modal Specific */
.advanced-search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10050;
}

.advanced-search-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix for form inside modal */
#advancedSearchForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    color: rgba(165, 180, 252, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: #4f46e5;
    font-size: 1rem;
}

.form-group input,
.form-group select {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    background: rgba(30, 41, 59, 0.9);
}

/* Checkbox style */
.form-group label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4f46e5;
    margin-left: 0.5rem;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(79, 70, 229, 0.2);
}

.btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;
    border: 1px solid rgba(79, 70, 229, 0.5);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* Animation for modal */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Responsive fixes */
@media (max-width: 768px) {
    .modal-content {
        width: 95% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }

    .modal-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    /* Ensure modal is above mobile sidebar */
    #languageModal {
        z-index: 10060 !important;
    }

    .mobile-sidebar-toggle {
        z-index: 10020 !important;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .modal-content {
        width: 98% !important;
        padding: 0.5rem !important;
    }

    .modal-header {
        padding: 1rem !important;
    }

    .modal-body {
        padding: 1rem !important;
    }

    .form-group input,
    .form-group select {
        padding: 0.75rem;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important; /* Prevent layout shift */
}
/* ===== PROFESSIONAL LANGUAGE SELECTION STYLES ===== */

.language-options {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.language-option-form {
    margin: 0;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    width: 100%;
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.7) 0%,
        rgba(15, 23, 42, 0.7) 100%);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 14px;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: right;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Hover Effect */
.language-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(79, 70, 229, 0.15),
        transparent);
    transition: left 0.6s ease;
}

.language-option:hover::before {
    left: 100%;
}

.language-option:hover {
    border-color: rgba(79, 70, 229, 0.4);
    transform: translateX(-3px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(79, 70, 229, 0.1);
}

/* Active State */
.language-option.active {
    background: linear-gradient(135deg,
        rgba(79, 70, 229, 0.15) 0%,
        rgba(67, 56, 202, 0.1) 100%);
    border: 1px solid rgba(79, 70, 229, 0.4);
    box-shadow:
        0 10px 30px rgba(79, 70, 229, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(79, 70, 229, 0.2);
}

/* Language Icon */
.language-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.25),
        0 0 0 2px rgba(79, 70, 229, 0.2);
    border: 2px solid rgba(79, 70, 229, 0.3);
    position: relative;
}

.language-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.flag {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

/* Flag Designs */
.flag-ir {
    background:
        linear-gradient(135deg,
            #da0000 33%,
            #ffffff 33% 66%,
            #239f40 66%);
}

.flag-us {
    background:
        linear-gradient(135deg,
            #3c3b6e 0% 40%,
            #b22234 40% 60%,
            #ffffff 60% 80%,
            #b22234 80% 90%,
            #ffffff 90% 95%,
            #b22234 95% 100%);
}

.flag-ar {
    background:
        linear-gradient(135deg,
            #007a3d 33%,
            #ffffff 33% 66%,
            #000000 66%);
}

.flag-tr {
    background:
        radial-gradient(circle at center,
            #e30a17 45%,
            transparent 45%),
        linear-gradient(to bottom,
            #ffffff 0% 50%,
            #e30a17 50% 100%);
}

/* Language Info */
.language-info {
    flex: 1;
    text-align: right;
    min-width: 0;
}

.language-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #f8fafc;
    letter-spacing: -0.2px;
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
}

.language-code {
    font-size: 11px;
    color: rgba(165, 180, 252, 0.8);
    font-family: 'Segoe UI', 'SF Pro Text', -apple-system, sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* PROFESSIONAL ACTIVE INDICATOR - کاملاً وسط‌چین و حرفه‌ای */
.active-indicator {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        #4f46e5 0%,
        #6366f1 50%,
        #818cf8 100%);
    border-radius: 50%;
    color: white;
    font-size: 11px;
    position: relative;
    flex-shrink: 0;
    animation: checkPulse 2s ease-in-out infinite;
    box-shadow:
        0 0 0 4px rgba(79, 70, 229, 0.2),
        0 4px 12px rgba(79, 70, 229, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* مرکز آیکون تیک */
.active-indicator i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Glow effect */
.active-indicator::before {
    content: '';
    position: absolute;
    inset: -6px;
    background: radial-gradient(circle,
        rgba(79, 70, 229, 0.3) 0%,
        rgba(79, 70, 229, 0.1) 50%,
        transparent 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    animation: glowPulse 2s ease-in-out infinite;
    animation-delay: 0.5s;
}

.active-indicator::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 70%);
    border-radius: 50%;
    opacity: 0.3;
}

/* Animation for active indicator */
@keyframes checkPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 0 0 4px rgba(79, 70, 229, 0.2),
            0 4px 12px rgba(79, 70, 229, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow:
            0 0 0 6px rgba(79, 70, 229, 0.3),
            0 6px 20px rgba(79, 70, 229, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* RTL/LTR Support */
[dir="rtl"] .language-option:hover {
    transform: translateX(3px);
}

[dir="rtl"] .language-info {
    text-align: right;
}

[dir="ltr"] .language-option:hover {
    transform: translateX(-3px);
}

[dir="ltr"] .language-info {
    text-align: left;
}

[dir="ltr"] .language-option {
    text-align: left;
}

/* Focus state for accessibility */
.language-option:focus {
    outline: 2px solid rgba(79, 70, 229, 0.5);
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 576px) {
    .language-option {
        padding: 16px 18px;
        gap: 14px;
        border-radius: 12px;
    }

    .language-icon {
        width: 38px;
        height: 38px;
        border-radius: 9px;
    }

    .language-name {
        font-size: 14px;
    }

    .language-code {
        font-size: 10px;
    }

    .active-indicator {
        width: 24px;
        height: 24px;
    }

    .active-indicator i {
        font-size: 9px;
    }
}

/* Tablet adjustments */
@media (min-width: 577px) and (max-width: 768px) {
    .language-option {
        padding: 17px 19px;
    }

    .language-icon {
        width: 40px;
        height: 40px;
    }
}

/* Dark mode optimization */
@media (prefers-color-scheme: dark) {
    .language-option {
        background: linear-gradient(135deg,
            rgba(30, 41, 59, 0.9) 0%,
            rgba(15, 23, 42, 0.9) 100%);
    }

    .language-option.active {
        background: linear-gradient(135deg,
            rgba(79, 70, 229, 0.2) 0%,
            rgba(67, 56, 202, 0.15) 100%);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .language-option,
    .active-indicator {
        transition: none;
        animation: none;
    }

    .language-option::before {
        display: none;
    }

    .language-option:hover {
        transform: none;
    }

    .active-indicator::before {
        display: none;
    }
}

/* Perfect vertical alignment for all items */
.language-option > * {
    display: flex;
    align-items: center;
}

/* Ensure perfect spacing */
.language-option {
    min-height: 60px;
}

/* Smooth transition for all interactive elements */
.language-option,
.language-option::before,
.active-indicator,
.active-indicator i {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}