@import url("/assets/inter.css");


* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f6f7f9;
    color: #171717;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.hidden {
    display: none !important;
}


/* ==========================================
   LOGIN
========================================== */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 36px;
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 18px;
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.07);
}

.brand {
    display: inline-block;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 800;
}

.login-card h1 {
    margin: 0 0 8px;
    font-size: 30px;
}

.muted {
    color: #71717a;
}

.login-card form,
.modal form {
    display: flex;
    flex-direction: column;
    margin-top: 28px;
}

label {
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid #d4d4d8;
    border-radius: 9px;
    outline: none;
    background: #ffffff;
}

input {
    min-height: 46px;
    margin-bottom: 18px;
}

input:focus,
textarea:focus {
    border-color: #18181b;
    box-shadow:
        0 0 0 3px rgba(24, 24, 27, 0.08);
}


/* ==========================================
   BUTTONS
========================================== */

.primary-button,
.secondary-button {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 9px;
    font-weight: 700;
}

.primary-button {
    border: 1px solid #18181b;
    background: #18181b;
    color: #ffffff;
}

.primary-button:hover {
    background: #27272a;
}

.primary-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.secondary-button {
    border: 1px solid #d4d4d8;
    background: #ffffff;
    color: #27272a;
}

.secondary-button:hover {
    background: #f4f4f5;
}

.compact {
    min-height: 40px;
}


/* ==========================================
   ADMIN LAYOUT
========================================== */

.admin-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns:
        250px
        1fr;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 26px 18px;
    border-right: 1px solid #e4e4e7;
    background: #ffffff;
}

