
/* ---- Base reset ---- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ---- Page foundation ---- */
html, body {
    height: 100%;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.5;
}



/* ---- Logo ---- */
img.logo {
    display: block;
    margin: 32px auto 24px auto;
    max-width: 160px;
    width: 100%;
    height: auto;
}

/* ---- Landing page image ---- */
img.landingpage {
    display: block;
    margin: 0 auto 40px auto;
    max-width: 900px;
    width: 90%;
    height: auto;
    cursor: pointer;
}

/* ---- Links (minimal, invisible by default) ---- */
a {
    text-decoration: none;
    color: inherit;
}

/* ---- Optional: subtle hover feedback ---- */
a:hover img.landingpage {
    opacity: 0.95;
}

/* ---- Mobile friendliness ---- */
@media (max-width: 600px) {
    img.logo {
        max-width: 120px;
    }

    img.landingpage {
        width: 95%;
    }
}
/* ---- Auth page centering ---- */
.auth-wrapper {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 24px;
}

/* ---- Login form container ---- */
form.login-form {
    background-color: #1e1e1e;
    padding: 32px 36px;
    border-radius: 10px;
    width: 100%;
    max-width: 420px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    text-align: left;
}

/* ---- Form fields ---- */
.login-form .field {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #bdbdbd;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background-color: #181818;
    color: #e0e0e0;
    font-size: 1rem;
}

.login-form input:focus {
    outline: none;
    border-color: #4caf50;
}

/* ---- Buttons ---- */
.login-form .buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.login-form .buttonbig {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;

    background-color: #2e7d32;
    color: #fff;
}

.login-form .buttonbig[type="reset"] {
    background-color: #424242;
}

/* ---- Error message ---- */
.login-form .error {
    margin-bottom: 16px;
    color: #ff6b6b;
    font-size: 0.9rem;
}
/* ---- Top bar ---- */
.topbar {
    position: relative;
    width: 100%;
    height: 48px;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    padding: 0 16px;
}

/* ---- Logout button ---- */
a.logout {
    display: inline-flex;
    align-items: center;
}

