/* ==========================================================================
   Language Switcher Styles (Plugin-Free Bilingual System)
   ========================================================================== */

/* --- Fixed Sidebar Switcher (right side of page) --- */
.accu-lang-switcher {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.12);
}

.accu-lang-switcher .accu-lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #ffffff;
    color: #333333;
    text-decoration: none !important;
    font-size: 20px;
    line-height: 1;
    transition: all 0.25s ease;
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.accu-lang-switcher .accu-lang-btn:last-child {
    border-bottom: none;
}

.accu-lang-switcher .accu-lang-btn:hover {
    background: #f5f9f6;
}

.accu-lang-switcher .accu-lang-btn.active {
    background: #a7b3ab;
    pointer-events: none;
}

.accu-lang-switcher .accu-lang-flag {
    font-size: 20px;
    line-height: 1;
}

/* --- Inline Switcher (for header/nav/content) --- */
.accu-lang-switcher-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.accu-lang-switcher-inline .accu-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none !important;
    color: #555555;
    transition: all 0.25s ease;
}

.accu-lang-switcher-inline .accu-lang-btn:hover {
    background: #f0f0f0;
    color: #333333;
}

.accu-lang-switcher-inline .accu-lang-btn.active {
    background: #a7b3ab;
    color: #ffffff;
    pointer-events: none;
}

.accu-lang-switcher-inline .accu-lang-flag {
    font-size: 16px;
    line-height: 1;
}

/* --- Responsive --- */
@media only screen and (max-width: 767px) {
    .accu-lang-switcher {
        top: auto;
        bottom: 20px;
        right: 15px;
        transform: none;
        flex-direction: row;
        border-radius: 8px;
    }

    .accu-lang-switcher .accu-lang-btn {
        width: 42px;
        height: 42px;
        border-bottom: none;
        border-right: 1px solid #f0f0f0;
    }

    .accu-lang-switcher .accu-lang-btn:last-child {
        border-right: none;
    }
}

@media only screen and (max-width: 480px) {
    .accu-lang-switcher .accu-lang-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .accu-lang-switcher .accu-lang-flag {
        font-size: 18px;
    }
}
