/* Mijn Digitaal Publiceren: own customer environment, independent of the shop theme. */
:root { --dps-blue: #2986b6; --dps-blue-dark: #226f98; --dps-ink: #1f2937; --dps-muted: #5b6673; --dps-line: #d6dee8; --dps-bg: #f4f7fa; --dps-card: #ffffff; --dps-ok: #1f7a4d; --dps-ok-bg: #e6f4ec; --dps-err: #b42318; --dps-err-bg: #fdecea; }
* { box-sizing: border-box; }
html { background: var(--dps-bg); }
body.dps-portal { margin: 0; font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--dps-ink); background: var(--dps-bg); min-height: 100vh; display: flex; flex-direction: column; }
.dps-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.dps-skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--dps-blue); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.dps-skip:focus { left: 8px; outline: 3px solid var(--dps-blue); }
.dps-header { background: #fff; border-bottom: 1px solid var(--dps-line); }
.dps-header-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; flex-wrap: wrap; }
.dps-brand img { display: block; height: 40px; width: auto; }
.dps-wordmark { font-weight: 800; font-size: 1.25em; color: var(--dps-blue); letter-spacing: -0.01em; }
.dps-header-title { font-weight: 600; color: var(--dps-muted); }
.dps-header-user { margin-left: auto; color: var(--dps-muted); font-size: 0.95em; }
.dps-nav { background: var(--dps-blue); }
.dps-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.dps-nav a { display: block; padding: 12px 14px; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95em; border-bottom: 3px solid transparent; }
.dps-nav a:hover, .dps-nav a:focus-visible { background: var(--dps-blue-dark); outline: none; }
.dps-nav a:focus-visible { box-shadow: inset 0 0 0 3px #fff; }
.dps-nav a[aria-current='page'] { border-bottom-color: #fff; background: var(--dps-blue-dark); }
.dps-main { flex: 1 0 auto; padding: 28px 20px 48px; }
.dps-main:focus { outline: none; }
.dps-main h1 { font-size: 1.75em; margin: 0 0 18px; letter-spacing: -0.01em; }
.dps-main h2 { font-size: 1.25em; margin: 28px 0 10px; }
.dps-main h3 { font-size: 1.1em; margin: 0 0 8px; }
.dps-main h4 { font-size: 1em; margin: 14px 0 6px; }
.dps-main a { color: var(--dps-blue); }
.dps-lead { font-size: 1.05em; max-width: 60ch; }
.dps-muted { color: var(--dps-muted); }
.dps-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 18px 0 8px; }
.dps-card { display: flex; flex-direction: column; gap: 4px; background: var(--dps-card); border: 1px solid var(--dps-line); border-radius: 10px; padding: 18px 20px; text-decoration: none; color: var(--dps-ink); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); transition: box-shadow .15s, border-color .15s; }
.dps-card:hover, .dps-card:focus-visible { border-color: var(--dps-blue); box-shadow: 0 4px 14px rgba(41, 134, 182, 0.18); outline: none; }
.dps-card-num { font-size: 2.2em; font-weight: 800; line-height: 1; color: var(--dps-blue); }
.dps-card-label { color: var(--dps-muted); }
.dps-card-action { margin-top: 8px; font-weight: 600; color: var(--dps-blue); }
.dps-card-action::after { content: ' \2192'; }
.dps-form { background: var(--dps-card); border: 1px solid var(--dps-line); border-radius: 10px; padding: 20px 22px; margin: 0 0 20px; }
.dps-form-narrow { max-width: 460px; }
.dps-form p { margin: 0 0 14px; }
.dps-form label { display: block; font-weight: 600; margin: 0 0 4px; font-size: 0.95em; }
.dps-form input[type='text'], .dps-form input[type='email'], .dps-form input[type='password'], .dps-form input[type='tel'], .dps-form input[type='file'], .dps-form select, .dps-form textarea,
.dps-credit-upload input[type='text'], .dps-credit-upload input[type='file'], .dps-credit-upload textarea, .dps-order-lookup input[type='text'] { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #b9c5d3; border-radius: 6px; background: #fff; color: var(--dps-ink); }
.dps-form input:focus, .dps-form select:focus, .dps-form textarea:focus, .dps-credit-upload input:focus, .dps-credit-upload textarea:focus, .dps-order-lookup input:focus { outline: 3px solid rgba(41, 134, 182, 0.35); border-color: var(--dps-blue); }
.dps-check label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.dps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 18px; }
.dps-btn, .dps-portal button.button, .dps-portal .button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 6px; border: 2px solid var(--dps-blue); background: var(--dps-blue); color: #fff; cursor: pointer; text-decoration: none; line-height: 1.2; }
.dps-btn:hover, .dps-portal button.button:hover, .dps-portal .button:hover { background: var(--dps-blue-dark); border-color: var(--dps-blue-dark); color: #fff; }
.dps-btn:focus-visible, .dps-portal button.button:focus-visible { outline: 3px solid rgba(41, 134, 182, 0.4); outline-offset: 2px; }
.dps-btn-secondary { background: #fff; color: var(--dps-blue); }
.dps-btn-secondary:hover { background: #eef6fb; color: var(--dps-blue-dark); }
.dps-btn-small { padding: 4px 10px; font-size: 0.85em; margin-left: 6px; }
.dps-table { width: 100%; border-collapse: collapse; background: var(--dps-card); border: 1px solid var(--dps-line); border-radius: 10px; overflow: hidden; margin: 0 0 16px; }
.dps-table th, .dps-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--dps-line); vertical-align: top; }
.dps-table th { background: #eef3f8; font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.04em; color: var(--dps-muted); }
.dps-table tr:last-child td { border-bottom: 0; }
.dps-running-order, .dps-renewal-overview, .dps-renewal-confirmation { background: var(--dps-card); border: 1px solid var(--dps-line); border-radius: 10px; padding: 18px 22px; margin: 0 0 18px; }
.dps-running-order + hr, .dps-portal hr { display: none; }
.dps-open-credit { margin: 0 0 10px; }
.dps-running-order[data-open='0'] .dps-open-credit { color: var(--dps-muted); }
.dps-credit-order, .dps-single-order { border-top: 1px solid var(--dps-line); padding-top: 10px; margin-top: 10px; }
.dps-credit-history { padding-left: 18px; }
.dps-credit-upload { margin-top: 12px; padding: 14px 16px; background: var(--dps-bg); border-radius: 8px; }
.dps-credit-upload p { margin: 0 0 10px; }
.dps-credit-upload label { display: block; font-weight: 600; font-size: 0.95em; margin: 0 0 4px; }
.dps-order-lookup { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; background: var(--dps-card); border: 1px solid var(--dps-line); border-radius: 10px; padding: 14px 16px; margin: 0 0 18px; }
.dps-order-lookup label { font-weight: 600; width: 100%; }
.dps-order-lookup input[type='text'] { width: 180px; }
.dps-renewal-overview ul { list-style: none; padding: 0; margin: 0; }
.dps-renewal-overview li { padding: 12px 0; border-top: 1px solid var(--dps-line); }
.dps-renewal-overview li:first-child { border-top: 0; }
.dps-renewal-overview li > a:first-child { font-weight: 700; font-size: 1.05em; }
.dps-portal .woocommerce-message, .dps-portal .woocommerce-error, .dps-portal .woocommerce-info, .dps-portal .wc-block-components-notice-banner { list-style: none; margin: 0 0 18px; padding: 12px 16px; border-radius: 8px; border: 1px solid; }
.dps-portal .woocommerce-message, .dps-portal .wc-block-components-notice-banner.is-success { background: var(--dps-ok-bg); border-color: var(--dps-ok); color: var(--dps-ok); }
.dps-portal .woocommerce-error, .dps-portal .wc-block-components-notice-banner.is-error { background: var(--dps-err-bg); border-color: var(--dps-err); color: var(--dps-err); }
.dps-portal .woocommerce-info, .dps-portal .wc-block-components-notice-banner.is-info { background: #eef6fb; border-color: var(--dps-blue); color: var(--dps-blue-dark); }
.dps-portal .wc-block-components-notice-banner svg { display: none; }
.dps-portal p[role='alert'] { color: var(--dps-err); }
.dps-footer { border-top: 1px solid var(--dps-line); background: #fff; color: var(--dps-muted); font-size: 0.9em; padding: 18px 0; }
.dps-footer p { margin: 4px 0; }
.dps-footer a { color: var(--dps-blue); }
@media (max-width: 720px) {
  .dps-header-inner { min-height: 60px; gap: 10px; }
  .dps-header-title { display: none; }
  .dps-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .dps-nav a { padding: 10px 12px; font-size: 0.9em; border-bottom: 1px solid rgba(255, 255, 255, 0.15); border-left: 3px solid transparent; }
  .dps-nav a[aria-current='page'] { border-left-color: #fff; border-bottom-color: rgba(255, 255, 255, 0.15); }
  .dps-main { padding: 20px 16px 36px; }
  .dps-table thead { display: none; }
  .dps-table tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--dps-line); }
  .dps-table td { display: flex; gap: 10px; border: 0; padding: 4px 12px; }
  .dps-table td::before { content: attr(data-label); flex: 0 0 96px; font-weight: 600; color: var(--dps-muted); }
  .dps-order-lookup input[type='text'] { width: 100%; }
}
