/**
 * CSS File for ezMark jQuery Plugin
 *
 **/
/* Скрываем стандартный чекбокс */
.ez-hide {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

/* Стилизация кастомного чекбокса */
.ez-checkbox {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #A7A7A7;
    border-radius: 3px;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    margin-right: 7px;
    min-width: 18px;
}

    /* Ховер-эффект */
    .ez-checkbox:hover {
        border-color: #393939;
    }

/* Активный (выбранный) чекбокс */
.ez-checked {
    border-color: #DA2128;
}

    /* Галочка для активного чекбокса */
    .ez-checked::after {
        content: "";
        position: absolute;
        left: 3px;
        top: 3px;
        width: 8px;
        height: 6px;
        border-left: 2px solid #DA2128;
        border-bottom: 2px solid #DA2128;
        transform: rotate(-45deg);
    }

/* Заблокированный чекбокс (disabled) */
.ez-disabled {
    background-color: #A7A7A7;
    border: none;
    cursor: not-allowed;
}

    /* Заблокированный активный чекбокс */
    .ez-disabled.ez-checked {
        background-color: #A7A7A7;
        border-radius: 3px;
    }

        /* Галочка для заблокированного активного чекбокса */
        .ez-disabled.ez-checked::after {
            content: "";
            position: absolute;
            left: 6px;
            top: 3px;
            width: 8px;
            height: 5px;
            border-left: 2px solid #fff;
            border-bottom: 2px solid #fff;
            transform: rotate(-45deg);
        }

/* Чекбокс с ошибкой */
.ez-checkbox.ez-error {
    border: 1px solid #DA2128;
    background-color: #FFD1D5;
}

    /* Чекбокс с ошибкой (если он выбран) */
    .ez-checkbox.ez-error.ez-checked {
        border: 1px solid #DA2128;
        background-color: #FFD1D5;
    }

        /* Галочка для чекбокса с ошибкой */
        .ez-checkbox.ez-error.ez-checked::after {
            content: "";
            position: absolute;
            left: 6px;
            top: 3px;
            width: 8px;
            height: 5px;
            border-left: 2px solid #DA2128;
            border-bottom: 2px solid #DA2128;
            transform: rotate(-45deg);
        }

