/* ============================================================
   Custom Form Handler – Front-end Styles
   ============================================================ */

/* Honeypot: completely hide from real users */
.cfh-hp-wrap {
    position: absolute !important;
    left:     -9999px  !important;
    top:      -9999px  !important;
    opacity:  0        !important;
    height:   0        !important;
    overflow: hidden   !important;
    pointer-events: none !important;
}

/* Form wrapper */
.cfh-form-wrap {
    max-width:100%;
    margin:    0 auto;
    font-family: inherit;
}


/* Spinner */
.cfh-btn-loader {
    display:       none;
    width:         16px;
    height:        16px;
    border:        2px solid rgba(255,255,255,0.4);
    border-top:    2px solid #fff;
    border-radius: 50%;
    animation:     cfh-spin 0.7s linear infinite;
}

.cfh-loading .cfh-btn-loader {
    display: inline-block;
}

@keyframes cfh-spin {
    to { transform: rotate(360deg); }
}

/* Response messages */
.cfh-response {
    margin-top:    14px;
    padding:       10px 14px;
    border-radius: 6px;
    font-size:     0.9rem;
    font-weight:   500;
    display:       none;
}

.cfh-response:not(:empty) {
    display: block;
}

.cfh-response.cfh-success {
    background: #ebfbee;
    color:      #2b8a3e;
    border:     1px solid #b2f2bb;
}

.cfh-response.cfh-error {
    background: #fff5f5;
    color:      #c92a2a;
    border:     1px solid #ffc9c9;
}
