﻿:root {
    --theme: #2effa6; /* jouw groene themakleur, ongewijzigd */
    --theme-dark: #24e394;
    --text: #0b0b0b;
    --muted: #6b7280;
    --input-bg: #eef6ff;
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI',sans-serif;
    color: var(--text);
    background: #fff
}

/* Ruimtelijke wrapper: centreert netjes verticaal en horizontaal */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 140px); /* houdt rekening met header+footer */
    padding: 48px 24px;
}

/* De kaart zelf */
.login-container {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(13, 13, 13, 0.06);
    overflow: visible;
    padding: 18px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Header met ronde hoek en thema-kleur */
.login-header {
    background: var(--theme);
    padding: 22px;
    border-radius: 14px 20px 40px 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 6px 18px rgba(46,255,166,0.06) inset;
}

    /* Titel */
    .login-header h2 {
        margin: 0;
        font-size: 22px;
        font-weight: 800;
        color: #061014;
        text-decoration: underline;
        text-decoration-thickness: 3px;
        text-underline-offset: 6px;
        text-decoration-color: rgba(0,0,0,0.06);
    }

/* Formulier */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 6px 12px 6px;
}

/* Input styling */
.login-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(10,30,60,0.06);
    background: var(--input-bg);
    font-size: 15px;
    color: var(--text);
    outline: none;
    transition: box-shadow .15s ease, border-color .15s ease;
}

    .login-input:focus {
        box-shadow: 0 6px 18px rgba(36,227,148,0.12);
        border-color: var(--theme-dark);
    }

    /* Placeholder kleur */
    .login-input::placeholder {
        color: rgba(6,6,6,0.45);
    }

/* Error / validation */
.validation-message {
    color: #c53030;
    font-size: 13px;
}

.error-message {
    color: #c53030;
    font-size: 14px;
    text-align: center;
    margin-top: 4px;
}

/* Submit knop */
.login-button {
    margin-top: 6px;
    width: 100%;
    display: inline-block;
    padding: 14px 22px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 40px;
    border: none;
    background: var(--theme);
    color: #000;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(46,255,166,0.12);
    transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}

    .login-button:hover {
        background: var(--theme-dark);
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(36,227,148,0.14);
    }

/* Visuele verbetering op grotere schermen */
@media (min-width: 992px) {
    .login-page {
        padding: 64px 32px;
        min-height: calc(100vh - 160px);
    }

    .login-container {
        max-width: 560px;
        padding: 28px;
        border-radius: 24px;
    }

    .login-header {
        padding: 30px;
        border-radius: 18px 22px 46px 12px;
    }

        .login-header h2 {
            font-size: 26px;
        }

    .login-button {
        padding: 16px 26px;
        font-size: 19px;
    }
}

/* Extra small screens (houdbaarheid) */
@media (max-width: 420px) {
    .login-container {
        border-radius: 12px;
        padding: 14px;
    }

    .login-header {
        padding: 16px;
    }

        .login-header h2 {
            font-size: 20px;
        }
}
