:root {
    --bg:          #0d0d10;
    --surface:     #18181f;
    --surface-alt: #1e1e27;
    --border:      rgba(255, 255, 255, 0.07);
    --border-mid:  rgba(255, 255, 255, 0.11);
    --text:        #EEEDF2;
    --muted:       #6b6a76;
    --accent:      #8B83E8;
    --accent-bg:   rgba(139, 131, 232, 0.12);
    --accent-text: #b8b3f0;
    --green:       #3BBFA0;
    --red:         #E87070;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    min-height: 100vh;
}

/* ── Login ── */

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-card {
    background: var(--surface);
    border: 1px solid var(--border-mid);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 380px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.logo-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 32px rgba(139, 131, 232, 0.35);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-text {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--text);
}

.logo-tagline {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.01em;
}

.login-subtitle {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 1.75rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.field input {
    background: var(--surface-alt);
    border: 1px solid var(--border-mid);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
}

.field input::placeholder {
    color: var(--muted);
}

.field input:focus {
    border-color: var(--accent);
}

.btn-login {
    margin-top: 0.5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.15s;
}

.btn-login:hover {
    opacity: 0.88;
}

/* ── Responsive ── */

@media (max-width: 480px) {
    .login-card {
        margin: 1rem;
        padding: 2rem 1.25rem;
        border-radius: 12px;
    }

    .logo-text {
        font-size: 16px;
    }

    .field input {
        font-size: 16px; /* voorkomt auto-zoom op iOS */
    }
}
