
/* ==========================================================
   BILINGUAL LANGUAGE SWITCH
   Sample Size & Power
   Project by Rico Kurniawan
   ========================================================== */

#ssp-language-switch {
    position: fixed;
    top: 72px;
    right: 22px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 4px;

    background: rgba(255,255,255,0.96);
    border: 1px solid #e5e1ee;
    border-radius: 999px;
    padding: 4px;

    box-shadow:
      0 4px 18px rgba(30,20,50,0.09);

    backdrop-filter: blur(8px);
}

#ssp-language-switch .lang-title {
    font-size: 10px;
    font-weight: 700;
    color: #81798e;
    padding-left: 7px;
    padding-right: 3px;
    letter-spacing: .03em;
}

#ssp-language-switch button {
    border: 0;
    background: transparent;
    border-radius: 999px;

    min-width: 39px;
    height: 30px;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    color: #756c82;

    transition:
      background .15s ease,
      color .15s ease,
      box-shadow .15s ease;
}

#ssp-language-switch button.active {
    background: #6047a6;
    color: #ffffff;

    box-shadow:
      0 2px 8px rgba(80,55,145,0.20);
}

#ssp-language-switch button:hover {
    opacity: .92;
}

.ssp-language-note {
    font-size: 11px;
    color: #81798e;
    line-height: 1.5;
}

@media (max-width: 768px) {

    #ssp-language-switch {
        top: auto;
        bottom: 18px;
        right: 14px;
    }

    #ssp-language-switch .lang-title {
        display: none;
    }
}

