/* ═══════════════════════════════════════════════════════════
   AUTH INFOGRAPHIC STYLES — Mobile-first
   Prefix: auth-ig-
   ═══════════════════════════════════════════════════════════ */

/* ── Section wrapper ─────────────────────────────────────── */
.auth-ig-section {
    padding: 2rem 0 3rem;
    background: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 50%, #fff5f0 100%);
    min-height: calc(100vh - 200px);
}

/* ── Process Stepper ─────────────────────────────────────── */
.auth-ig-stepper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    margin: 0 auto 2rem;
    max-width: 600px;
    padding: 0 1rem;
}

.auth-ig-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    text-decoration: none;
    color: inherit;
}
.auth-ig-step:hover {
    text-decoration: none;
    color: inherit;
}

.auth-ig-step-marker {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    transition: all .3s ease;
    border: 3px solid #dbe2ef;
    background: #fff;
    color: #94a3b8;
}

.auth-ig-step-label {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.5rem;
    text-align: center;
    color: #94a3b8;
    line-height: 1.2;
    max-width: 80px;
}

/* Connector line between steps */
.auth-ig-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px;
    left: calc(50% + 26px);
    width: calc(100% - 52px);
    height: 3px;
    background: #dbe2ef;
    z-index: 1;
    transition: background .3s ease;
}

/* Step states */
.auth-ig-step.auth-ig-step-done .auth-ig-step-marker {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}
.auth-ig-step.auth-ig-step-done .auth-ig-step-label {
    color: #10b981;
}
.auth-ig-step.auth-ig-step-done::after {
    background: #10b981;
}

.auth-ig-step.auth-ig-step-active .auth-ig-step-marker {
    background: #0046be;
    border-color: #0046be;
    color: #fff;
    box-shadow: 0 0 0 6px rgba(0, 70, 190, .15);
    animation: auth-ig-pulse 2s infinite;
}
.auth-ig-step.auth-ig-step-active .auth-ig-step-label {
    color: #0046be;
    font-weight: 700;
}

/* ── Hero illustration ───────────────────────────────────── */
.auth-ig-hero {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}
.auth-ig-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}
.auth-ig-hero-icon-register {
    background: linear-gradient(135deg, #0046be, #3b82f6);
    color: #fff;
}
.auth-ig-hero-icon-login {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
}
.auth-ig-hero-icon-verify {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
}
.auth-ig-hero-icon-forgot {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: #fff;
}
.auth-ig-hero-icon-reset {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    color: #fff;
}
.auth-ig-hero-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: .5rem;
    line-height: 1.3;
}
.auth-ig-hero-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ── Benefits strip ──────────────────────────────────────── */
.auth-ig-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}
.auth-ig-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    transition: transform .2s ease, box-shadow .2s ease;
}
.auth-ig-benefit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.auth-ig-benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.auth-ig-benefit-icon-blue {
    background: rgba(0, 70, 190, .1);
    color: #0046be;
}
.auth-ig-benefit-icon-green {
    background: rgba(16, 185, 129, .1);
    color: #10b981;
}
.auth-ig-benefit-icon-amber {
    background: rgba(245, 158, 11, .1);
    color: #f59e0b;
}
.auth-ig-benefit-icon-purple {
    background: rgba(139, 92, 246, .1);
    color: #8b5cf6;
}
.auth-ig-benefit-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}
.auth-ig-benefit-sub {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.125rem;
}

/* ── Form card ───────────────────────────────────────────── */
.auth-ig-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}
.auth-ig-card-body {
    padding: 1.5rem;
}
.auth-ig-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}
.auth-ig-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.25rem;
}
.auth-ig-card-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* Form helper text */
.auth-ig-form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.375rem;
}

/* ── Trust bar (bottom of form) ──────────────────────────── */
.auth-ig-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
    justify-content: center;
}
.auth-ig-trust-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #64748b;
}
.auth-ig-trust-item i {
    color: #10b981;
    font-size: 0.8rem;
}

/* ── Verify email illustration ───────────────────────────── */
.auth-ig-verify-visual {
    text-align: center;
    padding: 2rem 1rem;
}
.auth-ig-envelope {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
    color: #f59e0b;
    animation: auth-ig-float 3s ease-in-out infinite;
    position: relative;
}
.auth-ig-envelope::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,.08);
}