.sidebar-brand {
    padding: 0 12px 28px;
    font-size: 19px;
    font-weight: 800;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-button {
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #52525b;
    text-align: left;
    font-weight: 600;
}

.nav-button:hover {
    background: #f4f4f5;
    color: #18181b;
}

.nav-button.active {
    background: #18181b;
    color: #ffffff;
}

.sidebar-bottom {
    margin-top: auto;
    padding: 20px 8px 0;
    border-top: 1px solid #e4e4e7;
}

.admin-name {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
}

.sidebar-bottom .secondary-button {
    width: 100%;
}

.content {
    min-width: 0;
    padding: 42px;
}

.page {
    max-width: 1400px;
    margin: 0 auto;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.page-header h1 {
    margin: 0 0 7px;
    font-size: 30px;
}

.page-header p {
    margin: 0;
}


/* ==========================================
   STATS
========================================== */

.stats-grid {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
    gap: 18px;
}

.stat-card {
    padding: 24px;
    border: 1px solid #e4e4e7;
    border-radius: 14px;
    background: #ffffff;
}

.stat-label {
    display: block;
    margin-bottom: 14px;
    color: #71717a;
    font-size: 14px;
    font-weight: 600;
}

.stat-number {
    display: block;
    font-size: 34px;
}


/* ==========================================
   TABLE
========================================== */

.table-card {
    overflow: hidden;
    border: 1px solid #e4e4e7;
    border-radius: 14px;
    background: #ffffff;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 15px 18px;
    border-bottom: 1px solid #eeeeef;
    text-align: left;
    white-space: nowrap;
}

th {
    background: #fafafa;
    color: #52525b;
    font-size: 13px;
    font-weight: 700;
}

td {
    font-size: 14px;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.empty-cell {
    padding: 40px;
    color: #71717a;
    text-align: center;
}

.status {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f4f4f5;
    font-size: 12px;
    font-weight: 700;
}

.status.active {
    background: #ecfdf3;
    color: #067647;
}

.status.pending {
    background: #fffaeb;
    color: #b54708;
}


/* ==========================================
   MODAL
========================================== */

.modal-backdrop {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.45);
}

.modal {
    width: 100%;
    max-width: 540px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 28px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.22);
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.modal-header h2 {
    margin: 0 0 7px;
}

.modal-header p {
    margin: 0;
}

.close-button {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: #f4f4f5;
    font-size: 24px;
    line-height: 1;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.error-message {
    min-height: 20px;
    margin: 0 0 14px;
    color: #b42318;
    font-size: 14px;
}


/* ==========================================
   ACTIVATIELINK
========================================== */

.invite-content {
    margin-top: 26px;
}

.success-box {
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid #abefc6;
    border-radius: 9px;
    background: #ecfdf3;
    color: #067647;
    font-size: 14px;
    font-weight: 600;
}

.invite-url {
    min-height: 110px;
    margin-bottom: 10px;
    resize: none;
    background: #fafafa;
    color: #27272a;
    line-height: 1.5;
    word-break: break-all;
}

.invite-warning {
    margin: 0;
    color: #71717a;
    font-size: 13px;
    line-height: 1.5;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (
    max-width: 900px
) {

    .admin-layout {
        display: block;
    }

    .sidebar {
        position: static;
        width: 100%;
        height: auto;
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .nav-button {
        width: auto;
        white-space: nowrap;
    }

    .sidebar-bottom {
        margin-top: 24px;
    }

    .content {
        padding: 24px;
    }

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

}


@media (
    max-width: 600px
) {

    .page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-header .primary-button {
        width: 100%;
    }

    .modal-actions {
        flex-direction: column-reverse;
    }

    .modal-actions button {
        width: 100%;
    }

}

/* KLYVERO ADMIN BRAND V1 */

:root {
    --klyvero-navy: #0f172a;
    --klyvero-blue: #3b82f6;
    --klyvero-purple: #8b5cf6;
    --klyvero-muted: #64748b;
    --klyvero-line: #e2e8f0;
    --klyvero-soft: #f8fafc;
}

html,
body {
    color: var(--klyvero-navy);
    background: var(--klyvero-soft);
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
}

.admin-login-brand {
    display: inline-flex;

    margin-bottom: 30px;

    text-decoration: none;
}

.admin-login-logo {
    width: 180px;
    height: auto;
}

.sidebar-brand {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    padding: 0 12px 28px;

    text-decoration: none;
}

.admin-sidebar-logo {
    width: 145px;
    height: auto;
}

.primary-button {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--klyvero-blue),
            var(--klyvero-purple)
        );

    border-color: transparent;

    box-shadow:
        0 8px 22px
        rgba(59, 130, 246, 0.16);
}

.primary-button:hover {
    background:
        linear-gradient(
            135deg,
            #2563eb,
            #7c3aed
        );

    border-color: transparent;

    box-shadow:
        0 11px 26px
        rgba(59, 130, 246, 0.22);
}

.nav-button.active {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--klyvero-blue),
            var(--klyvero-purple)
        );
}

input:focus,
textarea:focus {
    border-color:
        var(--klyvero-blue);

    box-shadow:
        0 0 0 3px
        rgba(59, 130, 246, 0.1);
}

.login-card {
    border-color:
        var(--klyvero-line);

    box-shadow:
        0 22px 60px
        rgba(15, 23, 42, 0.08);
}

.sidebar {
    border-color:
        var(--klyvero-line);
}

@media (max-width: 900px) {

    .admin-sidebar-logo {
        width: 138px;
    }

}


/* KLYVERO ADMIN CONTROL CENTER */

.admin-control-link {
    display: block;
    text-decoration: none;
}


/* ============================================================
   KLYVERO ADMIN POLISH 2026
   ============================================================ */

:root {
    --admin-bg: #f5f7fb;
    --admin-surface: #ffffff;
    --admin-surface-soft: #f8fafc;

    --admin-text: #101828;
    --admin-muted: #667085;
    --admin-soft-muted: #98a2b3;

    --admin-border: #e5e7eb;
    --admin-border-strong: #d0d5dd;

    --admin-blue: #2563eb;
    --admin-indigo: #6366f1;
    --admin-purple: #7c3aed;

    --admin-danger: #b42318;
    --admin-success: #067647;
    --admin-warning: #b54708;

    --admin-radius: 16px;

    --admin-shadow-xs:
        0 1px 2px
        rgba(16, 24, 40, 0.04);

    --admin-shadow-sm:
        0 4px 14px
        rgba(16, 24, 40, 0.055);

    --admin-shadow-md:
        0 14px 38px
        rgba(16, 24, 40, 0.075);
}


html,
body {
    background:
        radial-gradient(
            circle at 96% 0%,
            rgba(79, 70, 229, 0.035),
            transparent 25rem
        ),
        var(--admin-bg);

    color:
        var(--admin-text);

    -webkit-font-smoothing:
        antialiased;

    text-rendering:
        optimizeLegibility;
}


::selection {
    background:
        rgba(79, 70, 229, 0.14);
}


/* ------------------------------------------------------------
   LOGIN
------------------------------------------------------------ */

.login-page {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 88% 8%,
            rgba(124, 58, 237, 0.09),
            transparent 28%
        ),
        radial-gradient(
            circle at 12% 92%,
            rgba(37, 99, 235, 0.08),
            transparent 30%
        ),
        #f6f8fc;
}


