/* ============================================================
   LSVV – Login pagina stijl
   ============================================================ */
:root {
    --lsvv-green:      #1B6B35;
    --lsvv-green-dark: #0F4220;
    --lsvv-gold:       #F5A623;
    --font: 'Inter', system-ui, sans-serif;
}

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

body {
    font-family: var(--font);
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A2915 0%, #1B6B35 50%, #0F3D20 100%);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

/* Achtergrond decoraties */
body::before {
    content: '';
    position: fixed;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
    pointer-events: none;
}
body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

/* Bovenste club branding */
.login-brand {
    text-align: center;
    margin-bottom: 28px;
}

.login-brand-icon {
    width: 72px;
    height: 72px;
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
    margin-bottom: 14px;
    padding: 6px;
    overflow: hidden;
}

.login-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.login-brand-name {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.login-brand-sub {
    display: block;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Login kaart */
.login-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px 32px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}

.login-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A2E22;
    margin: 0 0 6px;
}

.login-subtitle {
    font-size: 0.85rem;
    color: #8AA898;
    margin: 0 0 28px;
}

/* Form elementen */
.form-group { margin-bottom: 18px; }

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #5A7A65;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #B0C4B8;
    font-size: 1rem;
    pointer-events: none;
}

.form-control {
    width: 100%;
    padding: 11px 14px 11px 42px;
    border: 1.5px solid #DDE8E1;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #1A2E22;
    background: #FAFCFB;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: var(--font);
    outline: none;
}
.form-control:focus {
    border-color: var(--lsvv-green);
    box-shadow: 0 0 0 3px rgba(27,107,53,0.12);
    background: #fff;
}
.form-control::placeholder { color: #B0C4B8; }

/* Login knop */
.btn-login {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--lsvv-green) 0%, var(--lsvv-green-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    font-family: var(--font);
    margin-top: 8px;
    letter-spacing: 0.3px;
}
.btn-login:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-login:active { transform: translateY(0); }

/* Error bericht */
.login-error {
    background: #FEE2E2;
    border: 1px solid #FECACA;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.85rem;
    color: #991B1B;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.login-error i { font-size: 1rem; margin-top: 1px; flex-shrink: 0; }

/* Success bericht (na logout) */
.login-success {
    background: #D1FAE5;
    border: 1px solid #A7F3D0;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.85rem;
    color: #065F46;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Voettekst */
.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}