/* ── Steps (how-to list) ─────────────────────────────────── */
.auth-ig-howto {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}
.auth-ig-howto-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.auth-ig-howto-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0046be;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.auth-ig-howto-text {
    font-size: 0.9rem;
    color: #334155;
    padding-top: 0.25rem;
    line-height: 1.5;
}
.auth-ig-howto-text strong {
    color: #1a1a2e;
}

/* ── Password strength inline ────────────────────────────── */
.auth-ig-pw-checklist {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
}
.auth-ig-pw-checklist small {
    font-weight: 600;
    color: #64748b;
}
.auth-ig-pw-checklist ul {
    margin: 0.375rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
}
.auth-ig-pw-checklist li {
    font-size: 0.8rem;
    transition: color .2s ease;
}

/* ── Link / alternate action ─────────────────────────────── */
.auth-ig-alt {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: #64748b;
}
.auth-ig-alt a {
    color: #0046be;
    font-weight: 600;
    text-decoration: underline;
}

/* ── CTA button ──────────────────────────────────────────── */
.auth-ig-btn {
    display: block;
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
    text-align: center;
    text-decoration: none;
}
.auth-ig-btn-primary {
    background: linear-gradient(135deg, #0046be, #3b82f6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 70, 190, .25);
}
.auth-ig-btn-primary:hover {
    background: linear-gradient(135deg, #003da6, #2563eb);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 70, 190, .35);
    color: #fff;
}
.auth-ig-btn-outline {
    background: #fff;
    color: #64748b;
    border: 2px solid #e2e8f0;
}
.auth-ig-btn-outline:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #334155;
}

/* ── Forgot password flow visual ─────────────────────────── */
.auth-ig-reset-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}
.auth-ig-flow-step {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 0.5rem 0.875rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
}
.auth-ig-flow-step i {
    font-size: 0.85rem;
}
.auth-ig-flow-step.auth-ig-flow-active {
    background: #0046be;
    border-color: #0046be;
    color: #fff;
}
.auth-ig-flow-step.auth-ig-flow-done {
    background: #ecfdf5;
    border-color: #10b981;
    color: #10b981;
}
.auth-ig-flow-arrow {
    color: #cbd5e1;
    font-size: 0.85rem;
}

/* ── Info callout ────────────────────────────────────────── */
.auth-ig-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
}
.auth-ig-callout-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0046be;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}
.auth-ig-callout-text {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.5;
}

/* ── Two-column auth layout ──────────────────────────────── */
.auth-ig-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes auth-ig-pulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(0, 70, 190, .15); }
    50% { box-shadow: 0 0 0 12px rgba(0, 70, 190, .05); }
}

@keyframes auth-ig-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

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

.auth-ig-animate {
    animation: auth-ig-fadeIn .5s ease forwards;
}
.auth-ig-animate-delay-1 { animation-delay: .1s; opacity: 0; }
.auth-ig-animate-delay-2 { animation-delay: .2s; opacity: 0; }
.auth-ig-animate-delay-3 { animation-delay: .3s; opacity: 0; }
.auth-ig-animate-delay-4 { animation-delay: .4s; opacity: 0; }

/* ── Responsive ──────────────────────────────────────────── */

/* Tablet+ */
@media (min-width: 768px) {
    .auth-ig-section {
        padding: 3rem 0 4rem;
    }
    .auth-ig-hero-icon {
        width: 96px;
        height: 96px;
        font-size: 2.5rem;
    }
    .auth-ig-hero-title {
        font-size: 1.75rem;
    }
    .auth-ig-benefits {
        grid-template-columns: 1fr 1fr;
    }
    .auth-ig-card-body {
        padding: 2rem;
    }
    .auth-ig-stepper {
        max-width: 700px;
    }
    .auth-ig-step-marker {
        width: 52px;
        height: 52px;
        font-size: 1.15rem;
    }
    .auth-ig-step:not(:last-child)::after {
        top: 26px;
        left: calc(50% + 30px);
        width: calc(100% - 60px);
    }
    .auth-ig-step-label {
        font-size: 0.8rem;
        max-width: 100px;
    }
    .auth-ig-pw-checklist ul {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .auth-ig-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .auth-ig-grid-single {
        grid-template-columns: 1fr;
        max-width: 560px;
    }
    .auth-ig-hero-title {
        font-size: 2rem;
    }
    .auth-ig-stepper {
        margin-bottom: 2.5rem;
    }
}

/* Wide */
@media (min-width: 1200px) {
    .auth-ig-grid {
        gap: 4rem;
    }
}
