/* ══════════════════════════════════════════════════════════════════
   Meta Life  –  Unified 2-Panel Master Card Auth Stylesheet
   ══════════════════════════════════════════════════════════════════ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #113824;
    background-color: #e8f5e9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ─── Full Page Background Wrapper ─── */
.auth-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-image: url('/images/loginbg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* ─── Floating Nature Leaves (Background Particles) ─── */
.floating-leaf {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    opacity: 0.65;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
    animation: floatDrift linear infinite;
}

.leaf-1 {
    top: 15%;
    left: 8%;
    width: 28px;
    height: 28px;
    animation-duration: 16s;
    animation-delay: 0s;
}

.leaf-2 {
    top: 55%;
    left: 42%;
    width: 22px;
    height: 22px;
    animation-duration: 20s;
    animation-delay: -5s;
}

.leaf-3 {
    top: 25%;
    right: 12%;
    width: 32px;
    height: 32px;
    animation-duration: 18s;
    animation-delay: -8s;
}

.leaf-4 {
    top: 75%;
    right: 6%;
    width: 24px;
    height: 24px;
    animation-duration: 22s;
    animation-delay: -3s;
}

.leaf-5 {
    top: 40%;
    left: 22%;
    width: 18px;
    height: 18px;
    animation-duration: 25s;
    animation-delay: -11s;
}

@keyframes floatDrift {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-18px) translateX(12px) rotate(15deg);
    }
    50% {
        transform: translateY(-8px) translateX(24px) rotate(0deg);
    }
    75% {
        transform: translateY(-22px) translateX(10px) rotate(-15deg);
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
}

/* ─── Top Navigation Bar ─── */
.auth-topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 36px 12px;
    z-index: 50;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    animation: fadeInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.brand-logo-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.brand-logo-wrap:hover {
    transform: scale(1.03);
}

.brand-title-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
}

.brand-title-main .meta-part {
    color: #133a25;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.brand-title-main .life-part {
    color: #16a34a;
    font-size: 33px;
    font-weight: 900;
    margin-left: 2px;
}

.brand-tagline-sub {
    font-size: 8.5px;
    font-weight: 800;
    color: #2d5a3f;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 3px;
    text-align: center;
}

.nav-links-right {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: #133a25;
}

.nav-links-right .nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.nav-links-right .nav-item:hover {
    transform: translateY(-2px);
    color: #16a34a;
}

.nav-links-right .nav-item svg {
    width: 15px;
    height: 15px;
    color: #16a34a;
}

.nav-links-right .nav-divider {
    color: #94a3b8;
    font-weight: 300;
}

/* ─── Centered Wrapper ─── */
.auth-centered-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px 28px;
    width: 100%;
    z-index: 20;
}

/* ─── 2-Panel Master Unified Card ─── */
.auth-master-card {
    display: flex;
    width: 100%;
    max-width: 820px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(32px) saturate(190%);
    -webkit-backdrop-filter: blur(32px) saturate(190%);
    border: 1.5px solid rgba(255, 255, 255, 0.92);
    border-radius: 26px;
    box-shadow:
        0 20px 60px rgba(18, 60, 35, 0.16),
        0 4px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow: hidden;
    position: relative;
    animation: masterIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: box-shadow 0.3s ease;
}

