/* Checkbox Component */
.checkbox-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.checkbox-label {
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
    color: #46494F;
    text-align: right;
}

/* Custom Checkbox */
.checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    position: relative;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #DADADA;
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

/* Checkmark */
.checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 50%;
    top: 45%;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Checked State */
.checkbox-input:checked+.checkbox-custom {
    background-color: #2020B3;
    border-color: #2020B3;
}

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

/* Hover State */
.checkbox-container:hover .checkbox-custom {
    border-color: #2020B3;
}

/* Focus State */
.checkbox-input:focus+.checkbox-custom {
    outline: 2px solid rgba(32, 32, 179, 0.3);
    outline-offset: 2px;
}

/* Disabled State */
.checkbox-input:disabled+.checkbox-custom {
    background-color: #f5f5f5;
    border-color: #E8E8E8;
    cursor: not-allowed;
}

.checkbox-input:disabled~.checkbox-label {
    color: #999;
    cursor: not-allowed;
}
