/* =====================================================
   MHB Auth – Login / Register
   ===================================================== */
.mhb-auth-wrap {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 16px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.mhb-auth-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
}

.mhb-auth-header {
    background: linear-gradient(135deg, #148992 0%, #0d6b71 100%);
    padding: 36px 40px 28px;
    text-align: center;
}
.mhb-auth-header h2 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}
.mhb-auth-header p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.78);
}

.mhb-auth-form {
    padding: 32px 40px 28px;
}

.mhb-auth-error {
    margin: 0 40px 16px;
    padding: 11px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    font-size: 13px;
    color: #ef4444;
}

.mhb-field {
    margin-bottom: 16px;
}
.mhb-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
    margin-bottom: 6px;
}
.mhb-field label small {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #999;
    font-size: 11px;
}
.mhb-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 7px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit;
}
.mhb-field input:focus {
    outline: none;
    border-color: #148992;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(20,137,146,0.12);
}

.mhb-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mhb-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
    cursor: pointer;
}
.mhb-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #148992;
    cursor: pointer;
}

.mhb-auth-btn {
    width: 100%;
    padding: 13px;
    background: #148992;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.2px;
    transition: background 0.2s, transform 0.15s;
}
.mhb-auth-btn:hover {
    background: #0f6b71;
    transform: translateY(-1px);
}
.mhb-auth-btn:active { transform: none; }

.mhb-auth-switch {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin: 14px 40px 0;
    padding-bottom: 28px;
}
.mhb-auth-switch a {
    color: #148992;
    text-decoration: none;
    font-weight: 600;
}
.mhb-auth-switch a:hover { text-decoration: underline; }

@media (max-width: 500px) {
    .mhb-auth-form { padding: 24px 24px 20px; }
    .mhb-auth-header { padding: 28px 24px 22px; }
    .mhb-auth-error { margin: 0 24px 14px; }
    .mhb-auth-switch { margin: 12px 24px 0; padding-bottom: 20px; }
    .mhb-field-row { grid-template-columns: 1fr; }
}