.auth-master-card:hover {
    box-shadow:
        0 26px 70px rgba(22, 101, 52, 0.22),
        0 6px 20px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

@keyframes masterIn {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ══════════════════════════════════════════════════
   LEFT PANEL  –  Brand & Feature Highlights
   ══════════════════════════════════════════════════ */
.auth-panel-left {
    flex: 1;
    background: linear-gradient(165deg, rgba(236, 253, 245, 0.88) 0%, rgba(209, 250, 229, 0.55) 100%);
    border-right: 1px solid rgba(167, 243, 208, 0.6);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

/* Tagline pill */
.hero-tagline-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #a7f3d0;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    color: #15803d;
    width: fit-content;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.08);
    animation: gentlePulse 3s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.hero-tagline-pill svg {
    width: 14px;
    height: 14px;
    color: #16a34a;
}

/* Titles */
.hero-main-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    color: #0f3821;
    letter-spacing: -1px;
}

.hero-main-title .green-highlight {
    color: #16a34a;
    display: block;
}

.hero-description {
    font-size: 13px;
    line-height: 1.5;
    color: #1e4530;
    font-weight: 500;
}

/* Feature list */
.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-compact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 2px 6px rgba(18, 60, 35, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideFeatureIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.feature-compact-item:nth-child(1) { animation-delay: 0.15s; }
.feature-compact-item:nth-child(2) { animation-delay: 0.25s; }
.feature-compact-item:nth-child(3) { animation-delay: 0.35s; }
.feature-compact-item:nth-child(4) { animation-delay: 0.45s; }

@keyframes slideFeatureIn {
    from { opacity: 0; transform: translateX(-14px); }
    to   { opacity: 1; transform: translateX(0); }
}

.feature-compact-item:hover {
    transform: translateX(6px);
    background: #ffffff;
    border-color: #86efac;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.14);
}

.feature-icon-bubble {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}

.feature-compact-item:hover .feature-icon-bubble {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    transform: rotate(6deg) scale(1.08);
}

.feature-icon-bubble svg {
    width: 15px;
    height: 15px;
    color: #16a34a;
    transition: color 0.2s ease;
}

.feature-compact-item:hover .feature-icon-bubble svg {
    color: #ffffff;
}

.feature-texts {
    display: flex;
    flex-direction: column;
}

.feature-heading {
    font-size: 12.5px;
    font-weight: 800;
    color: #0f3821;
    line-height: 1.2;
}

.feature-subheading {
    font-size: 10.5px;
    color: #3b634c;
    font-weight: 500;
}

/* Bottom capsule inside left panel */
.hero-bottom-capsule {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #a7f3d0;
    box-shadow: 0 2px 6px rgba(18, 60, 35, 0.05);
}

.capsule-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9.5px;
    font-weight: 800;
    color: #133a25;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.capsule-item svg {
    width: 11px;
    height: 11px;
    color: #16a34a;
}

.capsule-divider {
    color: #86efac;
    font-weight: 400;
    font-size: 10px;
}

/* ══════════════════════════════════════════════════
   RIGHT PANEL  –  Form Container
   ══════════════════════════════════════════════════ */
.auth-panel-right {
    flex: 1.15;
    padding: 26px 26px 20px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeIn 0.5s ease both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Card Header */
.form-card-header {
    margin-bottom: 14px;
}

.form-card-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-card-title-row svg {
    width: 21px;
    height: 21px;
    color: #16a34a;
}

.form-card-title {
    font-size: 21px;
    font-weight: 900;
    color: #113824;
    letter-spacing: -0.4px;
}

.form-card-subtitle {
    font-size: 12px;
    color: #527561;
    font-weight: 500;
    margin-top: 1px;
    padding-left: 29px;
}

/* Description Text */
.auth-desc-text {
    font-size: 12px;
    line-height: 1.5;
    color: #4b6e55;
    margin-bottom: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 10px 12px;
}

/* Status Alert (Green) */
.auth-alert-status {
    background: #dcfce7;
    border: 1px solid #86efac;
    border-left: 4px solid #16a34a;
    color: #15803d;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 9px;
    margin-bottom: 12px;
}

/* Validation Error Alert Box (Red Box) */
.auth-alert-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 12px;
    animation: shakeError 0.35s ease-in-out both;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

.auth-alert-errors-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #b91c1c;
    margin-bottom: 4px;
}

.auth-alert-errors-header svg {
    width: 15px;
    height: 15px;
    color: #ef4444;
    flex-shrink: 0;
}

.auth-alert-errors-list {
    list-style: none;
    padding-left: 20px;
    margin: 0;
}

.auth-alert-errors-list li {
    font-size: 11.5px;
    color: #991b1b;
    font-weight: 500;
    line-height: 1.4;
    position: relative;
}

.auth-alert-errors-list li::before {
    content: "•";
    color: #ef4444;
    font-weight: 800;
    position: absolute;
    left: -11px;
}

/* ─── Grid Form Layouts ─── */
.form-group {
    margin-bottom: 10px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.form-row-phone {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.form-group-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #1b3d29;
    margin-bottom: 4px;
    letter-spacing: 0.1px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-lead-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-lead-icon svg {
    width: 15px;
    height: 15px;
}

.custom-input {
    width: 100%;
    height: 38px;
    padding: 0 13px 0 36px;
    border: 1px solid #d1fae5;
    border-radius: 9px;
    background: #ffffff;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    color: #1a3a2a;
    outline: none;
    transition: all 0.2s ease;
}

.custom-input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3.5px rgba(34, 197, 94, 0.18);
    transform: translateY(-1px);
}

.custom-input.is-invalid,
.custom-select.is-invalid {
    border-color: #ef4444 !important;
    background-color: #fffbfa !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.custom-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
    font-size: 12px;
}

/* Select Dropdown */
.custom-select {
    width: 100%;
    height: 38px;
    padding: 0 32px 0 36px;
    border: 1px solid #d1fae5;
    border-radius: 9px;
    background: #ffffff;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    color: #1a3a2a;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 13px;
    transition: all 0.2s ease;
}

.custom-select:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3.5px rgba(34, 197, 94, 0.18);
    transform: translateY(-1px);
}

/* Password Eye Button */
.password-eye-btn {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #86efac;
    display: flex;
    align-items: center;
    padding: 2px;
    transition: color 0.15s ease;
}

.password-eye-btn:hover {
    color: #16a34a;
}

.password-eye-btn svg {
    width: 15px;
    height: 15px;
}

/* Remember me & Forgot password row */
.remember-forgot-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    margin-bottom: 12px;
    font-size: 12px;
}

