:root {
    color-scheme: light;
    --ink: #17212b;
    --muted: #607080;
    --line: #dfe6ec;
    --soft: #f5f7f9;
    --green: #176f4d;
    --yellow: #f8c05a;
    --blue: #2366d1;
    --red: #bf3434;
    --shadow: 0 22px 70px rgba(10, 18, 28, .18);
}

* { box-sizing: border-box; }

body {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(245, 247, 249, .96)),
        url("https://pcvdwiel.nl/wp-content/uploads/2025/03/1600-x-620-1.jpg") center / cover fixed;
}

.client-login {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(10, 18, 28, .72);
}

.client-login.hidden { display: none; }

.client-login-card {
    width: min(430px, 100%);
    display: grid;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 8px;
    padding: 28px;
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--shadow);
}

.client-login-card img,
.client-brand img {
    width: 174px;
    height: auto;
}

.eyebrow {
    margin: 0;
    color: #b57915;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }

.client-login-card h1,
.client-header h1,
.client-hero h2 {
    margin-bottom: 0;
    letter-spacing: 0;
}

.client-login-card label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

input,
button {
    min-height: 38px;
    border-radius: 3px;
    font: inherit;
    font-weight: 850;
}

input {
    border: 1px solid var(--line);
    padding: 0 11px;
    background: #fff;
}

button {
    border: 1px solid #0d5f3e;
    padding: 0 14px;
    background-image: linear-gradient(#21845d, var(--green));
    color: #fff;
    cursor: pointer;
    box-shadow: rgba(255, 255, 255, .35) 0 1px 0 inset;
}

.client-shell {
    width: min(1500px, calc(100% - 36px));
    margin: 0 auto;
    padding: 22px 0 40px;
}

.client-header,
.client-hero,
.client-card,
.client-stats article {
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
}

.client-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
}

.client-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.client-brand span {
    color: var(--muted);
    font-weight: 850;
}

.client-hero {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px;
}

.client-hero h2 {
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1;
}

.client-hero p {
    margin: 12px 0 0;
    color: var(--muted);
    font-weight: 850;
}

.progress-ring {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 156px;
    height: 156px;
    border-radius: 50%;
    background: conic-gradient(var(--green) 0deg, #dfe5dc 0deg);
}

.progress-ring span {
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #fff;
    font-size: 28px;
    font-weight: 950;
}

.client-stats {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.client-stats article {
    display: grid;
    gap: 7px;
    min-height: 105px;
    align-content: center;
    padding: 16px;
}

.client-stats strong {
    font-size: 34px;
    line-height: 1;
}

.client-stats span,
.client-list small,
.empty-state {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.client-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
    gap: 16px;
}

.client-card {
    padding: 18px;
}

.section-heading {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.client-list {
    display: grid;
    gap: 10px;
}

.client-list article {
    display: grid;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: var(--soft);
}

.client-list article > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.client-list ul {
    margin: 4px 0 0;
    padding-left: 18px;
}

.status {
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 950;
}

.status-geleegd { background: #dff3e7; color: var(--green); }
.status-open { background: #fff6d8; color: #9a6710; }
.status-probleem { background: #e9f0ff; color: var(--blue); }
.status-niet_bereikbaar { background: #fde4dd; color: var(--red); }

@media (max-width: 900px) {
    .client-header,
    .client-hero,
    .client-brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .client-stats,
    .client-grid {
        grid-template-columns: 1fr;
    }
}
