/* wwwroot/css/registro.css */

/* Estilo del checkbox */
input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin: 5px;
    transform: scale(1.5);
    margin-right: 10px;
    cursor: pointer;
}

/* Estilo personalizado para checkbox */
.custom-checkbox {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    user-select: none;
}

    .custom-checkbox input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    .custom-checkbox .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 20px;
        width: 20px;
        background-color: #ccc;
    }

    .custom-checkbox input:checked ~ .checkmark {
        background-color: #2196F3;
    }

    .custom-checkbox .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    .custom-checkbox input:checked ~ .checkmark:after {
        display: block;
    }

    .custom-checkbox .checkmark:after {
        left: 7px;
        top: 3px;
        width: 6px;
        height: 10px;
        border: solid white;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
    }

/* Centrado de contenedor del checkbox */
.container.row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}