.remember-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3b634c;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox {
    width: 15px;
    height: 15px;
    accent-color: #16a34a;
    cursor: pointer;
}

.forgot-link {
    color: #16a34a;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s ease;
}

.forgot-link:hover {
    color: #15803d;
    text-decoration: underline;
}

/* ─── Binary Position Cards (Left / Right Leg) ─── */
.binary-position-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 2px;
}

.position-card {
    padding: 7px 9px;
    border: 1.5px solid #d1fae5;
    border-radius: 9px;
    background: #f8faf9;
    cursor: pointer;
    text-align: center;
    transition: all 0.22s ease;
    user-select: none;
}

.position-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.position-card .pos-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 800;
    color: #1b4332;
}

.position-card .pos-header svg {
    width: 13px;
    height: 13px;
    color: #eab308;
    transition: transform 0.2s ease;
}

.position-card:hover .pos-header svg {
    transform: rotate(15deg) scale(1.1);
}

.position-card .pos-subtitle {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
    margin-top: 1px;
}

.position-card:hover {
    border-color: #86efac;
    background: #f0fdf4;
    transform: translateY(-1px);
}

.position-card.active {
    border-color: #22c55e;
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.18);
    transform: translateY(-1px);
}

.position-card.active .pos-header {
    color: #15803d;
}

.position-card.active .pos-subtitle {
    color: #16a34a;
    font-weight: 600;
}

/* ─── Submit CTA Button (Clean Solid Gradient Pill) ─── */
.btn-submit-register {
    width: 100%;
    height: 42px;
    margin-top: 8px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 60%, #15803d 100%);
    color: #ffffff !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.38);
    transition: all 0.22s ease;
    text-decoration: none;
    position: relative;
}

.btn-submit-register svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0 !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
    display: inline-block;
}

.btn-submit-register span {
    color: #ffffff !important;
    font-weight: 800;
}

.btn-submit-register:hover {
    background: linear-gradient(90deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.48);
    transform: translateY(-1.5px);
}

.btn-submit-register:active {
    transform: translateY(0);
}

/* ─── Secondary Action Button (Screenshot / Download) ─── */
.btn-secondary-action {
    width: 100%;
    height: 38px;
    margin-top: 6px;
    border: 1.5px solid #86efac;
    border-radius: 24px;
    background: #f0fdf4;
    color: #15803d;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.22s ease;
    text-decoration: none;
}

