/* BeatLatin — Toggle de tema en topbar */

.bl-topbar-theme,
.bl-theme-toggle-host {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
}

.bl-theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: var(--bl-icon-muted, rgba(255, 255, 255, 0.68));
    background: transparent !important;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: none;
}

.bl-theme-toggle:hover,
.bl-theme-toggle:focus,
.bl-theme-toggle:focus-visible,
.bl-theme-toggle:active {
    color: var(--bl-icon-muted, rgba(255, 255, 255, 0.68)) !important;
    background: transparent !important;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.bl-theme-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.22) !important;
    outline-offset: 2px;
}

[data-theme="light"] .bl-theme-toggle:focus-visible {
    outline-color: rgba(0, 0, 0, 0.18) !important;
}

.bl-theme-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 15px;
    line-height: 1;
}

@media (max-width: 1024px) {
    .bl-topbar-theme,
    .bl-theme-toggle-host,
    .bl-theme-toggle {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }
}
