/**
 * Pluglio GF Custom Date - Frontend Styles
 * Version: 1.0.3
 */

/* Ensure date picker inputs are enabled and clickable */
.gform_wrapper .ginput_container_date input[type="text"],
.gform_wrapper .ginput_container_date input.datepicker,
.gform_wrapper .ginput_container_date input.hasDatepicker {
    opacity: 1 !important;
    cursor: text !important;
    background-color: #fff !important;
    pointer-events: auto !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    user-select: text !important;
}

/* Fix checkbox appearance in forms */
.gform_wrapper input[type="checkbox"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    margin-right: 8px !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    vertical-align: middle !important;
    position: relative !important;
    transform: none !important;
    background-color: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.gform_wrapper input[type="checkbox"]:checked {
    background-color: #000 !important;
    border-color: #000 !important;
}

.gform_wrapper input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Ensure checkbox labels are clickable */
.gform_wrapper .gfield_checkbox label,
.gform_wrapper .gfield_radio label {
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
}