.btn-secondary-action svg {
    width: 16px;
    height: 16px;
    color: #16a34a;
}

.btn-secondary-action:hover {
    background: #dcfce7;
    border-color: #22c55e;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

/* ══════════════════════════════════════════════════
   MULTI-STEP REGISTRATION WIZARD
   ══════════════════════════════════════════════════ */
.wizard-progress-bar-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 16px;
    padding: 0 8px;
}

.wizard-progress-line {
    position: absolute;
    top: 14px;
    left: 24px;
    right: 24px;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.wizard-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    width: 0%;
    transition: width 0.35s ease;
    border-radius: 4px;
}

.wizard-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    cursor: default;
}

.wizard-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.wizard-step-item.active .wizard-step-dot {
    border-color: #16a34a;
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.wizard-step-item.completed .wizard-step-dot {
    border-color: #22c55e;
    background: #dcfce7;
    color: #15803d;
}

.wizard-step-label {
    font-size: 9.5px;
    font-weight: 700;
    color: #64748b;
    margin-top: 4px;
    transition: color 0.2s ease;
}

.wizard-step-item.active .wizard-step-label {
    color: #15803d;
    font-weight: 800;
}

.wizard-step-item.completed .wizard-step-label {
    color: #16a34a;
}

/* Step Panel Containers */
.wizard-step-panel {
    display: none;
    animation: fadeInStep 0.3s ease both;
}

.wizard-step-panel.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Navigation Button Row */
.wizard-nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.btn-step-prev {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 16px;
    border: 1.5px solid #d1fae5;
    border-radius: 25px;
    background: #f8faf9;
    color: #2d5a3f;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.btn-step-prev:hover {
    background: #f0fdf4;
    border-color: #86efac;
    color: #15803d;
    transform: translateY(-1px);
}

.btn-step-next {
    flex: 1;
    height: 42px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 60%, #15803d 100%);
    color: #ffffff;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
    transition: all 0.22s ease;
}

.btn-step-next:hover {
    background: linear-gradient(90deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45);
    transform: translateY(-1.5px);
}

/* ─── Preview Confirmation Summary Card ─── */
.preview-summary-box {
    background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1.5px solid #86efac;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.preview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
}

.preview-row:not(:last-child) {
    border-bottom: 1px dashed rgba(34, 197, 94, 0.35);
}

.preview-label {
    font-size: 11px;
    font-weight: 700;
    color: #2d5a3f;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.preview-value {
    font-size: 12.5px;
    font-weight: 800;
    color: #0f3821;
    text-align: right;
}

/* ─── Professional Security Tip Box ─── */
.password-hint-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 8px 12px;
    margin-top: 10px;
    font-size: 11.5px;
    color: #166534;
    line-height: 1.4;
}

.password-hint-box svg {
    width: 16px;
    height: 16px;
    color: #16a34a;
    flex-shrink: 0;
}

/* ─── Premium In-Card Toast Notification Popup ─── */
.auth-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    background: #0f172a;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.auth-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.auth-toast.error {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
    border-color: #ef4444;
    box-shadow: 0 12px 30px rgba(185, 28, 28, 0.4);
}

.auth-toast.success {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    border-color: #22c55e;
    box-shadow: 0 12px 30px rgba(22, 101, 52, 0.4);
}

.auth-toast svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   REGISTRATION SUCCESS SCREEN STYLES
   ══════════════════════════════════════════════════ */
