/* ============================================================
   TIMDARA SOLVISTA — language.css
   Brand palette applied throughout
   ============================================================ */

/* ── Language Switcher ──────────────────────────────────────── */
.language-switcher {
    position: relative;
    display: none;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 15px;
    background: transparent;
    border: none;
    color: #E8540A;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 600;
}

.language-btn:hover {
    background: none;
    color: #FF6B1A;
}

.language-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-btn.active i {
    transform: rotate(180deg);
}

/* ── Language Dropdown ──────────────────────────────────────── */
.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: white;
    min-width: 120px;
    box-shadow: 0 5px 15px rgba(13, 31, 60, 0.12);
    border-radius: 5px;
    border-top: 3px solid #E8540A;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4A3F35;
}

.language-option:hover {
    background: rgba(232, 84, 10, 0.07);
    color: #E8540A;
}

.language-option.active {
    background: #0D1F3C;
    color: white;
}

.language-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

/* ── Mobile Language Switcher ───────────────────────────────── */
.mobile-language-switcher {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.mobile-language-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(232, 84, 10, 0.12);
    border: 1px solid rgba(232, 84, 10, 0.3);
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-language-btn:hover,
.mobile-language-btn.active {
    background: rgba(232, 84, 10, 0.25);
    border-color: #E8540A;
}