a.logout img.logout {
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

a.logout:hover img.logout {
    opacity: 1;
}

/* ---- Workflow menu ---- */
table.menu {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    border-collapse: separate;
    border-spacing: 0 12px;
}

/* ---- Menu rows ---- */
table.menu tr {
    background-color: #1e1e1e;
}

/* ---- Cells ---- */
table.menu td {
    padding: 16px 20px;
    vertical-align: middle;
}

/* ---- First column: action ---- */
table.menu td:first-child {
    width: 220px;
}

/* ---- Action button ---- */
a.knop {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 6px;

    background-color: #2e7d32;
    color: #ffffff;

    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

a.knop:hover {
    background-color: #388e3c;
}

/* ---- Description text ---- */
table.menu td:last-child {
    color: #bdbdbd;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ---- Mobile layout ---- */
@media (max-width: 700px) {
    table.menu,
    table.menu tbody,
    table.menu tr,
    table.menu td {
        display: block;
        width: 100%;
    }

    table.menu tr {
        margin-bottom: 16px;
    }

    table.menu td:first-child {
        width: auto;
        margin-bottom: 8px;
    }
}
/* =====================================
   Workflow table (extended)
   ===================================== */

table.menu {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    border-collapse: separate;
    border-spacing: 0 10px;
}

/* Row container */
table.menu tr {
    background-color: #1e1e1e;
}

/* Cells */
table.menu td {
    padding: 14px 18px;
    vertical-align: middle;
}

/* --- Column sizing --- */
table.menu td:nth-child(1) {
    width: 220px;
}

table.menu td:nth-child(3) {
    width: 200px;
    text-align: right;
    font-size: 0.85rem;
    color: #9e9e9e;
    white-space: nowrap;
}

/* --- Description column --- */
table.menu td:nth-child(2) {
    font-size: 0.9rem;
    color: #cfcfcf;
    line-height: 1.4;
}

/* =====================================
   Primary action button (link + button)
   ===================================== */

.knop {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 6px;

    background-color: #2e7d32;
    color: #ffffff;

    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;

    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Hover */
.knop:hover {
    background-color: #388e3c;
}

/* Remove native button quirks */
button.knop {
    appearance: none;
    -webkit-appearance: none;
}


/* =====================================
   Scope selector
   ===================================== */

table.menu select {
    margin-top: 8px;
    padding: 6px 8px;

    background-color: #181818;
    color: #e0e0e0;

    border: 1px solid #333;
    border-radius: 5px;
    font-size: 0.85rem;
}

table.menu select:focus {
    outline: none;
    border-color: #4caf50;
}

/* =====================================
   Last-run status
   ===================================== */

table.menu td:last-child {
    font-style: italic;
}

/* =====================================
   Mobile fallback
   ===================================== */

@media (max-width: 800px) {
    table.menu,
    table.menu tbody,
    table.menu tr,
    table.menu td {
        display: block;
        width: 100%;
    }

    table.menu tr {
        margin-bottom: 16px;
        padding: 12px;
    }

    table.menu td {
        padding: 8px 0;
        text-align: left;
    }

    table.menu td:nth-child(3) {
        text-align: left;
        color: #9e9e9e;
    }
}
/* =====================================
   Audit trail table
   ===================================== */

table.audittrail {
    width: 100%;
    max-width: 1200px;
    margin: 32px auto 60px auto;
    border-collapse: separate;
    border-spacing: 0 6px;
}

/* Header rows */
table.audittrail th {
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: #bdbdbd;
    padding: 10px 14px;
}

/* Navigation row (Back / Forward) */
table.audittrail th.nav-cell {
    width: 140px;
}

table.audittrail th a.knop {
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* Data rows */
table.audittrail td {
    padding: 10px 14px;
    background-color: #1e1e1e;
    vertical-align: top;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Timestamp column */
table.audittrail td:first-child {
    width: 190px;
    color: #9e9e9e;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Action column */
table.audittrail td:nth-child(2) {
    width: 280px;
    font-weight: 500;
    color: #e0e0e0;
}

/* Result column */
table.audittrail td:nth-child(3) {
    color: #cfcfcf;
    word-break: break-word;
}

/* Subtle hover (inspection aid) */
table.audittrail tr:hover td {
    background-color: #242424;
}
/* =====================================
   Audit trail – Result column (full text)
   ===================================== */

table.audittrail td:nth-child(3) {
    white-space: normal;        /* allow wrapping */
    word-break: break-word;     /* break long tokens */
    overflow-wrap: anywhere;    /* modern browsers */
}


/* =====================================
   Mobile fallback
   ===================================== */

@media (max-width: 900px) {
    table.audittrail,
    table.audittrail tbody,
    table.audittrail tr,
    table.audittrail th,
    table.audittrail td {
        display: block;
        width: 100%;
    }

    table.audittrail tr {
        margin-bottom: 14px;
    }

    table.audittrail td {
        padding: 8px 12px;
    }

    table.audittrail td:first-child {
        margi
/* =====================================
   Legal / privacy pages
   ===================================== */

main.legal {
    max-width: 900px;
    margin: 40px auto 80px auto;
    padding: 0 24px;
}

/* Header */
.legal-header h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.legal-header .meta {
    font-size: 0.85rem;
    color: #9e9e9e;
    margin-bottom: 32px;
}

/* Sections */
main.legal section {
    margin-bottom: 32px;
}

main.legal h2 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

main.legal h3 {
    font-size: 1rem;
    margin: 16px 0 8px 0;
}

/* Text */
main.legal p,
main.legal li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d0d0d0;
}

/* Lists */
main.legal ul {
    margin: 8px 0 16px 20px;
}

/* Address block */
.legal-address {
    margin: 12px 0 16px 0;
    font-style: normal;
    color: #cfcfcf;
}

.legal-address a {
    color: #81c784;
}

/* Links */
main.legal a {
    color: #81c784;
    text-decoration: underline;
}

main.legal a:hover {
    color: #a5d6a7;
}
/* =====================================
   Site footer
   ===================================== */

.site-footer {
    margin-top: 60px;
    padding: 16px 0 24px 0;

    border-top: 1px solid #2a2a2a;

    text-align: center;
    font-size: 0.8rem;
    color: #9e9e9e;
}

/* Footer navigation */
.site-footer .footer-nav a {
    color: #9e9e9e;
    text-decoration: none;
}

/* Hover: subtle, not promotional */
.site-footer .footer-nav a:hover {
    text-decoration: underline;
    color: #bdbdbd;
}


