.hab-wrapper {
    --hab-teal: #700800;
    --hab-teal-dark: #4d0500;
    --hab-blue-dark: #3a0400;
    --hab-blue-light: #fbe9e7;
    --hab-green-light: #fdeeec;
    --hab-red-light: #fdecec;
    --hab-border: #e6d6d3;
    display: block;
}

.hab-page {
    max-width: 1200px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    font-family: -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
    color: #2b1614;
    align-items: stretch;
}

@media (max-width: 900px) {
    .hab-page { grid-template-columns: 1fr; }
}

/* ---------- HERO (left) ---------- */
.hab-hero {
    padding: 24px;
    background: linear-gradient(180deg, #fff 0%, var(--hab-blue-light) 100%);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
}

.hab-hero .hab-stats {
    margin-top: auto;
}

.hab-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.hab-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hab-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--hab-green-light);
    color: var(--hab-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
}
.hab-logo-icon svg { width: 100%; height: 100%; }

.hab-logo-name {
    font-weight: 800;
    font-size: 18px;
    color: var(--hab-blue-dark);
    line-height: 1.2;
}
.hab-logo-tagline {
    font-size: 12px;
    color: #64748b;
}

.hab-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--hab-teal-dark);
    background: var(--hab-green-light);
    padding: 6px 12px;
    border-radius: 20px;
}
.hab-badge span { width: 16px; height: 16px; display: inline-flex; }
.hab-badge svg { width: 100%; height: 100%; }

.hab-headline {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--hab-blue-dark);
    margin: 0 0 10px;
}

.hab-subheadline {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 24px;
}

.hab-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 26px;
}

.hab-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background: #fff;
    border: 1px solid var(--hab-border);
    padding: 12px;
    border-radius: 10px;
}

.hab-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    flex-shrink: 0;
}
.hab-feature-icon svg { width: 100%; height: 100%; }
.hab-feature-icon.hab-blue { background: var(--hab-blue-light); color: var(--hab-teal); }
.hab-feature-icon.hab-green { background: var(--hab-green-light); color: var(--hab-teal-dark); }
.hab-feature-icon.hab-red { background: var(--hab-red-light); color: var(--hab-teal); }

.hab-quote {
    position: relative;
    background: linear-gradient(135deg, var(--hab-teal), var(--hab-teal-dark));
    color: #fff;
    padding: 22px 22px 20px;
    border-radius: 14px;
    max-width: 320px;
    margin-bottom: 26px;
}
.hab-quote-mark {
    font-size: 38px;
    line-height: 1;
    font-family: Georgia, serif;
    opacity: 0.6;
}
.hab-quote p {
    margin: 6px 0 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.hab-stats {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.hab-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hab-stat-icon {
    width: 26px;
    height: 26px;
    color: var(--hab-teal);
    flex-shrink: 0;
}
.hab-stat-icon svg { width: 100%; height: 100%; }
.hab-stat strong {
    display: block;
    font-size: 16px;
    color: var(--hab-blue-dark);
}
.hab-stat span {
    font-size: 12px;
    color: #64748b;
}

/* ---------- CARD (right) ---------- */
.hab-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    padding: 28px;
}

.hab-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}
.hab-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--hab-blue-light);
    color: var(--hab-teal);
    padding: 10px;
    flex-shrink: 0;
}
.hab-card-icon svg { width: 100%; height: 100%; }
.hab-card-header h2 {
    margin: 0 0 4px;
    font-size: 20px;
    color: var(--hab-blue-dark);
}
.hab-card-header p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

/* Stepper */
.hab-stepper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 0 4px;
}
.hab-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    width: 80px;
}
.hab-step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e8d9d7;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.hab-step.is-active .hab-step-circle,
.hab-step.is-done .hab-step-circle {
    background: var(--hab-teal);
}
.hab-step-label {
    font-size: 11px;
    text-align: center;
    color: #b09490;
    font-weight: 600;
    white-space: nowrap;
}
.hab-step.is-active .hab-step-label,
.hab-step.is-done .hab-step-label {
    color: var(--hab-blue-dark);
}
.hab-step-line {
    flex: 1 1 auto;
    height: 2px;
    background: #e6d6d3;
    margin-top: 15px;
    transition: background 0.2s;
}
.hab-step-line.is-done {
    background: var(--hab-teal);
}

/* Form */
.hab-form-step { display: none; }
.hab-form-step.is-active { display: block; animation: habFade 0.25s ease; }
@keyframes habFade { from { opacity: 0; transform: translateY(6px);} to { opacity:1; transform: translateY(0);} }

.hab-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 520px) {
    .hab-row { grid-template-columns: 1fr; }
}

