/* ============================================================
   stepper-form-styles.css  (2-step version)
   ============================================================ */

/* -- Form steps visibility ------------------------------- */
.hvd-form-step          { display: none !important; }
.hvd-form-step.active   { display: flex !important; flex-direction: column; gap: 12px; }

/* -- Stepper dots (2 steps) ------------------------------ */
/*.hvd-stepper {
    display: flex !important;
    align-items: center;
    margin: 16px 0 24px;
}*/
/*.hvd-stepper .hvd-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #888;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background .3s, color .3s;
    flex-shrink: 0;
}*/
/* Connector line between the two dots */
/*.hvd-stepper .hvd-step::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 3px;
    background: #e0e0e0;
    transition: background .3s;
}*/
.hvd-stepper .hvd-step:last-child::after { display: none; }

/*.hvd-stepper .hvd-step.active    { background: #0057ff; color: #fff; }*/
/*.hvd-stepper .hvd-step.completed { background: #00b67a; color: #fff; }
.hvd-stepper .hvd-step.completed::after { background: #00b67a; }*/

/* -- Inputs & select base -------------------------------- */
/*.hvd-form-step input,
.hvd-form-step select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d0d0d0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    background: #fff;
    box-sizing: border-box;
    font-family: inherit;
}
.hvd-form-step input:focus,
.hvd-form-step select:focus {
    border-color: #0057ff;
    box-shadow: 0 0 0 3px rgba(0,87,255,.12);
}*/

/* -- Validation: error state ----------------------------- */
.hvd-form-step input.hvd-input-error,
.hvd-form-step select.hvd-input-error {
    border-color: #e53935;
    box-shadow: 0 0 0 3px rgba(229,57,53,.10);
}
.hvd-field-error {
    display: block;
    margin-top: -6px;   /* tuck closer under the field */
    color: #e53935;
    font-size: 12.5px;
    font-weight: 500;
    animation: fadeIn .2s ease;
}

/* -- Buttons row ----------------------------------------- */
.hvd-form-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

/* -- Status message -------------------------------------- */
.hvd-form-status {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}
.hvd-form-status:not(:empty)  { display: block; }
.hvd-form-status.error        { background: #fdecea; color: #c62828; border: 1px solid #e57373; }
.hvd-form-status.success      { background: #e8f5e9; color: #2e7d32; border: 1px solid #81c784; }

/* -- Submit button: disabled ----------------------------- */
#submitBtn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* -- Success screen -------------------------------------- */
.hvd-stepper-success {
    text-align: center;
    padding: 32px 16px;
    animation: fadeIn .5s ease;
}
.hvd-stepper-success h4 {
    font-size: 22px;
    font-weight: 700;
    margin: 16px 0 8px;
    color: #1a1a2e;
}
.hvd-stepper-success p {
    font-size: 15px;
    color: #555;
}

/* -- Animated checkmark ---------------------------------- */
.hvd-success-icon {
    width: 64px;
    height: 64px;
    display: block;
    margin: 0 auto;
}
.hvd-success-icon circle {
    stroke: #00b67a;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke .6s cubic-bezier(.65,0,.45,1) forwards;
}
.hvd-success-icon path {
    stroke: #00b67a;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke .4s .6s cubic-bezier(.65,0,.45,1) forwards;
}

/* -- Keyframes ------------------------------------------- */
@keyframes stroke {
    to { stroke-dashoffset: 0; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0);   }
}