/**
 * TCA Consent Field — Front-end Styles
 */

/* Wrapper */
.ginput_container_tca_consent {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Disclaimer text box — top, fully bordered */
.tca-consent-text-box {
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 14px 16px;
    background-color: #fff;
    font-size: 13px;
    color: #444;
    line-height: 1.75;
}

.tca-consent-text-box a {
    color: #0073aa;
    text-decoration: underline;
}

.tca-consent-text-box a:hover {
    color: #005177;
}

/* Checkbox row — directly below text box */
.tca-consent-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 4px 0 4px;
}

.tca-consent-checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.tca-consent-checkbox-label {
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.5;
    margin: 0;
}

/* Required asterisk */
.tca-consent-checkbox-label .gfield_required {
    color: #cc0000;
    margin-left: 2px;
}

/* Validation error state */
.gfield_error .tca-consent-text-box {
    border-color: #cc0000;
}