.login-page::before {
    content: "";

    position: absolute;

    width: 460px;
    height: 460px;

    top: -260px;
    right: -190px;

    border:
        1px solid
        rgba(99, 102, 241, 0.08);

    border-radius:
        50%;

    pointer-events:
        none;
}


.login-card {
    position: relative;
    z-index: 1;

    max-width:
        430px;

    padding:
        39px;

    border:
        1px solid
        #e3e6ec;

    border-radius:
        20px;

    background:
        rgba(
            255,
            255,
            255,
            0.98
        );

    box-shadow:
        0 28px 75px
        rgba(
            16,
            24,
            40,
            0.105
        );
}


.admin-login-logo {
    width:
        165px;
}


.login-card h1 {
    color:
        #101828;

    font-size:
        31px;

    font-weight:
        680;

    letter-spacing:
        -0.035em;
}


.login-card .muted {
    color:
        var(--admin-muted);

    font-size:
        13px;
}


label {
    color:
        #344054;

    font-size:
        12px;

    font-weight:
        650;
}


input,
textarea {
    border-color:
        #d9dde5;

    border-radius:
        10px;

    color:
        #101828;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


input:focus,
textarea:focus {
    border-color:
        var(--admin-indigo);

    box-shadow:
        0 0 0 3px
        rgba(99, 102, 241, 0.1);
}


/* ------------------------------------------------------------
   BUTTONS
------------------------------------------------------------ */

.primary-button {
    border: 0;

    background:
        linear-gradient(
            135deg,
            var(--admin-blue),
            var(--admin-indigo) 55%,
            var(--admin-purple)
        );

    color:
        #ffffff;

    box-shadow:
        0 5px 14px
        rgba(79, 70, 229, 0.16);

    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease,
        filter 0.14s ease;
}


.primary-button:hover:not(:disabled) {
    background:
        linear-gradient(
            135deg,
            var(--admin-blue),
            var(--admin-indigo) 55%,
            var(--admin-purple)
        );

    filter:
        saturate(1.06);

    transform:
        translateY(-1px);

    box-shadow:
        0 8px 20px
        rgba(79, 70, 229, 0.21);
}


.secondary-button {
    border-color:
        #dfe3e9;

    background:
        #ffffff;

    color:
        #344054;

    box-shadow:
        var(--admin-shadow-xs);

    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        color 0.15s ease;
}


.secondary-button:hover {
    border-color:
        #d4d8e0;

    background:
        #f8fafc;

    color:
        #101828;
}


/* ------------------------------------------------------------
   ADMIN SHELL
------------------------------------------------------------ */

.admin-layout {
    grid-template-columns:
        262px
        1fr;
}


.sidebar {
    width:
        262px;

    padding:
        24px
        17px
        18px;

    border-right:
        1px solid
        #e8eaf0;

    background:
        rgba(
            255,
            255,
            255,
            0.96
        );

    box-shadow:
        8px
        0
        30px
        rgba(16, 24, 40, 0.018);
}


.sidebar-brand {
    margin:
        0
        9px
        25px;

    padding: 0;
}


.admin-sidebar-logo {
    width:
        144px;
}


.sidebar-nav {
    gap:
        3px;
}


.nav-button {
    min-height:
        39px;

    display: flex;
    align-items: center;

    padding:
        9px
        11px;

    border:
        1px solid
        transparent;

    border-radius:
        9px;

    color:
        #596172;

    font-size:
        12px;

    font-weight:
        620;

    transition:
        color 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}


.nav-button:hover {
    border-color:
        #eef0f4;

    background:
        #f8f9fb;

    color:
        #202939;

    transform:
        translateX(1px);
}


.nav-button.active {
    border-color:
        rgba(79, 70, 229, 0.08);

    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.1),
            rgba(124, 58, 237, 0.08)
        );

    color:
        #4338ca;

    box-shadow:
        inset
        3px
        0
        0
        #6366f1;
}


.admin-control-link {
    color:
        #596172;
}


.admin-control-link::after {
    content:
        "↗";

    margin-left:
        auto;

    color:
        #98a2b3;

    font-size:
        10px;
}


.sidebar-bottom {
    padding:
        18px
        8px
        0;

    border-top:
        1px solid
        #eef0f4;
}


.admin-name {
    color:
        #344054;

    font-size:
        12px;
}


/* ------------------------------------------------------------
   CONTENT
------------------------------------------------------------ */

.content {
    padding:
        39px
        42px
        56px;

    background:
        transparent;
}


.page {
    max-width:
        1400px;
}


.page-header {
    margin-bottom:
        27px;
}


