@import url('/account/profile/theme.css.php');

:root {
    --cp-orange: #FF8C00;
    --cp-orange-dark: #E67E00;
    --cp-anthracite: #383E42;
    --cp-anthracite-deep: #2F3539;
    --cp-white: #FFFFFF;
    --cp-bg: #EEF2F4;
    --cp-border: #D9E0E4;
    --cp-muted: #69747A;
    --cp-red: #A83232;
    --cp-red-bg: #FFF0F0;
    --cp-green: #247A4B;
    --cp-green-bg: #ECF8F1;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--cp-anthracite);
    background: var(--cp-bg);
}

.cp-auth-body {
    background:
        linear-gradient(
            180deg,
            var(--cp-anthracite) 0 175px,
            var(--cp-bg) 175px 100%
        );
}

.cp-auth-shell,
.cp-admin-shell {
    padding: 46px 18px;
}

.cp-auth-card,
.cp-admin-card {
    width: min(500px, 100%);
    margin: 0 auto;
    overflow: hidden;
    background: var(--cp-white);
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(35, 43, 47, .15);
}

.cp-auth-header {
    min-height: 132px;
    padding: 26px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--cp-anthracite);
    border-bottom: 4px solid var(--cp-orange);
}

.cp-auth-header img {
    width: 205px;
    max-width: 68%;
    height: auto;
}