.success-credentials-box {
    background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1.5px solid #86efac;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.1);
    animation: bounceIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes bounceIn {
    0% { transform: scale(0.96); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.cred-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.cred-row:not(:last-child) {
    border-bottom: 1px dashed rgba(34, 197, 94, 0.35);
}

.cred-label {
    font-size: 11px;
    font-weight: 700;
    color: #2d5a3f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cred-value-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cred-value-highlight {
    font-size: 14px;
    font-weight: 900;
    color: #0f3821;
    font-family: 'Plus Jakarta Sans', monospace;
    letter-spacing: 0.5px;
}

.btn-copy-mini {
    background: #ffffff;
    border: 1px solid #86efac;
    border-radius: 6px;
    padding: 3px 7px;
    font-size: 10.5px;
    font-weight: 700;
    color: #15803d;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: all 0.15s ease;
}

.btn-copy-mini:hover {
    background: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
    transform: scale(1.05);
}

/* Success Details Grid */
.success-details-list {
    background: #ffffff;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 12px;
}

.detail-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    padding: 4px 0;
}

.detail-line:not(:last-child) {
    border-bottom: 1px solid #f3f4f6;
}

.detail-key {
    color: #64748b;
    font-weight: 600;
}

.detail-val {
    color: #0f3821;
    font-weight: 800;
    text-align: right;
}

/* ─── Bottom Prompt Links ─── */
.bottom-login-prompt {
    text-align: center;
    font-size: 12px;
    color: #4b6e55;
    font-weight: 500;
    margin-top: 10px;
}

.bottom-login-prompt a {
    color: #15803d;
    font-weight: 800;
    text-decoration: none;
    margin-left: 4px;
}

.bottom-login-prompt a:hover {
    text-decoration: underline;
}

/* Sponsor validation badge */
.sponsor-check-badge {
    font-size: 10.5px;
    font-weight: 600;
    margin-top: 2px;
    min-height: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sponsor-check-badge.valid { color: #15803d; }
.sponsor-check-badge.invalid { color: #dc2626; }
.sponsor-check-badge.loading { color: #d97706; }

.error-text {
    font-size: 10.5px;
    font-weight: 600;
    color: #dc2626;
    margin-top: 2px;
    display: block;
}

/* ─── Mobile-Only In-Card Brand Logo (Hidden on Desktop) ─── */
.mobile-card-logo {
    display: none;
}

/* ══════════════════════════════════════════════════
   Responsive Breakpoints
   ══════════════════════════════════════════════════ */
@media (max-width: 860px) {
    .auth-panel-left {
        display: none;
    }

    .auth-topnav {
        display: none !important;
    }

    .mobile-card-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 22px;
        padding-bottom: 14px;
        border-bottom: 1px dashed #dcfce7;
    }

    .mobile-card-logo .brand-title-main .meta-part {
        font-size: 26px;
    }

    .mobile-card-logo .brand-title-main .life-part {
        font-size: 32px;
    }

    .mobile-card-logo .brand-tagline-sub {
        font-size: 8px;
        letter-spacing: 1.8px;
        margin-top: 3px;
    }

    .auth-centered-wrapper {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px 16px 36px;
    }

    .auth-master-card {
        width: 100%;
        max-width: 440px;
        border-radius: 28px;
        box-shadow: 0 16px 48px rgba(18, 60, 35, 0.16);
    }

    .auth-panel-right {
        padding: 32px 24px 28px;
    }

    .auth-page {
        background-image: url('/images/loginbgmobile.png');
        background-attachment: scroll;
    }

    .form-row-2, .form-row-phone {
        grid-template-columns: 1fr;
    }

    .floating-leaf {
        display: none;
    }
}

@media (max-width: 480px) {
    .auth-centered-wrapper {
        padding: 16px 14px 28px;
    }

    .auth-master-card {
        border-radius: 26px;
    }

    .auth-panel-right {
        padding: 28px 20px 24px;
    }

    .mobile-card-logo {
        margin-bottom: 18px;
        padding-bottom: 12px;
    }

    .mobile-card-logo .brand-title-main .meta-part {
        font-size: 23px;
    }

    .mobile-card-logo .brand-title-main .life-part {
        font-size: 28px;
    }

    .form-card-title {
        font-size: 19px;
    }

    .btn-submit-register {
        font-size: 13.5px;
        height: 42px;
    }

    .wizard-step-dot {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .wizard-step-label {
        font-size: 8.5px;
    }

    .btn-step-prev {
        height: 40px;
        padding: 0 12px;
        font-size: 12px;
    }

    .btn-step-next {
        height: 40px;
        font-size: 12.5px;
    }
}
