/* Decibelio — checkboxes (tema oscuro) */

input[type='checkbox'] {
    display: inline-block;
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    cursor: pointer;
    appearance: none;
    border-radius: 0.3125rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background-color: rgba(35, 35, 35, 0.9);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    vertical-align: middle;
    background-image: none;
}

input[type='checkbox']:checked {
    border-color: #e50914;
    background-color: #e50914;
    box-shadow: 0 0 14px rgba(229, 9, 20, 0.38);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2.5-2.5a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");
    background-size: 0.8125rem;
    background-position: center;
    background-repeat: no-repeat;
}

input[type='checkbox']:hover:not(:disabled):not(:checked) {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: #2f2f2f;
}

input[type='checkbox']:focus {
    outline: none;
}

input[type='checkbox']:focus-visible {
    outline: 2px solid rgba(229, 9, 20, 0.5);
    outline-offset: 2px;
}

input[type='checkbox']:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.nf-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    cursor: pointer;
}

.nf-checkbox-label > input[type='checkbox'] {
    margin-top: 0.125rem;
}

.nf-checkbox-label__text {
    font-size: 0.875rem;
    line-height: 1.625;
    color: #b3b3b3;
}

.nf-checkbox-label--inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nf-checkbox-label--inline > input[type='checkbox'] {
    margin-top: 0;
}
