/*
 * Hijrahfood Lead Form — styling disalin dari landing /cs (cs.html),
 * di-scope di bawah .hf-lead-wrap supaya tidak bentrok dengan theme Avada.
 */

.hf-lead-wrap {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
    max-width: 100%;
}

/* ===== Form ===== */
.hf-lead-form .hf-form-group {
    margin-bottom: 16px;
}
.hf-lead-form .hf-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 480px) {
    .hf-lead-form .hf-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
.hf-lead-form .hf-form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}
.hf-lead-form .hf-form-label span {
    color: #ef4444;
}
.hf-lead-form .hf-form-input,
.hf-lead-form .hf-form-textarea,
.hf-lead-form .hf-form-select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
    height: auto;
    min-height: 0;
}
.hf-lead-form .hf-form-select {
    cursor: pointer;
    appearance: auto;
}
.hf-lead-form .hf-form-input::placeholder,
.hf-lead-form .hf-form-textarea::placeholder {
    color: #94a3b8;
}
.hf-lead-form .hf-form-input:focus,
.hf-lead-form .hf-form-textarea:focus,
.hf-lead-form .hf-form-select:focus {
    border-color: #004c4c;
    box-shadow: 0 0 0 3px rgba(0, 76, 76, 0.1);
}
.hf-lead-form .hf-form-textarea {
    min-height: 100px;
    resize: vertical;
}
.hf-lead-form .hf-form-submit {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 14px 18px;
    background: #004c4c;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 12px;
    box-shadow: none;
    text-transform: none;
    letter-spacing: normal;
}
.hf-lead-form .hf-form-submit:hover {
    background: #003d3d;
}
.hf-lead-form .hf-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== Honeypot ===== */
.hf-lead-wrap .hf-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* ===== State sukses ===== */
.hf-lead-wrap .hf-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
}
.hf-lead-wrap .hf-success.active {
    display: flex;
}
.hf-lead-wrap .hf-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #f0fdfa;
    border: 2px solid #004c4c;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hf-lead-wrap .hf-success-icon svg {
    width: 28px;
    height: 28px;
    color: #004c4c;
}
.hf-lead-wrap .hf-success-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
}
.hf-lead-wrap .hf-success-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 28px;
}
.hf-lead-wrap .hf-wa-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 99px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #166534;
    text-decoration: none;
}
.hf-lead-wrap .hf-wa-box:hover {
    text-decoration: none;
    color: #14532d;
}
.hf-lead-wrap .hf-wa-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: currentColor;
}
.hf-lead-wrap .hf-success-redirect {
    margin-top: 14px;
    font-size: 13px;
    color: #64748b;
}
.hf-lead-wrap .hf-success-redirect .hf-countdown {
    font-weight: 700;
    color: #004c4c;
}