.page-header h1 {
    color:
        #101828;

    font-size:
        clamp(
            27px,
            2.4vw,
            32px
        );

    font-weight:
        680;

    letter-spacing:
        -0.035em;
}


.page-header p {
    color:
        var(--admin-muted);

    font-size:
        12px;
}


.page > h2 {
    margin-bottom:
        14px;

    color:
        #344054;

    font-size:
        14px;

    font-weight:
        700;

    letter-spacing:
        -0.01em;
}


/* ------------------------------------------------------------
   STATS
------------------------------------------------------------ */

.stats-grid {
    gap:
        14px;
}


.stat-card {
    position: relative;

    overflow: hidden;

    min-height:
        116px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        20px
        21px;

    border:
        1px solid
        #e7e9ee;

    border-radius:
        var(--admin-radius);

    background:
        linear-gradient(
            150deg,
            #ffffff,
            #fbfcff
        );

    box-shadow:
        var(--admin-shadow-xs);

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}


.stat-card::before {
    content: "";

    position: absolute;

    inset:
        0
        auto
        0
        0;

    width:
        3px;

    background:
        linear-gradient(
            180deg,
            var(--admin-blue),
            var(--admin-purple)
        );

    opacity:
        0.7;
}


.stat-card:hover {
    border-color:
        #dde1e8;

    box-shadow:
        var(--admin-shadow-sm);

    transform:
        translateY(-1px);
}


.stat-label {
    margin-bottom:
        11px;

    color:
        #7a8290;

    font-size:
        11px;

    font-weight:
        650;
}


.stat-number {
    color:
        #101828;

    font-size:
        29px;

    font-weight:
        680;

    letter-spacing:
        -0.035em;
}


/* ------------------------------------------------------------
   TABLES
------------------------------------------------------------ */

.table-card {
    border-color:
        #e7e9ee;

    border-radius:
        16px;

    box-shadow:
        var(--admin-shadow-xs);
}


table {
    border-collapse:
        separate;

    border-spacing:
        0;
}


th,
td {
    padding:
        14px
        17px;

    border-bottom:
        1px solid
        #edf0f3;
}


th {
    background:
        #f8fafc;

    color:
        #667085;

    font-size:
        10px;

    font-weight:
        750;

    letter-spacing:
        0.02em;
}


td {
    color:
        #344054;

    font-size:
        12px;
}


tbody tr {
    transition:
        background 0.12s ease;
}


tbody tr:hover {
    background:
        #fafbfc;
}


.empty-cell {
    color:
        #8a94a6;
}


/* ------------------------------------------------------------
   STATUS
------------------------------------------------------------ */

.status {
    min-height:
        25px;

    padding:
        4px
        8px;

    background:
        #f1f3f7;

    color:
        #667085;

    font-size:
        10px;
}


.status.active {
    border:
        1px solid
        #bbebd2;

    background:
        #ecfdf3;

    color:
        var(--admin-success);
}


.status.pending {
    border:
        1px solid
        #fedf89;

    background:
        #fffaeb;

    color:
        var(--admin-warning);
}


/* ------------------------------------------------------------
   MODALS
------------------------------------------------------------ */

.modal-backdrop {
    background:
        rgba(
            16,
            24,
            40,
            0.48
        );

    backdrop-filter:
        blur(3px);
}


.modal {
    border:
        1px solid
        #e5e7eb;

    border-radius:
        18px;

    box-shadow:
        0 30px 90px
        rgba(
            16,
            24,
            40,
            0.22
        );
}


.modal-header h2 {
    color:
        #101828;

    font-size:
        20px;

    letter-spacing:
        -0.02em;
}


.close-button {
    background:
        #f2f4f7;

    color:
        #667085;

    transition:
        background 0.15s ease,
        color 0.15s ease;
}


.close-button:hover {
    background:
        #eaecf0;

    color:
        #101828;
}


.invite-url {
    border:
        1px solid
        #e2e5ea;

    background:
        #f8fafc;

    color:
        #344054;
}


/* ------------------------------------------------------------
   FOCUS / MOTION
------------------------------------------------------------ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline:
        2px solid
        #6366f1;

    outline-offset:
        2px;
}


@keyframes klyveroAdminFade {

    from {
        opacity: 0;
        transform:
            translateY(3px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }

}


.page:not(.hidden) > * {
    animation:
        klyveroAdminFade
        0.2s
        ease-out
        both;
}


@media (
    prefers-reduced-motion:
    reduce
) {

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }

}


/* ------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------ */

