/* ============================================================
   KLYVERO PUBLIC THEME CONTROL
   KLYVERO_PUBLIC_THEME_CONTROL_V852
   ============================================================ */

.klyvero-public-theme-control {
    display: inline-flex;
    align-items: center;

    gap: 6px;
}

.klyvero-public-theme-toggle,
.klyvero-theme-auto {
    font: inherit;
}

.klyvero-public-theme-toggle {
    min-height: 36px;

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

    gap: 7px;

    padding:
        0
        10px;

    border:
        1px solid
        var(
            --line,
            #e2e8f0
        );

    border-radius:
        8px;

    background:
        rgba(
            255,
            255,
            255,
            0.72
        );

    color:
        var(
            --muted-dark,
            #475569
        );

    cursor: pointer;

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

    line-height: 1;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}

.klyvero-public-theme-toggle:hover {
    transform:
        translateY(-1px);
}

.klyvero-theme-icon {
    min-width: 14px;

    font-size: 13px;

    text-align: center;
}

.klyvero-theme-auto {
    min-height: 30px;

    padding:
        0
        8px;

    border:
        1px solid
        var(
            --line,
            #e2e8f0
        );

    border-radius:
        7px;

    background:
        transparent;

    color:
        var(
            --muted,
            #64748b
        );

    cursor: pointer;

    font-size: 9px;
    font-weight: 700;
}

.klyvero-public-theme-toggle:focus-visible,
.klyvero-theme-auto:focus-visible {
    outline:
        3px solid
        rgba(
            59,
            130,
            246,
            0.22
        );

    outline-offset:
        2px;
}


:root[data-theme="dark"]
.klyvero-public-theme-toggle,
:root[data-theme="dark"]
.klyvero-theme-auto {
    border-color:
        #353b46;

    background:
        #1b1f27;

    color:
        #d2d6df;
}

:root[data-theme="dark"]
.klyvero-public-theme-toggle:hover,
:root[data-theme="dark"]
.klyvero-theme-auto:hover {
    border-color:
        #464d59;

    background:
        #232832;

    color:
        #ffffff;
}


@media (
    max-width: 700px
) {

    .klyvero-theme-label {
        display: none;
    }

    .klyvero-public-theme-toggle {
        width: 36px;

        padding: 0;
    }

}
