/* ── Leden Administratie – Frontend Styles ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700&family=DM+Mono:wght@500&display=swap');

/* ── Login form ─────────────────────────────── */
.la-login-wrap {
    max-width: 420px;
    margin: 2rem auto;
    font-family: 'DM Sans', sans-serif;
}

.la-login-form {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem 2.25rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}

.la-login-header {
    text-align: center;
    margin-bottom: 1.75rem;
}
.la-login-icon  { font-size: 2.5rem; margin-bottom: .25rem; }
.la-login-header h2 { margin: 0; font-size: 1.5rem; color: #1a3a18; }
.la-login-header p  { margin: .35rem 0 0; color: #666; font-size: .9rem; }

.la-login-form label {
    display: flex; flex-direction: column; gap: .35rem;
    font-weight: 600; font-size: .88rem; color: #333;
    margin-bottom: 1rem;
}
.la-login-form input {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color .2s;
}
.la-login-form input:focus { outline: none; border-color: #1d6e19; box-shadow: 0 0 0 3px rgba(29,110,25,.12); }

.la-login-btn {
    display: block; width: 100%;
    background: #1d6e19; color: #fff;
    border: none; border-radius: 8px;
    padding: 12px; font-size: 1rem; font-weight: 700;
    font-family: inherit; cursor: pointer;
    margin-top: .5rem;
    transition: background .2s, transform .1s;
}
.la-login-btn:hover  { background: #155714; }
.la-login-btn:active { transform: scale(.98); }

.la-error-msg {
    background: #fef2f2; border: 1px solid #fca5a5;
    color: #b91c1c; border-radius: 8px;
    padding: .75rem 1rem; margin-bottom: 1rem;
    font-size: .9rem; font-family: 'DM Sans', sans-serif;
}
.la-notice { font-family: 'DM Sans', sans-serif; }

/* ── Member portal ──────────────────────────── */
.la-portal-wrap {
    max-width: 440px;
    margin: 2rem auto;
    font-family: 'DM Sans', sans-serif;
}

.la-portal-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.10);
    overflow: hidden;
}

.la-portal-header {
    background: linear-gradient(135deg, #1a3a18 0%, #2d6e28 100%);
    color: #fff;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.la-portal-icon { font-size: 2.5rem; }
.la-portal-name { margin: 0 0 .4rem; font-size: 1.3rem; }

.la-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.la-badge--active   { background: rgba(255,255,255,.25); color: #fff; }
.la-badge--inactive { background: #fee2e2; color: #991b1b; }

.la-portal-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid #f0f0f0;
}
.la-info-item {
    padding: 1rem 1.5rem;
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
.la-info-item:nth-child(even) { border-right: none; }
.la-info-label { display: block; font-size: .75rem; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.la-info-value { font-size: .97rem; font-weight: 600; color: #1a1a1a; }
.la-lidnr { font-family: 'DM Mono', monospace; color: #1d6e19; font-size: 1.05rem; }

/* QR section */
.la-qr-section {
    padding: 1.75rem;
    text-align: center;
    background: #fafafa;
}
.la-qr-label {
    font-weight: 700; font-size: .82rem; text-transform: uppercase;
    letter-spacing: .1em; color: #888; margin: 0 0 1rem;
}
.la-qr-frame {
    display: inline-block;
    padding: 10px;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    margin-bottom: .75rem;
}
.la-qr-code { display: block; width: 200px; height: 200px; }
.la-qr-hint { font-size: .83rem; color: #777; margin: .25rem 0 1rem; }
.la-dl-qr-btn {
    display: inline-block;
    background: #1d6e19; color: #fff;
    padding: 9px 22px; border-radius: 7px;
    font-weight: 700; font-size: .9rem;
    text-decoration: none;
    transition: background .2s;
}
.la-dl-qr-btn:hover { background: #155714; color: #fff; }

.la-portal-footer {
    padding: .85rem 1.75rem;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}
.la-logout-link { color: #888; font-size: .85rem; text-decoration: none; }
.la-logout-link:hover { color: #c00; }

/* Inactief lidmaatschap melding */
.la-error-msg--inactief {
    background: #fff8e1;
    border-color: #f59e0b;
    color: #92400e;
}

/* Reset wachtwoord */
.la-reset-notice {
    border-radius: 8px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
    font-size: .9rem;
    font-family: 'DM Sans', sans-serif;
}
.la-reset-notice--ok    { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.la-reset-notice--error { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; }
.la-back-link     { color: #1d6e19; text-decoration: none; font-size: .9rem; }
.la-back-link:hover { text-decoration: underline; }
.la-vergeten-link { text-align: center; margin-top: .75rem; font-size: .85rem; }
.la-vergeten-link a { color: #888; text-decoration: none; }
.la-vergeten-link a:hover { color: #1d6e19; text-decoration: underline; }