.cp-auth-header span {
    color: var(--cp-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.cp-auth-content,
.cp-admin-card {
    padding: 32px;
}

.cp-auth-content h1,
.cp-admin-card h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

.cp-muted {
    margin: 0 0 24px;
    color: var(--cp-muted);
    line-height: 1.6;
}

.cp-field {
    display: block;
    margin-bottom: 18px;
}

.cp-field > span {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 700;
}

.cp-field input {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #BFC8CD;
    border-radius: 8px;
    background: var(--cp-white);
    color: var(--cp-anthracite);
    font: inherit;
}

.cp-field input:focus {
    outline: 2px solid rgba(255, 140, 0, .2);
    border-color: var(--cp-orange);
}

.cp-button {
    min-height: 46px;
    padding: 12px 18px;
    border: 0;
    border-radius: 9px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.cp-button--primary {
    width: 100%;
    background: var(--cp-orange);
    color: var(--cp-white);
}

.cp-button--primary:hover {
    background: var(--cp-orange-dark);
}

.cp-alert {
    margin: 0 0 20px;
    padding: 13px 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.cp-alert--error {
    border: 1px solid #E6B5B5;
    background: var(--cp-red-bg);
    color: var(--cp-red);
}

.cp-alert--success {
    border: 1px solid #BFE2CE;
    background: var(--cp-green-bg);
    color: var(--cp-green);
}

.cp-auth-help,
.cp-policy {
    margin-top: 24px;
    padding: 17px 18px;
    border-radius: 10px;
    background: #F6F8F9;
    font-size: 13px;
    line-height: 1.55;
}

.cp-auth-help p {
    margin: 5px 0 0;
    color: var(--cp-muted);
}

.cp-policy {
    margin: 0 0 22px;
}

.cp-policy ul {
    margin: 8px 0 0;
    padding-left: 20px;
    color: var(--cp-muted);
}

.cp-topbar {
    background: var(--cp-anthracite);
    border-bottom: 4px solid var(--cp-orange);
}

.cp-topbar__inner {
    width: 100%;
    max-width: none;
    min-height: 80px;
    margin: 0;
    padding: 12px 26px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cp-brand img {
    display: block;
    width: 180px;
    height: auto;
}

.cp-account {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    color: var(--cp-white);
    text-align: right;
}

.cp-account strong,
.cp-account span {
    display: block;
}

.cp-account span {
    margin-top: 3px;
    color: #C9D0D4;
    font-size: 12px;
}

.cp-logout {
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid #697278;
    border-radius: 7px;
    background: transparent;
    color: var(--cp-white);
    font-weight: 700;
    cursor: pointer;
}

.cp-dashboard {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 38px 22px 55px;
}

.cp-welcome {
    margin-bottom: 28px;
}

.cp-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #C96D00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.cp-welcome h1 {
    margin: 0;
    font-size: 32px;
}

.cp-welcome p {
    max-width: 760px;
    color: var(--cp-muted);
    line-height: 1.65;
}

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

.cp-tile {
    min-height: 225px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--cp-border);
    border-radius: 13px;
    background: var(--cp-white);
    box-shadow: 0 8px 22px rgba(35, 43, 47, .045);
}

.cp-tag {
    width: fit-content;
    margin-bottom: 12px;
    padding: 5px 8px;
    border-radius: 6px;
    background: #FFF4E7;
    color: #C96D00;
    font-size: 10px;
    font-weight: 800;
}

.cp-tile h2 {
    margin: 0;
    font-size: 19px;
}

.cp-tile p {
    color: var(--cp-muted);
    font-size: 14px;
    line-height: 1.6;
}

.cp-tile-status {
    margin-top: auto;
    color: #8A9499;
    font-size: 12px;
    font-weight: 700;
}

.cp-client-summary,
.cp-admin-portal-box {
    margin: 18px 0 22px;
    padding: 16px 18px;
    border-left: 3px solid var(--cp-orange);
    background: #FFF8EF;
}

.cp-client-summary strong,
.cp-client-summary span {
    display: block;
}

.cp-client-summary span {
    margin-top: 4px;
    color: var(--cp-muted);
}

.cp-feature-list,
.cp-feature-grid {
    display: grid;
    gap: 10px;
}

.cp-feature-list {
    margin: 18px 0 22px;
}

.cp-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
}

.cp-feature-list label,
.cp-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.cp-check input,
.cp-feature-list input {
    margin-top: 3px;
}

.cp-check span,
.cp-check small {
    display: block;
}

.cp-check small {
    margin-top: 3px;
    color: var(--cp-muted);
}

.cp-check + .cp-check {
    margin-top: 14px;
}

.cp-feature-picks {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #E8D7C2;
}

.cp-feature-picks > small {
    display: block;
    margin-top: 4px;
    color: var(--cp-muted);
}

.cp-check--compact {
    margin: 0 !important;
    padding: 7px 8px;
    border: 1px solid #E4E8EA;
    border-radius: 7px;
    background: #FFF;
}

.cp-info-list {
    margin: 20px 0;
}

.cp-info-list > div {
    padding: 10px 0;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 15px;
    border-bottom: 1px solid var(--cp-border);
}

.cp-info-list dt {
    font-weight: 700;
}

.cp-info-list dd {
    margin: 0;
}

.cp-back {
    margin: 20px 0 0;
}

.cp-back a {
    color: #C96D00;
    font-weight: 700;
}

@media (max-width: 820px) {
    .cp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .cp-auth-shell,
    .cp-admin-shell {
        padding: 18px 10px 30px;
    }

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

    .cp-auth-content,
    .cp-admin-card {
        padding: 24px 20px;
    }

    .cp-topbar__inner,
    .cp-account {
        align-items: flex-start;
        flex-direction: column;
    }

    .cp-dashboard {
        padding: 28px 16px 40px;
    }

    .cp-grid,
    .cp-feature-grid {
        grid-template-columns: 1fr;
    }
}


/* Unified login - polished production layout */
.cp-auth-body {
    min-height: 100vh;
    background: #eef2f4;
}

.cp-auth-body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto 0;
    height: 210px;
    background: #383E42;
    z-index: -1;
}

.cp-auth-shell {
    min-height: 100vh;
    padding: 56px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-auth-card {
    width: min(480px, 100%);
    margin: 0;
    overflow: hidden;
    border: 1px solid #d8dee2;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(30, 38, 43, .18);
}

.cp-login-brand {
    min-height: 104px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #383E42;
    border-bottom: 4px solid #FF8C00;
}

.cp-login-brand img {
    width: 178px;
    max-width: 52%;
    height: auto;
    display: block;
}

.cp-login-brand__text {
    text-align: right;
}

.cp-login-brand__text span,
.cp-login-brand__text strong {
    display: block;
}

.cp-login-brand__text span {
    color: #FF8C00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.cp-login-brand__text strong {
    margin-top: 5px;
    color: #d8dee2;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
}

.cp-auth-content {
    padding: 30px 30px 26px;
}

.cp-login-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #c96d00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cp-auth-content h1 {
    margin: 0 0 8px;
    color: #383E42;
    font-size: 28px;
    line-height: 1.15;
}

.cp-auth-content .cp-muted {
    margin-bottom: 24px;
    color: #68747a;
    font-size: 14px;
    line-height: 1.55;
}

.cp-field {
    margin-bottom: 16px;
}

.cp-field > span {
    margin-bottom: 7px;
    color: #383E42;
    font-size: 13px;
}

.cp-field input {
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #c7d0d5;
    border-radius: 8px;
    background: #ffffff;
    font-size: 15px;
}

.cp-field input:focus {
    border-color: #FF8C00;
    outline: 3px solid rgba(255, 140, 0, .16);
    outline-offset: 1px;
}

.cp-button--primary {
    min-height: 46px;
    border-radius: 8px;
    background: #FF8C00;
    font-size: 14px;
}

.cp-auth-help {
    margin-top: 22px;
    padding: 14px 15px;
    border: 1px solid #e1e6e9;
    border-radius: 9px;
    background: #f6f8f9;
}

.cp-auth-help strong {
    color: #383E42;
    font-size: 12px;
}

.cp-auth-help p {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.5;
}

.cp-login-footer {
    padding: 15px 30px 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-top: 1px solid #e4e8ea;
    background: #fafbfb;
    color: #7b858a;
    font-size: 11px;
}

@media (max-width: 560px) {
    .cp-auth-body::before {
        height: 160px;
    }

    .cp-auth-shell {
        padding: 24px 12px;
        align-items: flex-start;
    }

    .cp-login-brand {
        min-height: 92px;
        padding: 18px 20px;
    }

    .cp-login-brand img {
        max-width: 58%;
    }

    .cp-login-brand__text strong {
        display: none;
    }

    .cp-auth-content {
        padding: 24px 20px 22px;
    }

    .cp-login-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* Projectactie achter geauthenticeerde klantportal */
.cp-project-action-card {
    max-width: 820px;
    padding: 26px;
    border: 1px solid var(--cp-border);
    border-radius: 14px;
    background: var(--cp-white);
    box-shadow: 0 10px 28px rgba(35, 43, 47, .06);
}

.cp-project-action-card__details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cp-project-action-card__details > div {
    padding: 14px 15px;
    border: 1px solid var(--cp-border);
    border-radius: 9px;
    background: #f8fafb;
}

.cp-project-action-card__details span,
.cp-project-action-card__details strong {
    display: block;
}

.cp-project-action-card__details span {
    margin-bottom: 5px;
    color: var(--cp-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cp-project-action-card__details strong {
    color: var(--cp-anthracite);
    font-size: 14px;
}

.cp-project-action-card__notice {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 4px solid var(--cp-orange);
    border-radius: 8px;
    background: #fff7ed;
}

.cp-project-action-card__notice p {
    margin: 5px 0 0;
    color: var(--cp-muted);
    font-size: 13px;
    line-height: 1.55;
}

.cp-project-actions {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.cp-project-actions form {
    margin: 0;
}

.cp-project-actions .cp-button {
    width: auto;
}

.cp-button--danger {
    background: #8f2f28;
    color: #fff;
}

.cp-button--danger:hover {
    background: #78251f;
}

@media (max-width: 700px) {
    .cp-project-action-card__details {
        grid-template-columns: 1fr;
    }

    .cp-project-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cp-project-actions form,
    .cp-project-actions .cp-button {
        width: 100%;
    }
}


/* Eerste wachtwoord - live criteria en veilige generator */
.cp-password-rules {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.cp-password-rules li {
    margin: 0;
    padding: 5px 0;
    display: grid;
    grid-template-columns: 20px 1fr;
    column-gap: 7px;
    align-items: start;
    color: var(--cp-muted);
    font-size: 13px;
    line-height: 1.4;
    transition: color .16s ease;
}

.cp-password-rules li small {
    grid-column: 2;
    margin-top: 2px;
    color: #8a9499;
    font-size: 11px;
}

.cp-rule-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c8d0d4;
    border-radius: 50%;
    color: transparent;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    transition: .16s ease;
}

.cp-password-rules li.is-valid {
    color: #247a4b;
    font-weight: 700;
}

.cp-password-rules li.is-valid .cp-rule-icon {
    border-color: #75b892;
    background: #eaf7ef;
    color: #247a4b;
}

.cp-password-rules li.is-invalid {
    color: #a83232;
}

.cp-password-rules li.is-invalid .cp-rule-icon {
    border-color: #dca4a4;
    background: #fff0f0;
    color: #a83232;
}

.cp-password-tools {
    margin: 0 0 6px;
    display: flex;
    gap: 9px;
    align-items: stretch;
}

.cp-button--secondary {
    background: #f4f6f7;
    border: 1px solid #d5dde1;
    color: var(--cp-anthracite);
}

.cp-button--secondary:hover {
    background: #e9edef;
}

.cp-generate-password {
    flex: 1;
    width: auto;
}

.cp-icon-button {
    width: 46px;
    min-width: 46px;
    height: 46px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d5dde1;
    border-radius: 9px;
    background: #ffffff;
    color: var(--cp-anthracite);
    cursor: pointer;
}

.cp-icon-button:hover:not(:disabled) {
    border-color: var(--cp-orange);
    color: #c96d00;
}

.cp-icon-button:focus-visible {
    outline: 3px solid rgba(255, 140, 0, .18);
    outline-offset: 2px;
}

.cp-icon-button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.cp-icon-button svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.cp-icon-button.is-copied {
    border-color: #75b892;
    background: #eaf7ef;
    color: #247a4b;
}

.cp-password-tools__status {
    min-height: 18px;
    margin: 0 0 14px;
    color: var(--cp-muted);
    font-size: 11px;
    line-height: 18px;
}

.cp-password-tools__status.is-success {
    color: #247a4b;
}

@media (max-width: 480px) {
    .cp-password-tools {
        align-items: stretch;
    }

    .cp-generate-password {
        min-width: 0;
        padding-left: 12px;
        padding-right: 12px;
    }
}


/* Gegenereerd wachtwoord direct zichtbaar voor de klant */
.cp-password-tools__status.is-generated-password {
    min-height: 0;
    margin: 7px 0 16px;
    padding: 12px 14px;
    border: 1px solid #b8dcc7;
    border-radius: 8px;
    background: #edf8f1;
    color: #1f6f43;
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: .35px;
    word-break: break-all;
    user-select: text;
}


/* =========================================================
   Klantportaal 1C — Projecten
   ========================================================= */

.cp-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.cp-brand > span {
    padding-left: 12px;
    border-left: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.cp-tile__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cp-tile--link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition:
        transform .16s ease,
        box-shadow .16s ease,
        border-color .16s ease;
}

.cp-tile--link:hover {
    transform: translateY(-2px);
    border-color: #ffbd70;
    box-shadow: 0 12px 28px rgba(35, 43, 47, .10);
}

.cp-tile--link:focus-visible {
    outline: 3px solid rgba(255, 140, 0, .22);
    outline-offset: 3px;
}

.cp-tile--disabled {
    opacity: .84;
}

.cp-tile-count {
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #383E42;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.cp-tile--link .cp-tile-status {
    color: #c96d00;
    font-weight: 700;
}

.cp-page-heading {
    margin-bottom: 26px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.cp-page-heading h1 {
    margin: 5px 0 7px;
    color: #383E42;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.12;
}

.cp-page-heading p {
    margin: 0;
    color: #69757b;
    font-size: 14px;
    line-height: 1.55;
}

.cp-button--auto {
    width: auto;
    flex: 0 0 auto;
}

.cp-project-list {
    display: grid;
    gap: 16px;
}

.cp-project-card {
    padding: 22px 24px;
    border: 1px solid #dfe4e6;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(35, 43, 47, .05);
}

.cp-project-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.cp-project-number {
    color: #d87500;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cp-project-card h2 {
    margin: 5px 0 0;
    color: #383E42;
    font-size: 20px;
    line-height: 1.25;
}

.cp-status-badge {
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef2f4;
    color: #59656b;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.cp-status-badge--active {
    background: #eaf7ef;
    color: #247a4b;
}

.cp-status-badge--on_hold {
    background: #fff7e6;
    color: #a66000;
}

.cp-status-badge--completed {
    background: #eef3ff;
    color: #355fa8;
}

.cp-status-badge--cancelled {
    background: #f5eeee;
    color: #8b4141;
}

.cp-project-meta {
    margin: 20px 0 0;
    padding-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    border-top: 1px solid #e6eaec;
}

.cp-project-meta div {
    min-width: 0;
}

.cp-project-meta dt {
    margin: 0 0 5px;
    color: #879198;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cp-project-meta dd {
    margin: 0;
    color: #383E42;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.cp-empty-state {
    padding: 34px;
    border: 1px dashed #cfd7db;
    border-radius: 13px;
    background: #fff;
    text-align: center;
}

.cp-empty-state h2 {
    margin: 0 0 8px;
    color: #383E42;
    font-size: 20px;
}

.cp-empty-state p {
    margin: 0;
    color: #69757b;
    font-size: 14px;
}

.cp-alert--success {
    margin-bottom: 20px;
    border-color: #add9bd;
    background: #edf8f1;
    color: #247a4b;
}

@media (max-width: 780px) {
    .cp-page-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .cp-button--auto {
        width: 100%;
    }

    .cp-project-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .cp-brand > span {
        display: none;
    }

    .cp-project-card {
        padding: 18px;
    }

    .cp-project-card__heading {
        flex-direction: column;
    }

    .cp-project-meta {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   Support & Tickets 1A
   ========================================================= */

.cp-heading-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp-ticket-list {
    display: grid;
    gap: 14px;
}

.cp-ticket-card {
    padding: 20px 22px;
    border: 1px solid #dfe4e6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(35, 43, 47, .05);
}

.cp-ticket-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.cp-ticket-number {
    color: #d87500;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
}

.cp-ticket-card h2 {
    margin: 5px 0 0;
    color: #383E42;
    font-size: 18px;
    line-height: 1.3;
}

.cp-ticket-status {
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef2f4;
    color: #59656b;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.cp-ticket-status--new {
    background: #fff3e3;
    color: #a75c00;
}

.cp-ticket-status--in_progress {
    background: #eaf1ff;
    color: #3566ad;
}

.cp-ticket-status--waiting_client {
    background: #fff6d9;
    color: #8b6900;
}

.cp-ticket-status--waiting_jb {
    background: #eef2f4;
    color: #59656b;
}

.cp-ticket-status--resolved {
    background: #eaf7ef;
    color: #247a4b;
}

.cp-ticket-status--closed {
    background: #f2f2f2;
    color: #737b80;
}

.cp-ticket-meta {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cp-ticket-meta > span {
    padding: 6px 9px;
    border-radius: 7px;
    background: #f5f7f8;
    color: #69757b;
    font-size: 11px;
}

.cp-ticket-card__footer {
    margin-top: 15px;
    padding-top: 13px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #e8ebed;
    color: #879198;
    font-size: 11px;
}

.cp-form-card {
    max-width: 860px;
    padding: 24px;
    border: 1px solid #dfe4e6;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(35, 43, 47, .05);
}

.cp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.cp-field--full {
    grid-column: 1 / -1;
}

.cp-field select,
.cp-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #c9d2d7;
    border-radius: 8px;
    background: #fff;
    color: #383E42;
    font: inherit;
}

.cp-field select {
    min-height: 46px;
    padding: 9px 11px;
}

.cp-field textarea {
    min-height: 160px;
    padding: 11px 12px;
    resize: vertical;
    line-height: 1.5;
}

.cp-field select:focus,
.cp-field textarea:focus {
    border-color: #FF8C00;
    outline: 3px solid rgba(255, 140, 0, .16);
    outline-offset: 1px;
}

.cp-field > span small {
    color: #8b9499;
    font-weight: 400;
}

.cp-field-help {
    display: block;
    margin-top: 6px;
    color: #879198;
    font-size: 11px;
    line-height: 1.45;
}

.cp-field-error {
    display: block;
    margin-top: 6px;
    color: #a83232;
    font-size: 11px;
    font-weight: 700;
}

.cp-form-actions {
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cp-empty-state .cp-button {
    margin-top: 18px;
}

@media (max-width: 700px) {
    .cp-heading-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cp-form-grid {
        grid-template-columns: 1fr;
    }

    .cp-field--full {
        grid-column: auto;
    }

    .cp-ticket-card__top,
    .cp-ticket-card__footer {
        flex-direction: column;
    }

    .cp-form-actions {
        flex-direction: column-reverse;
    }

    .cp-form-actions .cp-button {
        width: 100%;
    }
}


/* =========================================================
   Support & Tickets 1A.1 — Layout polish
   ========================================================= */

.cp-ticket-stats {
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cp-stat-card {
    padding: 18px 18px 16px;
    border: 1px solid #dfe4e6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(35, 43, 47, .045);
}

.cp-stat-card__label {
    display: block;
    margin-bottom: 7px;
    color: #7f8a90;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.cp-stat-card__value {
    display: block;
    margin-bottom: 7px;
    color: #383E42;
    font-size: 29px;
    line-height: 1;
}

.cp-stat-card p {
    margin: 0;
    color: #69757b;
    font-size: 12px;
    line-height: 1.55;
}

.cp-empty-state--tickets {
    max-width: 880px;
    margin: 8px auto 0;
    padding: 38px 28px;
    border: 1px solid #dfe4e6;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    box-shadow: 0 10px 28px rgba(35, 43, 47, .05);
    text-align: center;
}

.cp-empty-state__icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff4e7;
    color: #d87500;
    font-size: 32px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px #ffd3a0;
}

.cp-empty-state__tag {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff4e7;
    color: #c96d00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.cp-empty-state--tickets h2 {
    margin-bottom: 10px;
    font-size: 28px;
}

.cp-empty-state--tickets p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
}

.cp-empty-state__actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cp-heading-actions .cp-button,
.cp-empty-state__actions .cp-button {
    min-width: 165px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cp-ticket-card {
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.cp-ticket-card:hover {
    transform: translateY(-1px);
    border-color: #ffcf97;
    box-shadow: 0 12px 28px rgba(35, 43, 47, .08);
}

@media (max-width: 960px) {
    .cp-ticket-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .cp-ticket-stats {
        grid-template-columns: 1fr;
    }

    .cp-empty-state--tickets {
        padding: 28px 18px;
    }

    .cp-empty-state--tickets h2 {
        font-size: 24px;
    }

    .cp-empty-state__actions {
        flex-direction: column;
    }

    .cp-empty-state__actions .cp-button,
    .cp-heading-actions .cp-button {
        width: 100%;
    }
}


/* =========================================================
   Support & Tickets 1B — conversatie
   ========================================================= */

.cp-ticket-card--link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.cp-ticket-detail-summary {
    margin-bottom: 20px;
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    border: 1px solid #dfe4e6;
    border-radius: 12px;
    background: #fff;
}

.cp-ticket-detail-summary > div {
    min-width: 0;
}

.cp-ticket-detail-summary span,
.cp-ticket-detail-summary strong {
    display: block;
}

.cp-ticket-detail-summary span {
    margin-bottom: 5px;
    color: #879198;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cp-ticket-detail-summary strong {
    color: #383E42;
    font-size: 13px;
    line-height: 1.4;
}

.cp-conversation,
.cp-reply-card {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid #dfe4e6;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(35, 43, 47, .045);
}

.cp-section-heading {
    margin-bottom: 18px;
}

.cp-section-heading h2 {
    margin: 3px 0 0;
    color: #383E42;
    font-size: 20px;
}

.cp-message-list {
    display: grid;
    gap: 13px;
}

.cp-message {
    max-width: 82%;
    padding: 14px 16px;
    border-radius: 12px;
}

.cp-message--client {
    margin-left: auto;
    background: #fff5e8;
    border: 1px solid #ffd5a4;
}

.cp-message--admin {
    margin-right: auto;
    background: #f2f5f6;
    border: 1px solid #dce3e6;
}

.cp-message header {
    margin-bottom: 8px;
}

.cp-message header strong,
.cp-message header span {
    display: block;
}

.cp-message header strong {
    color: #383E42;
    font-size: 13px;
}

.cp-message header span {
    margin-top: 2px;
    color: #849096;
    font-size: 10px;
}

.cp-message__body {
    color: #4f5a60;
    font-size: 13px;
    line-height: 1.6;
}

.cp-closed-notice {
    margin-top: 18px;
    padding: 15px 17px;
    border: 1px solid #d7dde0;
    border-radius: 9px;
    background: #f4f6f7;
    color: #657077;
    font-size: 13px;
}

@media (max-width: 760px) {
    .cp-ticket-detail-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cp-message {
        max-width: 94%;
    }
}

@media (max-width: 480px) {
    .cp-ticket-detail-summary {
        grid-template-columns: 1fr;
    }

    .cp-message {
        max-width: 100%;
    }
}


/* Hardwarekoppeling tickets */
.cp-hardware-field select {
    border-left: 3px solid #FF8C00;
}

.cp-ticket-detail-summary {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .cp-ticket-detail-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .cp-ticket-detail-summary {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   Tickets 1C — veilige bijlagen
   ========================================================= */

.cp-upload-field {
    margin-top: 4px;
    padding: 14px;
    border: 1px solid #dfe4e6;
    border-radius: 9px;
    background: #f7f9f9;
}

.cp-upload-field input[type="file"] {
    width: 100%;
    padding: 9px;
    border: 1px dashed #c5cfd4;
    border-radius: 7px;
    background: #fff;
}

.cp-attachment-list {
    margin-top: 10px;
    display: grid;
    gap: 6px;
}

.cp-attachment {
    padding: 7px 9px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(56,62,66,.12);
    border-radius: 7px;
    background: rgba(255,255,255,.72);
    color: #383E42;
    text-decoration: none;
    font-size: 11px;
}

.cp-attachment:hover {
    border-color: #FF8C00;
}

.cp-attachment small {
    margin-left: auto;
    color: #7d898f;
    font-size: 9px;
}


/* Tickets 1D — bijlagenmodal */
.ticket-modal-open {
    overflow: hidden;
}

.ticket-attachment-modal[hidden] {
    display: none !important;
}

.ticket-attachment-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
}

.ticket-attachment-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 25, 28, .72);
    backdrop-filter: blur(2px);
}

.ticket-attachment-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1050px);
    max-height: calc(100vh - 52px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #CBD3D7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

.ticket-attachment-modal__header,
.ticket-attachment-modal__footer {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #fff;
}

.ticket-attachment-modal__header {
    border-bottom: 1px solid #DFE4E6;
}

.ticket-attachment-modal__header h2 {
    margin: 3px 0 0;
    color: #383E42;
    font-size: 18px;
}

.ticket-attachment-modal__close {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #D6DDE0;
    border-radius: 8px;
    background: #fff;
    color: #383E42;
    font-size: 25px;
    cursor: pointer;
}

.ticket-attachment-modal__content {
    min-height: 300px;
    flex: 1 1 auto;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF1F2;
}

.ticket-attachment-modal__content img {
    max-width: 100%;
    max-height: calc(100vh - 215px);
    object-fit: contain;
}

.ticket-attachment-modal__content iframe {
    width: 100%;
    height: calc(100vh - 215px);
    min-height: 520px;
    border: 0;
    background: #fff;
}

.ticket-attachment-modal__unsupported {
    padding: 32px;
    color: #59656B;
    text-align: center;
}

.ticket-attachment-modal__footer {
    border-top: 1px solid #DFE4E6;
}

@media (max-width: 680px) {
    .ticket-attachment-modal {
        padding: 10px;
    }

    .ticket-attachment-modal__dialog {
        max-height: calc(100vh - 20px);
    }

    .ticket-attachment-modal__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .ticket-attachment-modal__footer .cp-button {
        width: 100%;
    }
}


/* =========================================================
   Klantportal sidebar / snellinks
   ========================================================= */

.cp-client-shell {
    width: 100%;
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: stretch;
}

.cp-sidebar {
    min-height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
    border-right: 1px solid #444D52;
    background: #2D3438;
    color: #FFFFFF;
}

.cp-sidebar__scroll {
    padding: 22px 14px;
    flex: 1 1 auto;
}

.cp-sidebar-section-label {
    margin: 0 8px 11px;
    color: #AEB9BE;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .095em;
    text-transform: uppercase;
}

.cp-sidebar-company {
    padding: 0 2px;
}

.cp-sidebar-company__details {
    margin: 0;
}

.cp-sidebar-company__details > div {
    padding: 8px 9px;
}

.cp-sidebar-company__details dt {
    margin-bottom: 3px;
    color: #97A4AA;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cp-sidebar-company__details dd {
    margin: 0;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.cp-sidebar-company__email {
    font-size: 10px !important;
    font-weight: 500 !important;
    color: #D5DCDF !important;
}

.cp-sidebar-profile-link {
    margin: 7px 8px 0;
    min-height: 34px;
    padding: 8px 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #59646A;
    border-radius: 7px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 10px;
    font-weight: 750;
    transition:
        border-color .14s ease,
        background .14s ease;
}

.cp-sidebar-profile-link:hover {
    border-color: #FF8C00;
    background: rgba(255, 140, 0, .09);
}

.cp-sidebar-divider {
    height: 1px;
    margin: 20px 8px;
    background: #465055;
}

.cp-sidebar-nav {
    display: grid;
    gap: 4px;
}

.cp-sidebar-nav__item {
    min-height: 42px;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    border-left: 3px solid transparent;
    border-radius: 7px;
    color: #F5F7F8;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    transition:
        background .14s ease,
        border-color .14s ease;
}

.cp-sidebar-nav__item:hover {
    background: #374045;
}

.cp-sidebar-nav__item--active {
    border-left-color: #FF8C00;
    background: #57472F;
}

.cp-sidebar-nav__item--active:hover {
    background: #57472F;
}

.cp-sidebar-nav__item--disabled {
    color: #89969C;
    cursor: default;
}

.cp-sidebar-nav__item--disabled:hover {
    background: transparent;
}

.cp-sidebar-nav__icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cp-sidebar-nav__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cp-sidebar-nav__text {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    flex: 1 1 auto;
}

.cp-sidebar-nav__text small {
    padding: 2px 5px;
    border-radius: 999px;
    background: #414A4F;
    color: #AEB8BD;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cp-sidebar-footer {
    padding: 15px 22px 18px;
    border-top: 1px solid #434C51;
}

.cp-sidebar-footer strong,
.cp-sidebar-footer span {
    display: block;
}

.cp-sidebar-footer strong {
    color: #FFFFFF;
    font-size: 10px;
}

.cp-sidebar-footer span {
    margin-top: 2px;
    color: #9EABB1;
    font-size: 8px;
}

.cp-dashboard--with-sidebar {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 34px 42px 56px;
    box-sizing: border-box;
}

/* Klantprofiel */

.cp-profile-card {
    max-width: 880px;
    padding: 22px;
    border: 1px solid #DFE4E6;
    border-radius: 13px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(35, 43, 47, .045);
}

.cp-profile-locked {
    margin-bottom: 22px;
    padding-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
    border-bottom: 1px solid #E2E6E8;
}

.cp-profile-locked > div {
    padding: 13px 14px;
    border: 1px solid #E1E5E7;
    border-radius: 8px;
    background: #F5F7F8;
}

.cp-profile-locked span,
.cp-profile-locked strong,
.cp-profile-locked small {
    display: block;
}

.cp-profile-locked span {
    margin-bottom: 4px;
    color: #808B91;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.cp-profile-locked strong {
    color: #383E42;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.cp-profile-locked small {
    margin-top: 5px;
    color: #8B959A;
    font-size: 8px;
    line-height: 1.4;
}

/* Klant hardware */

.cp-client-hardware-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cp-client-hardware-card {
    padding: 18px 19px;
    border: 1px solid #DFE4E6;
    border-radius: 11px;
    background: #FFFFFF;
    box-shadow: 0 7px 20px rgba(35, 43, 47, .04);
}

.cp-client-hardware-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.cp-client-hardware-number {
    color: #C96D00;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .07em;
}

.cp-client-hardware-card h2 {
    margin: 4px 0 0;
    color: #383E42;
    font-size: 17px;
}

.cp-client-hardware-state {
    padding: 6px 9px;
    border-radius: 999px;
    background: #EAF7EF;
    color: #247A4B;
    font-size: 9px;
    font-weight: 800;
}

.cp-client-hardware-meta {
    margin: 14px 0 0;
    padding-top: 13px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    border-top: 1px solid #E3E7E9;
}

.cp-client-hardware-meta dt {
    margin-bottom: 4px;
    color: #879198;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cp-client-hardware-meta dd {
    margin: 0;
    color: #383E42;
    font-size: 10px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

@media (max-width: 1040px) {
    .cp-client-shell {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .cp-dashboard--with-sidebar {
        padding-left: 28px;
        padding-right: 28px;
    }

    .cp-profile-locked {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .cp-client-shell {
        display: block;
    }

    .cp-sidebar {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid #444D52;
    }

    .cp-sidebar__scroll {
        padding: 15px;
    }

    .cp-sidebar-company__details {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cp-sidebar-divider {
        margin-top: 14px;
        margin-bottom: 14px;
    }

    .cp-sidebar-nav {
        grid-template-columns: 1fr 1fr;
    }

    .cp-sidebar-footer {
        display: none;
    }

    .cp-dashboard--with-sidebar {
        padding: 24px 18px 42px;
    }

    .cp-client-hardware-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .cp-sidebar-company__details,
    .cp-sidebar-nav {
        grid-template-columns: 1fr;
    }

    .cp-client-hardware-meta {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   Tickets 1G — eigen regie: klant sluit opgelost ticket
   ========================================================= */

.cp-ticket-resolve {
    margin: 18px 0;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid #CFE6D7;
    border-radius: 12px;
    background: #F3FAF5;
    box-shadow: 0 6px 18px rgba(35, 43, 47, .025);
}

.cp-ticket-resolve__content {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.cp-ticket-resolve__icon,
.cp-ticket-closed-notice__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #E3F5E9;
    color: #23814D;
    font-size: 20px;
    font-weight: 900;
}

.cp-ticket-resolve h2,
.cp-ticket-closed-notice h2 {
    margin: 3px 0 5px;
    color: #383E42;
    font-size: 17px;
}

.cp-ticket-resolve p,
.cp-ticket-closed-notice p {
    margin: 0;
    max-width: 650px;
    color: #657177;
    font-size: 11px;
    line-height: 1.55;
}

.cp-button--success {
    border-color: #278954;
    background: #278954;
    color: #FFFFFF;
}

.cp-button--success:hover {
    border-color: #1F7547;
    background: #1F7547;
}

.cp-ticket-closed-notice {
    margin: 18px 0;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #D7E7DC;
    border-radius: 12px;
    background: #F5FAF6;
}

@media (max-width: 760px) {
    .cp-ticket-resolve {
        align-items: stretch;
        flex-direction: column;
    }

    .cp-ticket-resolve form,
    .cp-ticket-resolve .cp-button {
        width: 100%;
    }
}


/* =========================================================
   Tickets 1G.1 — compacte sluitactie in ticketheader
   ========================================================= */

.cp-ticket-close-action {
    max-width: 275px;
    display: grid;
    justify-items: end;
    gap: 6px;
    text-align: right;
}

.cp-ticket-close-action form {
    margin: 0;
}

.cp-ticket-close-action small {
    max-width: 260px;
    color: #7A858B;
    font-size: 9px;
    line-height: 1.4;
}

.cp-button--danger-outline {
    border: 1px solid #B95C4E;
    background: #FFFFFF;
    color: #983B30;
}

.cp-button--danger-outline:hover {
    border-color: #983B30;
    background: #FFF4F2;
    color: #7F2D25;
}

@media (max-width: 700px) {
    .cp-ticket-close-action {
        max-width: none;
        width: 100%;
        justify-items: stretch;
        text-align: left;
    }

    .cp-ticket-close-action .cp-button {
        width: 100%;
    }

    .cp-ticket-close-action small {
        max-width: none;
    }
}


/* =========================================================
   Tickets 1J — bijlage bij nieuw ticket
   ========================================================= */

.cp-form-card .cp-upload-field {
    margin-top: 2px;
    padding: 14px;
    box-sizing: border-box;
    border: 1px solid #DFE4E6;
    border-radius: 9px;
    background: #F7F9F9;
}

.cp-form-card .cp-upload-field > span {
    margin-bottom: 8px;
}

.cp-form-card
.cp-upload-field
input[type="file"] {
    width: 100%;
    padding: 9px 10px;
    box-sizing: border-box;
    border: 1px dashed #C7D0D4;
    border-radius: 7px;
    background: #FFFFFF;
    color: #383E42;
}

.cp-form-card
.cp-upload-field
input[type="file"]:focus {
    border-color: #FF8C00;
    outline: 2px solid rgba(255, 140, 0, .12);
    outline-offset: 1px;
}


/* =========================================================
   Klantdashboard v2 — Welkom, ICT Nieuws, compacte modules
   ========================================================= */

.cp-dashboard-welcome {
    margin: 0 0 22px;
}

.cp-dashboard-welcome h1 {
    margin: 0 0 5px;
    color: #383E42;
    font-size: 30px;
    line-height: 1.15;
}

.cp-dashboard-welcome p {
    margin: 0;
    color: #6A767C;
    font-size: 12px;
    line-height: 1.55;
}

.cp-news-panel {
    margin-bottom: 22px;
    overflow: hidden;
    border: 1px solid #DDE3E6;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 7px 22px rgba(35, 43, 47, .04);
}

.cp-section-heading {
    min-height: 58px;
    padding: 12px 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cp-section-heading--dark {
    border-bottom: 3px solid #FF8C00;
    background: #383E42;
    color: #FFFFFF;
}

.cp-section-kicker {
    display: block;
    margin-bottom: 2px;
    color: #FFB455;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.cp-section-heading h2 {
    margin: 0;
    color: inherit;
    font-size: 17px;
}

.cp-section-note {
    color: #D8DEE1;
    font-size: 9px;
    font-weight: 700;
}

.cp-news-panel__body {
    position: relative;
    padding: 15px 32px 27px;
}

.cp-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.cp-news-card {
    min-width: 0;
    min-height: 148px;
    padding: 13px 14px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border: 1px solid #DDE3E6;
    border-radius: 8px;
    background: #FFFFFF;
    color: #383E42;
    text-decoration: none;
    transition:
        transform .14s ease,
        border-color .14s ease,
        box-shadow .14s ease;
}

.cp-news-card:hover {
    transform: translateY(-1px);
    border-color: #FFB45A;
    box-shadow: 0 5px 14px rgba(35, 43, 47, .06);
}

.cp-news-card--hidden {
    display: none;
}

.cp-news-card__meta {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cp-news-card__meta span {
    color: #D26F00;
    font-size: 7.5px;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cp-news-card__meta time {
    color: #8C979C;
    font-size: 7.5px;
}

.cp-news-card h3 {
    margin: 0 0 7px;
    color: #383E42;
    font-size: 13px;
    line-height: 1.3;
}

.cp-news-card p {
    margin: 0;
    color: #6B777D;
    font-size: 9px;
    line-height: 1.5;
}

.cp-news-nav {
    position: absolute;
    top: 50%;
    width: 28px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: #FF8C00;
    color: #FFFFFF;
    font-size: 22px;
    cursor: pointer;
    transform: translateY(-50%);
}

.cp-news-nav--prev {
    left: 4px;
}

.cp-news-nav--next {
    right: 4px;
}

.cp-news-nav:disabled {
    opacity: .28;
    cursor: default;
}

.cp-news-status {
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    color: #879298;
    font-size: 8px;
    text-align: center;
}

.cp-news-empty {
    margin: 0;
    padding: 10px 2px;
    color: #758188;
    font-size: 10px;
}

.cp-dashboard-modules {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.cp-module-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #DDE3E6;
    border-radius: 11px;
    background: #FFFFFF;
    box-shadow: 0 6px 18px rgba(35, 43, 47, .035);
}

.cp-module-card__heading {
    min-height: 42px;
    padding: 10px 13px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border-bottom: 3px solid #FF8C00;
    background: #383E42;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

a.cp-module-card__heading:hover {
    background: #30363A;
}

.cp-module-card__body {
    min-height: 92px;
    padding: 12px 13px 13px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.cp-module-card__count {
    margin-bottom: 5px;
    color: #383E42;
    font-size: 22px;
    line-height: 1;
}

.cp-module-card__body p {
    margin: 0;
    color: #68757B;
    font-size: 9.5px;
    line-height: 1.5;
}

.cp-module-card__link {
    margin-top: auto;
    padding-top: 9px;
    color: #C96800;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
}

.cp-module-card__link:hover {
    text-decoration: underline;
}

/* Oude dashboardtegel-opmaak niet meer gebruiken op dashboard v2 */
.cp-dashboard .cp-grid {
    display: none;
}

/* =========================================================
   Klantnieuws detail
   ========================================================= */

.cp-news-detail {
    max-width: 900px;
    overflow: hidden;
    border: 1px solid #DDE3E6;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 7px 22px rgba(35, 43, 47, .04);
}

.cp-news-detail__header {
    padding: 26px 28px 22px;
    border-bottom: 1px solid #E1E6E8;
}

.cp-news-detail__type {
    display: block;
    margin-bottom: 7px;
    color: #D26F00;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.cp-news-detail h1 {
    margin: 0 0 10px;
    color: #383E42;
    font-size: 27px;
    line-height: 1.2;
}

.cp-news-detail__meta {
    display: flex;
    gap: 14px;
    color: #879298;
    font-size: 9px;
}

.cp-news-detail__lead {
    margin: 17px 0 0;
    color: #59666C;
    font-size: 12px;
    line-height: 1.6;
}

.cp-news-detail__body {
    padding: 24px 28px;
    color: #465258;
    font-size: 11px;
    line-height: 1.7;
}

.cp-news-detail__body p {
    margin: 0 0 16px;
}

.cp-news-detail__body h2,
.cp-news-detail__body h3 {
    color: #383E42;
}

.cp-news-detail__footer {
    padding: 0 28px 26px;
}

@media (max-width: 1180px) {
    .cp-dashboard-modules,
    .cp-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .cp-dashboard-welcome h1 {
        font-size: 24px;
    }

    .cp-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .cp-news-panel__body {
        padding-right: 15px;
        padding-left: 15px;
    }

    .cp-news-grid,
    .cp-dashboard-modules {
        grid-template-columns: 1fr;
    }

    .cp-news-nav {
        display: none;
    }

    .cp-news-card--hidden {
        display: flex;
    }
}


/* =========================================================
   Klantdashboard v2.1 — duidelijk leesbare kaarttekst
   ========================================================= */

.cp-dashboard-modules .cp-module-card__body p {
    margin: 0;
    color: #59666C;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 400;
}

.cp-dashboard-modules .cp-module-card__link {
    margin-top: auto;
    padding-top: 11px;
    color: #C96800;
    font-size: 12px !important;
    line-height: 1.35;
    font-weight: 800;
    text-decoration: none;
}

.cp-dashboard-modules .cp-module-card__count {
    margin-bottom: 7px;
    color: #383E42;
    font-size: 24px;
    line-height: 1;
}

@media (max-width: 680px) {
    .cp-dashboard-modules .cp-module-card__body p {
        font-size: 13px !important;
    }

    .cp-dashboard-modules .cp-module-card__link {
        font-size: 12px !important;
    }
}


/* =========================================================
   Klantdashboard v2.2 — kaarttekst 15px
   ========================================================= */

.cp-dashboard-modules .cp-module-card__body p {
    margin: 0;
    color: #59666C;
    font-size: 15px !important;
    line-height: 1.55 !important;
    font-weight: 400;
}

.cp-dashboard-modules .cp-module-card__link {
    margin-top: auto;
    padding-top: 12px;
    color: #C96800;
    font-size: 13px !important;
    line-height: 1.4;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 680px) {
    .cp-dashboard-modules .cp-module-card__body p {
        font-size: 15px !important;
    }

    .cp-dashboard-modules .cp-module-card__link {
        font-size: 13px !important;
    }
}


/* =========================================================
   Klantportal sidebar v1.1 — grotere typografie, geen badges
   ========================================================= */

.cp-sidebar-section-label {
    font-size: 11px !important;
    line-height: 1.35;
    letter-spacing: .085em;
}

.cp-sidebar-company__details dt {
    font-size: 10px !important;
    line-height: 1.35;
}

.cp-sidebar-company__details dd {
    font-size: 13px !important;
    line-height: 1.45;
}

.cp-sidebar-company__email {
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.cp-sidebar-profile-link {
    min-height: 38px;
    font-size: 12px !important;
    line-height: 1.35;
}

.cp-sidebar-nav__item {
    min-height: 46px;
    font-size: 13px !important;
    line-height: 1.35;
}

.cp-sidebar-nav__icon {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
}

.cp-sidebar-nav__icon svg {
    width: 20px;
    height: 20px;
}

.cp-sidebar-nav__text {
    justify-content: flex-start;
}

/* Oude badge-regel bewust neutraliseren voor het geval markup uit cache komt. */
.cp-sidebar-nav__text small {
    display: none !important;
}

.cp-sidebar-footer strong {
    font-size: 11px !important;
}

.cp-sidebar-footer span {
    font-size: 9px !important;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .cp-sidebar-nav__item {
        font-size: 13px !important;
    }

    .cp-sidebar-company__details dd {
        font-size: 13px !important;
    }
}


/* Generieke gebruikersvoorkeuren */
.cp-personal-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:16px;margin:16px 0}.cp-personal-card{background:#fff;border:1px solid var(--cp-border);border-radius:12px;overflow:hidden}.cp-personal-card__header{padding:14px 16px;border-bottom:1px solid var(--cp-border)}.cp-personal-card__header h2{margin:0;font-size:16px}.cp-personal-card__header p{margin:4px 0 0;color:var(--cp-muted);font-size:12px}.cp-personal-card__body{padding:16px}.cp-user-identity{display:grid;grid-template-columns:72px 1fr;gap:14px;align-items:center}.cp-user-avatar{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:var(--cp-anthracite);color:#fff;font-size:24px;font-weight:800;border:3px solid var(--cp-orange)}.cp-user-avatar img{width:100%;height:100%;object-fit:cover}.cp-daily-card{margin:0 0 16px;padding:16px 18px;border:1px solid var(--cp-border);border-left:4px solid var(--cp-orange);border-radius:10px;background:linear-gradient(90deg,color-mix(in srgb,var(--cp-orange) 9%,#fff),#fff 45%)}.cp-daily-card small{display:block;color:var(--cp-orange-dark);font-weight:800;text-transform:uppercase;letter-spacing:.05em;margin-bottom:5px}.cp-daily-card blockquote{margin:0;font-size:16px;font-weight:700;line-height:1.45}.cp-theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}.cp-theme-option{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid var(--cp-border);border-radius:8px;background:#fff;cursor:pointer}.cp-theme-option:has(input:checked){border-color:var(--cp-orange);box-shadow:0 0 0 1px var(--cp-orange)}.cp-theme-option input{position:absolute;opacity:0;pointer-events:none}.cp-theme-swatch{width:18px;height:18px;border-radius:50%;background:var(--swatch);box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}.cp-setting-toggle{display:flex;gap:9px;align-items:flex-start;margin-top:14px;padding:11px;border:1px solid var(--cp-border);border-radius:8px;background:#f8fafb}.cp-setting-toggle input{margin-top:3px;accent-color:var(--cp-orange)}.cp-profile-upload{margin-top:14px;padding-top:14px;border-top:1px solid var(--cp-border)}.cp-profile-upload input[type=file]{max-width:100%;font-size:12px}.cp-profile-upload__actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.cp-link-danger{border:0;background:none;color:#9f3a2f;text-decoration:underline;cursor:pointer;padding:0}.cp-account{position:relative}.cp-account--with-avatar{padding-left:42px}@media(max-width:850px){.cp-personal-grid{grid-template-columns:1fr}.cp-theme-options{grid-template-columns:1fr 1fr}}@media(max-width:520px){.cp-user-identity{grid-template-columns:1fr}.cp-theme-options{grid-template-columns:1fr}}






/* Account page v2.4 */
.cp-account-page-v2 .cp-page-heading{margin-bottom:0}.cp-account-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start;margin-bottom:18px;max-width:1180px}.cp-page-heading--account{margin:0;padding:28px 30px;min-height:204px;border:1px solid var(--cp-border);border-radius:16px;background:#fff;box-shadow:0 8px 18px rgba(45,53,60,.04)}
.cp-quote-calendar{position:relative;display:flex;flex-direction:column;min-height:204px;border:1px solid var(--cp-border);border-radius:16px;background:#fff;box-shadow:0 10px 24px rgba(45,53,60,.05);overflow:hidden}.cp-quote-calendar::before{content:"";position:absolute;left:0;right:0;top:0;height:12px;background:var(--cp-orange)}.cp-quote-calendar::after{content:"";position:absolute;left:26px;right:26px;top:40px;height:10px;background:radial-gradient(circle at 12px -2px,#d7dde1 10px,transparent 11px) 0 0/84px 10px repeat-x;opacity:.95}.cp-quote-calendar__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:24px 18px 20px;background:linear-gradient(180deg,color-mix(in srgb,var(--cp-orange) 10%,#fff),rgba(255,255,255,.98))}.cp-quote-calendar__eyebrow{display:inline-flex;padding:6px 10px;border-radius:999px;background:#fff;color:var(--cp-orange-dark);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;box-shadow:0 1px 2px rgba(0,0,0,.04)}.cp-quote-calendar__date{display:flex;flex-direction:column;align-items:flex-end;min-width:78px;text-align:right}.cp-quote-calendar__date strong{font-size:46px;line-height:.95;color:#1f2933}.cp-quote-calendar__date span{margin-top:6px;color:var(--cp-muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.cp-quote-calendar__body{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center;padding:22px 18px;background:#fff}.cp-quote-calendar__body::before{content:"";position:absolute;left:18px;right:18px;top:0;border-top:2px dashed var(--cp-border)}.cp-quote-calendar blockquote{margin:0 0 10px;font-size:17px;font-weight:800;line-height:1.45;color:#27313a}.cp-quote-calendar small{font-size:12px;color:var(--cp-muted);font-weight:600}
.cp-account-ribbon-card{max-width:1180px;overflow:hidden}.cp-account-ribbon-card .cp-profile-card__header{padding:16px 18px 12px;border-bottom:1px solid var(--cp-border)}.cp-account-ribbon-card .cp-profile-card__header h2{margin:0 0 4px}.cp-account-ribbon-card .cp-profile-card__header p{margin:0;color:var(--cp-muted);font-size:13px}.cp-account-lint{display:grid;grid-template-columns:1.2fr 1fr 1.45fr .9fr .75fr;border-top:0}.cp-account-lint__item{position:relative;display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:88px;padding:16px 18px;background:#fff;border-right:1px solid var(--cp-border)}.cp-account-lint__item::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:#d8e0e5}.cp-account-lint__item:last-child{border-right:0}.cp-account-lint__item:last-child::before{background:#8aa0b4}.cp-account-lint__item--accent{background:#fff9f1}.cp-account-lint__item--accent::before{background:var(--cp-orange)}.cp-account-lint__item--success::before{background:#2f9a52}.cp-account-lint__item span{font-size:11px;font-weight:800;color:var(--cp-muted);text-transform:uppercase;letter-spacing:.055em}.cp-account-lint__item strong{font-size:13px;line-height:1.45;color:#1f2933;overflow-wrap:anywhere}
.cp-account-v2-grid{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(320px,.88fr);gap:18px;margin:0 0 18px;max-width:1180px}.cp-profile-card--compact{max-width:1180px}.cp-personal-card,.cp-personal-card--security{background:#fff;border:1px solid var(--cp-border);border-radius:14px;overflow:hidden;box-shadow:0 6px 16px rgba(45,53,60,.03)}.cp-personal-card__header{padding:18px 20px;border-bottom:1px solid var(--cp-border)}.cp-personal-card__header h2{margin:0 0 4px}.cp-personal-card__header p{margin:0;color:var(--cp-muted);font-size:13px}.cp-personal-card__body{padding:18px 20px 20px}
.cp-profile-identity-panel{display:grid;grid-template-columns:74px 1fr;gap:16px;align-items:start;padding:16px;margin-bottom:16px;border:1px solid var(--cp-border);border-radius:12px;background:#fbfcfd}.cp-user-avatar--large{width:56px;height:56px;font-size:24px}.cp-profile-identity-panel__content{display:flex;flex-direction:column;gap:4px}.cp-profile-identity-panel__content strong{font-size:20px;color:#1f2933}.cp-profile-identity-panel__content span{color:var(--cp-muted);font-size:14px}.cp-profile-identity-panel__content small{color:var(--cp-muted);font-size:13px}.cp-profile-upload--compact{margin-top:10px;padding-top:0;border-top:0}.cp-preferences-form{display:grid;gap:16px}.cp-preferences-form > strong{display:block;margin-bottom:-4px}.cp-theme-options{padding:16px;border:1px solid var(--cp-border);border-radius:12px;background:#fbfcfd}.cp-setting-toggle{padding:14px 16px;border:1px solid var(--cp-border);border-radius:12px;background:#fbfcfd}.cp-security-actions{display:grid;gap:12px}.cp-security-action-card{display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;padding:16px;border:1px solid var(--cp-border);border-radius:12px;background:#fbfcfd}.cp-security-action-card__icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#fff3df;color:var(--cp-orange-dark);font-weight:800}.cp-security-action-card__content h3{margin:0 0 4px;font-size:18px}.cp-security-action-card__content p{margin:0;color:var(--cp-muted);font-size:13px;line-height:1.45}.cp-security-action-card__actions{display:flex;align-items:center;justify-content:flex-end}
@media(max-width:1080px){.cp-account-hero-grid,.cp-account-v2-grid{grid-template-columns:1fr}.cp-quote-calendar{max-width:360px}.cp-account-lint{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-account-lint__item:last-child{grid-column:1/-1}}@media(max-width:620px){.cp-account-lint,.cp-account-v2-grid{grid-template-columns:1fr}.cp-profile-identity-panel,.cp-security-action-card{grid-template-columns:1fr}.cp-security-action-card__actions{justify-content:flex-start}.cp-page-heading--account{padding:24px 20px}.cp-quote-calendar__top{padding:22px 16px 18px}.cp-quote-calendar__date{align-items:flex-start;text-align:left}.cp-quote-calendar__date strong{font-size:38px}.cp-quote-calendar blockquote{font-size:16px}}

/* Account page v2.5 */
.cp-account-hero-grid{grid-template-columns:minmax(0,1fr) 240px;max-width:none;align-items:stretch}.cp-page-heading--account{min-height:162px}.cp-account-ribbon-card{width:100%;max-width:none;padding:0;margin:0 0 24px}.cp-account-ribbon-card .cp-profile-card__header{padding:14px 18px 10px}.cp-account-lint{grid-template-columns:1.2fr 1fr 1.45fr .9fr .75fr}.cp-account-lint__item{min-height:70px;padding:12px 16px}.cp-account-v2-grid{max-width:none;margin-top:22px;align-items:start}.cp-profile-card--compact{max-width:none}
.cp-quote-calendar{min-height:162px;max-width:240px;border-radius:14px}.cp-quote-calendar::after{display:none}.cp-quote-calendar__top{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:18px 18px 14px;background:linear-gradient(180deg,color-mix(in srgb,var(--cp-orange) 9%,#fff),#fff8ef)}.cp-quote-calendar__rings{display:flex;align-items:center;justify-content:center;gap:56px;width:100%}.cp-quote-calendar__rings span{display:block;width:18px;height:18px;border:4px solid #cfd6db;border-bottom-color:transparent;border-radius:50%;background:transparent}.cp-quote-calendar__date,.cp-quote-calendar__eyebrow{display:none}.cp-quote-calendar__date-line{font-size:15px;font-weight:800;line-height:1.35;color:#55616b;text-align:center;text-transform:none}.cp-quote-calendar__body{padding:18px 18px 20px;text-align:center;align-items:center}.cp-quote-calendar__body::before{left:16px;right:16px}.cp-quote-calendar blockquote{max-width:180px;margin:0 auto;font-size:15px;line-height:1.5}
@media(max-width:1080px){.cp-account-hero-grid{grid-template-columns:1fr}.cp-quote-calendar{max-width:260px}}
@media(max-width:620px){.cp-account-lint{grid-template-columns:1fr}.cp-account-lint__item{min-height:unset}}

/* Account page v2.6 - weer + kalender */
.cp-account-page-v2 .cp-account-hero-grid--weather{width:100%;max-width:none;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:stretch;margin-bottom:18px}
.cp-weather-hero{min-height:178px;display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:20px;padding:28px 30px;border:1px solid var(--cp-border);border-radius:15px;background:#fff;box-shadow:0 7px 18px rgba(35,43,47,.04)}
.cp-weather-hero__content h1{margin:0 0 10px;color:#293238;font-size:31px;line-height:1.1}
.cp-weather-hero__content p{margin:0;max-width:720px;color:#4e5a62;font-size:16px;line-height:1.55}
.cp-weather-hero__content small{display:block;margin-top:12px;color:#879198;font-size:10px;font-weight:700}
.cp-weather-hero__visual{display:flex;align-items:center;justify-content:flex-end;gap:12px;color:var(--cp-orange-dark)}
.cp-weather-hero__visual strong{color:#293238;font-size:31px;line-height:1}
.cp-weather-icon{width:68px;height:68px;color:var(--cp-orange)}
.cp-weather-icon svg{display:block;width:100%;height:100%;fill:currentColor}
.cp-weather-icon svg g,.cp-weather-icon svg path[fill="none"]{stroke:currentColor}
.cp-account-page-v2 .cp-quote-calendar{width:260px;max-width:260px;min-height:178px;height:100%;align-self:stretch}
.cp-account-page-v2 .cp-quote-calendar__top{padding:16px 16px 12px}
.cp-account-page-v2 .cp-quote-calendar__rings{gap:52px}
.cp-account-page-v2 .cp-quote-calendar__rings span{width:17px;height:17px;border-width:4px}
.cp-account-page-v2 .cp-quote-calendar__date-line{font-size:13px}
.cp-account-page-v2 .cp-quote-calendar__body{padding:16px 18px 18px;min-height:82px}
.cp-account-page-v2 .cp-quote-calendar blockquote{max-width:210px;font-size:14px;line-height:1.5;text-align:center}
.cp-account-page-v2 .cp-account-ribbon-card{width:100%;max-width:none;margin-bottom:26px}
.cp-account-page-v2 .cp-account-v2-grid{width:100%;max-width:none;margin-top:0;gap:20px}
@media(max-width:980px){.cp-account-page-v2 .cp-account-hero-grid--weather{grid-template-columns:1fr}.cp-account-page-v2 .cp-quote-calendar{width:260px;max-width:260px}.cp-weather-hero{grid-template-columns:1fr 120px}}
@media(max-width:650px){.cp-weather-hero{grid-template-columns:1fr;padding:22px}.cp-weather-hero__visual{justify-content:flex-start}.cp-weather-hero__content h1{font-size:27px}}

/* Account page v2.7 - security icons + quick overview */
.cp-account-v2-grid{align-items:stretch}.cp-personal-card--security{display:flex;flex-direction:column;height:100%}.cp-personal-card--security .cp-personal-card__body{display:flex;flex:1;flex-direction:column}.cp-security-action-card__icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.cp-account-quicklinks{margin-top:auto;padding-top:16px}.cp-account-quicklinks__heading{padding:14px 0 10px;border-top:1px solid var(--cp-border)}.cp-account-quicklinks__heading h3{margin:0 0 3px;font-size:16px}.cp-account-quicklinks__heading p{margin:0;color:var(--cp-muted);font-size:12px}.cp-account-quicklinks__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cp-account-quicklink{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid var(--cp-border);border-radius:10px;background:#fbfcfd;color:#26313a;text-decoration:none;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.cp-account-quicklink:hover{border-color:var(--cp-orange);box-shadow:0 4px 12px rgba(35,43,47,.06);transform:translateY(-1px)}.cp-account-quicklink__icon{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#fff3df;color:var(--cp-orange-dark)}.cp-account-quicklink__icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.cp-account-quicklink strong,.cp-account-quicklink small{display:block}.cp-account-quicklink strong{font-size:12px;line-height:1.25}.cp-account-quicklink small{margin-top:2px;color:var(--cp-muted);font-size:9px;line-height:1.25}@media(max-width:1200px){.cp-account-quicklinks__grid{grid-template-columns:1fr}}@media(max-width:1000px){.cp-account-quicklinks__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.cp-account-quicklinks__grid{grid-template-columns:1fr}}

/* Account page v2.8 - quick overview spacing fix */
.cp-account-v2-grid{align-items:start}
.cp-personal-card--security{height:auto;align-self:start}
.cp-personal-card--security .cp-personal-card__body{display:block;flex:none}
.cp-account-quicklinks{margin-top:14px;padding-top:0}
.cp-account-quicklinks__heading{padding-top:14px}

/* Account page v2.9 - equal height + quick overview rows */
.cp-account-v2-grid{align-items:stretch}
.cp-personal-card--security{height:100%;align-self:stretch;display:flex;flex-direction:column}
.cp-personal-card--security .cp-personal-card__body{display:flex;flex:1;flex-direction:column}
.cp-account-quicklinks{display:flex;flex:1;flex-direction:column;margin-top:14px;padding-top:0}
.cp-account-quicklinks__heading{padding:14px 0 10px;border-top:1px solid var(--cp-border)}
.cp-account-quicklinks__grid{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(62px,1fr));gap:9px;flex:1}
.cp-account-quicklink{min-height:62px;padding:12px 14px;gap:12px}
.cp-account-quicklink__icon{flex:0 0 38px;width:38px;height:38px}
.cp-account-quicklink__icon svg{width:20px;height:20px}
.cp-account-quicklink strong{font-size:13px}
.cp-account-quicklink small{font-size:10px;line-height:1.35}
@media(max-width:1000px){.cp-personal-card--security{height:auto}.cp-account-quicklinks__grid{grid-template-rows:none}.cp-account-v2-grid{align-items:start}}

/* Documentenmodule F1 */
.cp-empty-state--documents{
    width:100%;
    max-width:none;
    box-sizing:border-box;
    margin:0;
}
.cp-documents-panel{
    width:100%;
    overflow:hidden;
    border:1px solid var(--cp-border);
    border-radius:14px;
    background:#fff;
    box-shadow:0 7px 18px rgba(35,43,47,.04);
}
.cp-documents-panel__header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:18px 20px;
    border-bottom:1px solid var(--cp-border);
}
.cp-documents-panel__header h2{
    margin:0 0 4px;
    font-size:20px;
}
.cp-documents-panel__header p{
    margin:0;
    color:var(--cp-muted);
    font-size:13px;
}
.cp-documents-list{
    display:grid;
}
.cp-document-row{
    display:grid;
    grid-template-columns:56px minmax(0,1fr) auto;
    gap:16px;
    align-items:center;
    padding:18px 20px;
    border-bottom:1px solid var(--cp-border);
}
.cp-document-row:last-child{
    border-bottom:0;
}
.cp-document-row__icon{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:#fff3df;
    color:var(--cp-orange-dark);
    font-size:11px;
    font-weight:900;
    letter-spacing:.05em;
}
.cp-document-row__main{
    min-width:0;
}
.cp-document-row__heading{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}
.cp-document-row__heading h3{
    margin:3px 0 0;
    color:#26313a;
    font-size:17px;
    line-height:1.35;
}
.cp-document-row__type{
    display:inline-block;
    color:var(--cp-orange-dark);
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.055em;
}
.cp-document-row__version{
    flex:0 0 auto;
    padding:4px 8px;
    border:1px solid var(--cp-border);
    border-radius:999px;
    background:#f7f9fa;
    color:var(--cp-muted);
    font-size:10px;
    font-weight:800;
}
.cp-document-meta{
    display:grid;
    grid-template-columns:1fr 1fr 1.4fr .65fr;
    gap:12px;
    margin:13px 0 0;
}
.cp-document-meta div{
    min-width:0;
}
.cp-document-meta dt{
    margin:0 0 3px;
    color:var(--cp-muted);
    font-size:9px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.cp-document-meta dd{
    margin:0;
    color:#39444c;
    font-size:12px;
    line-height:1.4;
    overflow-wrap:anywhere;
}
.cp-document-row__actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
}
.cp-document-unavailable{
    max-width:150px;
    color:var(--cp-muted);
    font-size:11px;
    line-height:1.35;
    text-align:right;
}
@media(max-width:980px){
    .cp-document-row{
        grid-template-columns:48px minmax(0,1fr);
    }
    .cp-document-row__actions{
        grid-column:2;
        justify-content:flex-start;
    }
    .cp-document-meta{
        grid-template-columns:1fr 1fr;
    }
}
@media(max-width:620px){
    .cp-document-row{
        grid-template-columns:1fr;
    }
    .cp-document-row__icon{
        width:42px;
        height:42px;
    }
    .cp-document-row__actions{
        grid-column:1;
    }
    .cp-document-row__heading{
        flex-direction:column;
    }
    .cp-document-meta{
        grid-template-columns:1fr;
    }
    .cp-document-unavailable{
        max-width:none;
        text-align:left;
    }
}