.hab-field {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}
.hab-field label {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--hab-blue-dark);
}

.hab-input-icon {
    display: flex !important;
    align-items: center !important;
    border: 1px solid var(--hab-border) !important;
    border-radius: 8px !important;
    padding: 0 12px !important;
    background: #fff !important;
    transition: border-color 0.15s;
}
.hab-input-icon:focus-within {
    border-color: var(--hab-teal);
}
.hab-input-icon.hab-input-textarea {
    align-items: flex-start;
    padding-top: 10px;
}
.hab-wrapper .hab-input-icon,
.hab-wrapper .hab-input-icon * {
    box-sizing: border-box !important;
}
.hab-input-icon span {
    width: 18px;
    height: 18px;
    color: #94a3b8;
    flex-shrink: 0;
    margin-right: 8px !important;
}
.hab-input-icon svg { width: 100%; height: 100%; }
.hab-wrapper .hab-input-icon input,
.hab-wrapper .hab-input-icon select,
.hab-wrapper .hab-input-icon textarea {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 11px 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    font-family: inherit !important;
    color: #1f2937 !important;
    appearance: auto;
}
.hab-wrapper .hab-input-icon textarea {
    resize: vertical !important;
    padding-top: 0 !important;
}

.hab-form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.hab-btn-next,
.hab-btn-back,
.hab-submit-btn {
    border: none;
    border-radius: 8px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hab-btn-next svg, .hab-submit-btn svg { width: 16px; height: 16px; }

.hab-btn-next {
    background: var(--hab-blue-dark);
    color: #fff;
    margin-left: auto;
}
.hab-btn-next:hover { background: #16233f; }

.hab-btn-back {
    background: #f1f5f9;
    color: #334155;
}
.hab-btn-back:hover { background: #e2e8f0; }

.hab-submit-btn {
    background: linear-gradient(135deg, var(--hab-teal), var(--hab-teal-dark));
    color: #fff;
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 15px;
    margin-left: 0;
}
.hab-submit-btn:hover { filter: brightness(1.05); }

.hab-info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--hab-blue-light);
    color: var(--hab-teal-dark);
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 18px;
}
.hab-info-box span { width: 18px; height: 18px; flex-shrink: 0; }
.hab-info-box svg { width: 100%; height: 100%; }

.hab-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 12px;
}
.hab-secure-note svg { width: 14px; height: 14px; }

.hab-summary {
    background: #f8fafc;
    border: 1px solid var(--hab-border);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 18px;
    font-size: 13px;
}
.hab-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #e2e8f0;
}
.hab-summary-row:last-child { border-bottom: none; }
.hab-summary-row span:first-child { color: #64748b; font-weight: 600; }
.hab-summary-row span:last-child { color: #1f2937; font-weight: 700; text-align: right; }

.hab-message {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
}
.hab-success { background: var(--hab-green-light); color: #1e7e5c; border: 1px solid #b6e3cf; }
.hab-error { background: var(--hab-red-light); color: #b02a37; border: 1px solid #f5c2c7; }

/* Need Help */
.hab-help {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--hab-border);
}
.hab-help-title {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}
.hab-help-row {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    flex-wrap: wrap;
}
.hab-help-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}
.hab-help-item strong { display: block; font-size: 13px; color: var(--hab-blue-dark); }
.hab-help-item span { font-size: 12px; color: #64748b; }
.hab-help-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
}
.hab-help-icon svg { width: 100%; height: 100%; }
.hab-help-icon.hab-blue { background: var(--hab-blue-light); color: var(--hab-teal); }
.hab-help-icon.hab-green { background: #e6f7ee; color: #22c55e; }

/* ---------- TRUST STRIP ---------- */
.hab-trust-strip {
    max-width: 1200px;
    margin: 10px auto 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 10px 0;
    border-top: 1px solid var(--hab-border);
    font-family: -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
}
.hab-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--hab-teal);
}
.hab-trust-item svg { width: 22px; height: 22px; }
.hab-trust-item strong { display: block; font-size: 13px; color: #1f2937; }
.hab-trust-item span { font-size: 11px; color: #94a3b8; }

.hab-credit {
    max-width: 1200px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 12px;
    color: #a89490;
    font-family: -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
}
.hab-credit a {
    color: var(--hab-teal);
    font-weight: 600;
    text-decoration: none;
}
.hab-credit a:hover { text-decoration: underline; }

/* ---------- ADMIN LIST STATUS BADGES ---------- */
.hab-status {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}
.hab-status-pending { background: #fff3cd; color: #856404; }
.hab-status-confirmed { background: #d4edda; color: #155724; }
.hab-status-cancelled { background: #f8d7da; color: #721c24; }
