/* login.css — 1:1 recreatie van de Reese Media ControlPanel login */

:root {
    --blue: #0088ff;
    --ink: #16181d;
    --muted: #8a90a2;
    --right-bg: #edeef2;
    --card-bg: #f6f7fa;
    --input-bg: #f2f3f7;
    --border: #e0e3ea;
    --danger: #e0324b;
    --success: #1f9d63;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 100vh;
}

/* ------------------------------------------------------------------ Left */
.left {
    position: relative;
    background: #fff;
    padding: 48px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.brand {
    position: absolute;
    top: 46px;
    left: 60px;
}
.brand img { height: 42px; width: auto; display: block; }

/* Graphic links uitgelijnd met het logo (zelfde linkerrand) */
.left-content { max-width: 650px; margin: 0; width: 100%; }

.left-content h1 {
    font-size: 30px;
    line-height: 1.32;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 34px;
}

.left-content h1 .accent { color: var(--blue); }

.map { width: 100%; max-width: 650px; height: auto; display: block; }

.copyright {
    position: absolute;
    left: 60px;
    bottom: 26px;
    font-size: 12.5px;
    color: #9aa0ad;
}

/* ----------------------------------------------------------------- Right */
.right {
    background:
        radial-gradient(130% 90% at 100% 0%, #f4f5f9 0%, rgba(244,245,249,0) 55%),
        linear-gradient(180deg, #edeef2 0%, #e7e9f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 56px;
}

.login-box {
    width: 100%;
    max-width: 440px;
}

.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(0, 136, 255, .09);
    padding: 5px 11px;
    border-radius: 999px;
    margin-bottom: 15px;
}

.login-box h2 {
    font-size: 31px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin: 0 0 28px;
}
.login-box h2 .accent { color: var(--blue); font-weight: 700; }

/* Velden met label + icoon */
.form-group { margin-bottom: 14px; }
.lbl {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #454b5a;
    margin: 0 0 7px;
}
.input-wrap { position: relative; }
.input-wrap .ico {
    position: absolute;
    left: 15px; top: 50%;
    transform: translateY(-50%);
    width: 19px; height: 19px;
    color: #a2a8b6;
    pointer-events: none;
    transition: color .15s;
}
.input-wrap:focus-within .ico { color: var(--blue); }
.input-wrap .field { padding-left: 44px; margin-bottom: 0; }

.field {
    width: 100%;
    padding: 15px 16px;
    margin-bottom: 12px;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 9px;
    font-size: 15.5px;
    color: var(--ink);
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.field::placeholder { color: #9297a6; }
.field:focus {
    outline: none;
    background: #fff;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 136, 255, .15);
}

.options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 7px 2px 16px;
    font-size: 13px;
}
.remember { display: flex; align-items: center; gap: 9px; color: #5f6676; cursor: pointer; user-select: none; }
.remember input { position: absolute; opacity: 0; width: 0; height: 0; }
.remember .box {
    width: 18px; height: 18px;
    border-radius: 5px;
    border: 1.5px solid #c3c8d4;
    display: inline-grid;
    place-items: center;
    transition: background .15s, border-color .15s;
}
.remember .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transition: opacity .12s; }
.remember input:checked + .box { background: var(--blue); border-color: var(--blue); }
.remember input:checked + .box svg { opacity: 1; }
.remember input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(0, 136, 255, .2); }
.forgot { color: #6a7183; text-decoration: none; font-weight: 500; }
.forgot:hover { color: var(--blue); }

.btn-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px;
    border: none;
    border-radius: 9px;
    background: var(--blue);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
    cursor: pointer;
    transition: background .15s, transform .06s;
}
.btn-submit svg { width: 17px; height: 17px; }
.btn-submit:hover { background: #0a7ae6; }
.btn-submit:active { transform: translateY(1px); }

/* Gelabelde scheiding */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #9aa0ad;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: #e6e8ef; }

.quick-label { font-size: 14px; color: #9298a8; margin: 0 0 12px; }

.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.quick-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 11px;
    text-decoration: none;
    color: var(--ink);
    transition: box-shadow .15s, transform .1s, border-color .15s, background .15s;
}
.quick-card:hover { background: #fff; box-shadow: 0 8px 20px -8px rgba(20, 24, 35, .14); border-color: #cdd3de; transform: translateY(-1px); }
.quick-card img { height: 30px; width: 30px; object-fit: contain; flex: none; }
.quick-card span { display: flex; flex-direction: column; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.quick-card small { font-size: 11.5px; font-weight: 400; color: #98a; }

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 20px 0 0;
    font-size: 12px;
    color: #98a0ad;
}
.secure-note svg { width: 14px; height: 14px; flex: none; }

/* Alerts (fouten / setup) */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 18px;
}
.alert-error   { background: rgba(224, 50, 75, .1);  border: 1px solid rgba(224, 50, 75, .35);  color: #b3243a; }
.alert-success { background: rgba(31, 157, 99, .1);  border: 1px solid rgba(31, 157, 99, .35);  color: #157a4c; }

.hint { font-size: 12.5px; color: var(--muted); margin: -8px 2px 14px; }

/* ---------------------------------------------------------- Responsive */
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .left { display: none; }
    .right { min-height: 100vh; }
}
