/* Modern Toggle Switch for checkboxes */
input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 48px !important;
    height: 24px !important;
    background-color: #e4e4e7 !important;
    border-radius: 100px !important;
    position: relative !important;
    cursor: pointer !important;
    transition: background-color 0.3s !important;
    border: none !important;
    padding: 0 !important;
    margin: 8px 0 !important;
    vertical-align: middle !important;
    outline: none !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1) !important;
}

input[type="checkbox"]::before {
    content: none !important;
}

input[type="checkbox"]::after {
    content: "" !important;
    position: absolute !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    top: 3px !important;
    left: 3px !important;
    background-color: white !important;
    transition: transform 0.3s !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

input[type="checkbox"]:checked {
    background-color: #1890ff !important;
}

input[type="checkbox"]:checked::after {
    transform: translateX(24px) !important;
}

/* Disabled state */
input[type="checkbox"]:disabled {
    background-color: #f5f5f5 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}
input[type="checkbox"]:disabled::after {
    box-shadow: none !important;
}

