/* Lead form — [tmphcm_lead_form]. Matches the quote tool's card styling. */

.tmtphcm-lead {
    --tmtphcm-l-accent: #ff6600;
    --tmtphcm-l-green: #16a34a;
    max-width: 560px;
    margin: 0 auto;
}

.tmtphcm-lead__form {
    padding: 20px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.tmtphcm-lead__row {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
}

.tmtphcm-lead__row label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}

.tmtphcm-lead__row label span {
    color: #e11d48;
}

.tmtphcm-lead__row input,
.tmtphcm-lead__row select,
.tmtphcm-lead__row textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    font-size: 15px;
    color: #222;
    background: #fff;
    box-shadow: none;
    line-height: 1.4;
}

.tmtphcm-lead__row textarea {
    resize: vertical;
}

/* Flatsome forces a short select height + 22.5px line-height and strips the
   native arrow — same fix as the quote tool: pin height, tame line-height,
   restore a caret, kill the inset shadow. */
.tmtphcm-lead__row select {
    height: 48px;
    padding: 0 40px 0 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}

.tmtphcm-lead__filehint {
    margin: 6px 0 0;
    font-size: 13px;
    color: #777;
}

.tmtphcm-lead__filehint.is-error {
    color: #e11d48;
}

/* honeypot — visually + a11y hidden, still submittable by bots */
.tmtphcm-lead__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.tmtphcm-lead__submit {
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--tmtphcm-l-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.tmtphcm-lead__submit:hover { filter: brightness(1.05); }
.tmtphcm-lead__submit:active { opacity: .9; }

.tmtphcm-lead__notice {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.tmtphcm-lead__notice--ok {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.tmtphcm-lead__notice--err {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
