.form-field-error,
.form-field-message,
.error {
    font-family: inherit;
    font-size: 12px;
    color: #c62828;
    display: block;
    margin-top: 6px;
    line-height: 1.4;
}

.success-message {
    color: #0f8a4f;
    font-size: 12px;
}

.otp-control-wrap,
.otp-inline-group {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.otp-control-wrap .form-input,
.otp-inline-group .form-input {
    flex: 1 1 auto;
    min-width: 0;
}

.otp-input-shell {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.otp-input-shell .form-input {
    width: 100%;
    padding-right: 44px;
}

.otp-eye-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--page-text);
    font-size: 18px;
    padding: 0;
    line-height: 1;
}

.otp-action-btn {
    white-space: nowrap;
    flex: 0 0 auto;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 0.78rem;
    line-height: 1.2;
}

.otp-resend-timer {
    flex: 0 0 auto;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 108px;
    padding: 0 12px;
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--page-text);
    background: var(--page-bg);
    border: 1px solid rgba(var(--ink), .15);
    border-radius: 8px;
}

.otp-toggle-btn {
    min-width: 76px;
}

.otp-inline-group .otp-toggle-btn {
    flex: 0 0 auto;
}

.form-input.is-invalid {
    border-color: #c62828 !important;
    background-color: #fff8f8;
    box-shadow: 0 0 0 1px rgba(198, 40, 40, 0.2);
}

.form-input.is-invalid:focus {
    border-color: #c62828 !important;
    box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.15);
}

.hidden {
    display: none !important;
}

/* ==========================================================
   Product hero lead form
========================================================== */

.product-lead-form {
    overflow: hidden;
}

.product-lead-form #leadForm.form-grid {
    gap: 1rem;
}

.product-lead-form .form-label-text {
    color: var(--orange-deep, #AE1B01);
}

.product-lead-form .otp-control-wrap,
.product-lead-form .otp-inline-group {
    width: 100%;
}

.product-lead-form .form-submit {
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(var(--ink), 0.08);
}

.product-lead-form .form-submit > .btn {
    width: 100%;
    border-radius: 12px;
}

.product-lead-form .form-note a {
    color: var(--page-text);
    font-weight: 600;
    text-decoration: underline;
}

.product-lead-form .accept-box-input {
    width: 18px;
    height: 18px;
    accent-color: var(--orange, #f58220);
    cursor: pointer;
}

@media (max-width: 575.98px) {
    .product-lead-form .otp-control-wrap,
    .product-lead-form .otp-inline-group {
        flex-direction: column;
    }

    .product-lead-form .otp-action-btn,
    .product-lead-form .otp-resend-timer {
        width: 100%;
    }
}
