/* ── Shared Variables (lnp-frontend not loaded) ─── */
:root {
    --lnp-primary:   #C9956C; --lnp-primary-dk: #A87550; --lnp-primary-lt: #EDD9C5;
    --lnp-dark:      #1B2A3B; --lnp-green:      #4A8C5C; --lnp-green-dk:   #3A7A4C;
    --lnp-green-lt:  #D4EAD9; --lnp-accent:     #7C5CBF; --lnp-red:        #EF4444;
    --lnp-gold:      #C9A227; --lnp-bg:         #FBF7FF; --lnp-bg-soft:    #F8FAFC;
    --lnp-bg-dark:   #1B2A3B; --lnp-white:      #FFFFFF; --lnp-text:       #1B2A3B;
    --lnp-text-body: #2C2C2C; --lnp-muted:      #6B6B6B; --lnp-muted-lt:   #9CA3AF;
    --lnp-border:    #E5E7EB; --lnp-border-lt:  #F0E8DF; --lnp-navy:       #1B2A3B;
    --lnp-navy-dark: #111D29; --lnp-slate:      #4B5563;
    --lnp-radius:    12px;    --lnp-radius-lg:  20px;    --lnp-radius-xl:  32px;
    --lnp-shadow:    0 4px 24px rgba(27,42,59,.08);
    --lnp-shadow-lg: 0 12px 48px rgba(27,42,59,.14);
    --lnp-shadow-warm: 0 8px 32px rgba(201,149,108,.15);
    --font-display:  'Fredoka', sans-serif;
    --font-heading:  'Fredoka', sans-serif;
    --font-body:     'Manrope', sans-serif;
    --font-script:   'Fredoka', cursive;
}

/* ================================================================
   LITTLE NEST PLAY — AUTH PAGES CSS v2.0
   Matches homepage V2 design system
   Purple: #7C5CBF | Gold: #C9956C | Dark: #1B2A3B | Bg: #FBF7FF
   ================================================================ */

/* ── Auth section ─────────────────────────────────────────── */
.lnp2-auth-section {
    background: #F5EDF8;
    min-height: 100vh;
    padding-top: 80px;
}

/* ── Auth brand col (left) ────────────────────────────────── */
.lnp2-auth-brand-col {
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem 3rem 1rem;
}

.lnp2-auth-brand {
    max-width: 380px;
}

.lnp2-auth-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 2rem;
    display: block;
}

.lnp2-auth-brand-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #1B2A3B;
    line-height: 1.3;
    margin-bottom: .75rem;
}

.lnp2-auth-brand-sub {
    font-family: 'Manrope', sans-serif;
    font-size: .9rem;
    color: #6B6B6B;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

/* ── Benefits list ────────────────────────────────────────── */
.lnp2-auth-benefits {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.lnp2-auth-benefit {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: 'Manrope', sans-serif;
    font-size: .875rem;
    color: #1B2A3B;
    font-weight: 500;
}

.lnp2-benefit-ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(124,92,191,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7C5CBF;
    font-size: .85rem;
    flex-shrink: 0;
}

/* ── Steps (register) ─────────────────────────────────────── */
.lnp2-auth-steps {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.lnp2-auth-step {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: 'Manrope', sans-serif;
    font-size: .875rem;
    color: #1B2A3B;
    font-weight: 500;
}

.lnp2-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #7C5CBF;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: .8rem;
    flex-shrink: 0;
}

/* ── Auth card (right form) ───────────────────────────────── */
.lnp2-auth-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 40px rgba(124,92,191,.1);
    border: 1px solid rgba(124,92,191,.1);
}

.lnp2-auth-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1B2A3B;
    margin-bottom: .3rem;
}

.lnp2-auth-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: .875rem;
    color: #6B6B6B;
    margin-bottom: 1.5rem;
}

/* ── Alerts ───────────────────────────────────────────────── */
.lnp2-auth-alert {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1rem;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: .875rem;
    margin-bottom: 1.25rem;
}
.lnp2-alert-error   { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }
.lnp2-alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }

/* ── Form elements ────────────────────────────────────────── */
.lnp2-auth-form { margin-top: 1.25rem; }

.lnp2-form-group { margin-bottom: 1.1rem; }

.lnp2-label {
    font-family: 'Manrope', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    color: #1B2A3B;
    display: block;
    margin-bottom: .4rem;
}

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

.lnp2-input-icon {
    position: absolute;
    left: .9rem;
    color: #9CA3AF;
    font-size: .82rem;
    z-index: 1;
    pointer-events: none;
}

.lnp2-input {
    width: 100%;
    background: #F9FAFB;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    padding: .7rem .9rem .7rem 2.5rem;
    font-family: 'Manrope', sans-serif;
    font-size: .875rem;
    color: #1B2A3B;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.lnp2-input:focus {
    border-color: #7C5CBF;
    box-shadow: 0 0 0 3px rgba(124,92,191,.12);
    background: #fff;
}
.lnp2-input-error { border-color: #EF4444 !important; }

.lnp2-select { appearance: none; cursor: pointer; }

.lnp2-pw-toggle {
    position: absolute;
    right: .85rem;
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 0;
    font-size: .9rem;
    transition: color .2s;
}
.lnp2-pw-toggle:hover { color: #7C5CBF; }

.lnp2-field-error {
    font-family: 'Manrope', sans-serif;
    font-size: .78rem;
    color: #EF4444;
    display: block;
    margin-top: .25rem;
}

.lnp2-checkbox {
    width: 17px;
    height: 17px;
    border-radius: 5px;
    accent-color: #7C5CBF;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Section label (child profile) ───────────────────────── */
.lnp2-auth-section-label {
    font-family: 'Manrope', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    color: #1B2A3B;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
    padding-top: .5rem;
    border-top: 1px solid #F3F4F6;
}

.lnp2-optional-badge {
    font-size: .7rem;
    font-weight: 500;
    color: #9CA3AF;
    background: #F3F4F6;
    border-radius: 20px;
    padding: .1rem .5rem;
}

/* ── Child row inputs ─────────────────────────────────────── */
.lnp2-child-row .lnp2-input { padding-left: 2.4rem; }

/* ── Add child button ─────────────────────────────────────── */
.lnp2-add-child-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: none;
    border: 1.5px dashed #C8A8E9;
    border-radius: 50px;
    padding: .4rem 1rem;
    font-family: 'Manrope', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    color: #7C5CBF;
    cursor: pointer;
    transition: all .2s;
    margin-bottom: .75rem;
}
.lnp2-add-child-btn:hover { background: rgba(124,92,191,.06); border-style: solid; }

/* ── Submit button ────────────────────────────────────────── */
.lnp2-auth-btn {
    background: #7C5CBF;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: .85rem 1.5rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
}
.lnp2-auth-btn:hover {
    background: #9B7DD4;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124,92,191,.3);
}

/* ── Divider ──────────────────────────────────────────────── */
.lnp2-auth-divider {
    text-align: center;
    margin: 1.25rem 0;
    position: relative;
}
.lnp2-auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 1px;
    background: #E5E7EB;
}
.lnp2-auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 .75rem;
    font-family: 'Manrope', sans-serif;
    font-size: .78rem;
    color: #9CA3AF;
}

/* ── Links ────────────────────────────────────────────────── */
.lnp2-auth-link {
    color: #7C5CBF;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}
.lnp2-auth-link:hover { color: #9B7DD4; }

.lnp2-link-sm { font-size: .8rem; }

.lnp2-auth-footer-note {
    font-family: 'Manrope', sans-serif;
    font-size: .84rem;
    color: #6B6B6B;
    text-align: center;
    margin: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 767px) {
    .lnp2-auth-card { padding: 1.75rem 1.25rem; border-radius: 20px; }
    .lnp2-auth-title { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .lnp2-auth-section { padding-top: 70px; }
    .lnp2-auth-card { border-radius: 16px; padding: 1.5rem 1rem; }
}
