/* =========================
ER RANCH MANUAL JSON TRANSLATE
2 Assets Only:
- /assets/css/er-translate.css
- /assets/js/er-translate.js
========================= */

.er-lang-widget {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 2147483647;

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

    padding: 7px;

    background: rgba(6, 5, 10, 0.88);
    border: 1px solid rgba(201, 168, 76, 0.45);

    box-shadow:
        0 12px 38px rgba(0,0,0,0.48),
        0 0 20px rgba(201,168,76,0.16);

    backdrop-filter: blur(10px);
}

.er-lang-btn {
    width: 34px;
    height: 34px;

    border: 1px solid rgba(201, 168, 76, 0.35);
    background: rgba(255,255,255,0.05);

    color: #F5E4B0;

    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    line-height: 1;

    transition: all 0.22s ease;
}

.er-lang-btn:hover,
.er-lang-btn.active {
    background:
        linear-gradient(
            115deg,
            #FFE9A0,
            #C9A84C,
            #7A6128
        );

    border-color: #E8CB7A;
    color: #06050A;

    transform: translateY(-2px);
}

.er-lang-btn span {
    pointer-events: none;
}

html[data-lang="es"] .er-lang-btn[data-lang="es"],
html[data-lang="en"] .er-lang-btn[data-lang="en"] {
    background:
        linear-gradient(
            115deg,
            #FFE9A0,
            #C9A84C,
            #7A6128
        );

    border-color: #E8CB7A;
    color: #06050A;
}

/* Mobile */
@media (max-width: 575px) {
    .er-lang-widget {
        left: 12px;
        bottom: 12px;
        padding: 6px;
    }

    .er-lang-btn {
        width: 32px;
        height: 32px;
        font-size: 17px;
    }
}
