/**
 * "Same as installation address" checkbox – checkout autofill
 * Matches FunnelKit's native checkbox style (16×16, grey border, tick)
 */

.plw-autofill-wrapper {
    margin: 12px 0 20px !important;
}

.plw-autofill-wrapper .plw-autofill-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    cursor: pointer !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    margin: 0 !important;
    user-select: none !important;
    position: relative !important;
}

/* Hide the custom check span — using native checkbox instead */
.plw-autofill-wrapper .plw-autofill-check {
    display: none !important;
}

/* Native checkbox — styled to match FunnelKit */
.plw-autofill-wrapper .plw-autofill-checkbox {
    display: inline-block !important;
    position: relative !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    border: 1px solid #b4b9be !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
}

.plw-autofill-wrapper .plw-autofill-checkbox:checked {
    background: #ffffff !important;
    border-color: #333333 !important;
}

.plw-autofill-wrapper .plw-autofill-checkbox:checked::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    margin: auto !important;
    margin-top: 0px !important;
    width: 5px !important;
    height: 9px !important;
    border: solid #333333 !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

/* Text */
.plw-autofill-wrapper .plw-autofill-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    line-height: 1.4 !important;
    padding: 0 !important;
}

.plw-autofill-wrapper .plw-autofill-address {
    display: block !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #888888 !important;
}
