/* Lebegő wrapper — fix pozícióban a jobb felső sarokban. A user később
   Elementor Shortcode widgettel a sajat helyére teheti, akkor a body
   `kfml-floating-switcher` element kikapcsolható az
   `kfml_floating_switcher='off'` WP option-nel. */
.kfml-floating-switcher {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 99990;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    padding: 4px;
}

@media (max-width: 768px) {
    .kfml-floating-switcher {
        top: 8px;
        right: 8px;
        padding: 2px;
    }
}

.kfml-switcher {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 0;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 6px;
    overflow: hidden;
    font-size: .85em;
    line-height: 1;
    vertical-align: middle;
}

.kfml-switcher li {
    margin: 0;
    padding: 0;
}

.kfml-switcher li + li {
    border-left: 1px solid rgba(0, 0, 0, .08);
}

.kfml-switcher a {
    display: block;
    padding: .35em .7em;
    text-decoration: none;
    color: inherit;
    transition: background .12s, color .12s;
    font-weight: 600;
    letter-spacing: .03em;
}

.kfml-switcher a:hover,
.kfml-switcher a:focus {
    background: rgba(243, 146, 0, .08);
    color: #F39200;
    text-decoration: none;
}

.kfml-active a,
.kfml-active a:hover {
    background: #F39200;
    color: #fff;
    cursor: default;
    pointer-events: none;
}

@media (prefers-color-scheme: dark) {
    .kfml-switcher {
        border-color: rgba(255, 255, 255, .15);
    }
    .kfml-switcher li + li {
        border-left-color: rgba(255, 255, 255, .1);
    }
}