@media (
    max-width: 900px
) {

    .admin-layout {
        display:
            block;
    }


    .sidebar {
        position:
            static;

        width:
            100%;

        height:
            auto;

        padding:
            18px
            16px;

        border-right:
            0;

        border-bottom:
            1px solid
            var(--admin-border);

        box-shadow:
            none;
    }


    .sidebar-brand {
        margin-bottom:
            15px;
    }


    .sidebar-nav {
        display:
            grid;

        grid-template-columns:
            repeat(
                4,
                minmax(
                    0,
                    1fr
                )
            );

        gap:
            6px;

        overflow:
            visible;
    }


    .nav-button {
        width:
            100%;

        justify-content:
            center;

        text-align:
            center;
    }


    .sidebar-bottom {
        margin-top:
            18px;
    }


    .content {
        padding:
            26px
            18px
            44px;
    }

}


@media (
    max-width: 650px
) {

    .sidebar-nav {
        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );
    }


    .content {
        padding:
            22px
            14px
            38px;
    }


    .page-header h1 {
        font-size:
            25px;
    }


    .login-card {
        padding:
            30px
            24px;
    }

}


/* KLYVERO GLOBAL INTER */
html,
body,
button,
input,
textarea,
select {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


/* ==========================================
   CONTACTBERICHTEN
========================================== */

.message-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: auto;
    padding: 0 6px;
    border-radius: 999px;
    background: #172033;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.contact-messages-list {
    display: grid;
    gap: 14px;
}

.admin-message-card {
    padding: 22px;
    border: 1px solid #e3e7ee;
    border-radius: 14px;
    background: #ffffff;
}

.admin-message-card.is-new {
    border-left: 4px solid #172033;
}

.admin-message-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.admin-message-name {
    margin: 0;
    font-size: 17px;
}

.admin-message-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-top: 6px;
    color: #6d7786;
    font-size: 13px;
}

.admin-message-meta a {
    color: inherit;
}

.admin-message-status {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef1f5;
    color: #5f6876;
    font-size: 12px;
    font-weight: 700;
}

.admin-message-status.new {
    background: #e8f5ed;
    color: #18794e;
}

.admin-message-body {
    margin-top: 18px;
    white-space: pre-wrap;
    line-height: 1.65;
    color: #273142;
}

.admin-message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.admin-message-empty {
    padding: 36px;
    border: 1px dashed #d8dde6;
    border-radius: 14px;
    color: #758092;
    text-align: center;
}

@media (max-width: 700px) {

    .admin-message-top {
        flex-direction: column;
    }

}


/* ============================================================
   KLYVERO ADMIN SYSTEM PAGE
   ============================================================ */

.admin-section-spaced {
    margin-top: 38px !important;
}

.system-stats-grid {
    grid-template-columns:
        repeat(
            4,
            minmax(
                0,
                1fr
            )
        );
}

.system-status-value {
    font-size: 20px;
    font-weight: 700;
}

.system-status-value.online {
    color: #067647;
}

.system-status-value.degraded {
    color: #b54708;
}

.system-status-value.offline {
    color: #b42318;
}

.system-uptime {
    font-size: 22px;
}

.system-billing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin:
        -4px
        0
        14px;
}

.system-billing-header p {
    margin: 0;
}

.system-pill {
    display: inline-flex;
    align-items: center;

    min-height: 26px;

    padding:
        5px
        9px;

    border-radius: 999px;

    background: #f2f4f7;

    color: #667085;

    font-size: 10px;
    font-weight: 700;
}

.system-pill.active {
    border: 1px solid #abefc6;

    background: #ecfdf3;

    color: #067647;
}


@media (
    max-width: 1100px
) {

    .system-stats-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );
    }

}


@media (
    max-width: 650px
) {

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


    .system-billing-header {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* ============================================================
   KLYVERO ADMIN SIDEBAR FINAL
   ============================================================ */

@media (
    min-width: 901px
) {

    .admin-layout {
        min-height: 100vh;
    }

    .sidebar {
        position: sticky;
        top: 0;

        height: 100vh;

        display: flex;
        flex-direction: column;

        overflow: hidden;
    }

    .sidebar-nav {
        display: flex;
        flex-direction: column;

        gap: 3px;

        min-height: 0;
    }

    .sidebar-bottom {
        margin-top: auto;
    }

}


/* Links en buttons exact dezelfde vorm */
.sidebar-nav a.nav-button {
    display: flex;
    align-items: center;

    width: 100%;

    text-decoration: none;
}


/* Oude Platform-entry mag nergens meer zichtbaar zijn */
.sidebar-nav a[href^="/admin/platform"],
.sidebar-nav button[data-page="platform"] {
    display: none !important;
}
