/* ========================================
   FORM SPACING UPGRADE
======================================== */

.mhef-form {
    max-width: 700px;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.mhef-step {
    margin-bottom: 30px;
}

.mhef-step h3 {
    margin-bottom: 18px;
    font-size: 22px;
    line-height: 1.4;
    color: #111;
}

/* ========================================
   INPUT SPACING
======================================== */

.mhef-form input,
.mhef-form select,
.mhef-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    font-size: 15px;
    background: #fafafa;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.mhef-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* ========================================
   FOCUS STATES
======================================== */

.mhef-form input:focus,
.mhef-form select:focus,
.mhef-form textarea:focus {
    border-color: #1c8b8b;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(28,139,139,0.15);
}

/* ========================================
   BUTTONS (TEAL BRANDING)
======================================== */

.mhef-form button,
.mhef-next,
.mhef-back {
    padding: 14px 22px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Primary Buttons */

.mhef-next,
.mhef-form button[type="submit"] {
    background: #1c8b8b;
    color: #fff;
}

.mhef-next:hover,
.mhef-form button[type="submit"]:hover {
    background: #176d6d;
    transform: translateY(-1px);
}

/* Back Button */

.mhef-back {
    background: #f1f1f1;
    color: #333;
}

.mhef-back:hover {
    background: #dddddd;
}

/* ========================================
   NAVIGATION BUTTON LAYOUT
======================================== */

.mhef-nav {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

/* ========================================
   PROGRESS BAR
======================================== */

.mhef-progress {
    width: 100%;
    height: 8px;
    background: #e8e8e8;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 35px;
}

.mhef-progress-bar {
    height: 100%;
    width: 33%;
    background: #1c8b8b;
    transition: width 0.3s ease;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

    .mhef-form {
        padding: 25px;
        margin: 30px 15px;
    }

    .mhef-nav {
        flex-direction: column;
    }

    .mhef-next,
    .mhef-back,
    .mhef-form button[type="submit"] {
        width: 100%;
    }
}