/* ============================================================
   SUPPORTPORTAAL — Reese Media
   Eigen, kale pagina: geen marketingnavbar. Blauwe kopsectie met de
   openingsstatus, daaronder het ticketformulier op een witte kaart.
   Blauw #1359D1 · navy #0F2244.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.sp-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
    background: #F4F7FB;
    color: #0b0f1a;
    -webkit-font-smoothing: antialiased;
}

.sp-body svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- BLAUWE KOP ---------- */

.sp-top {
    position: relative;
    background: #1359D1;
    color: #fff;
    overflow: hidden;
}

/* fijne lijnentekening op de achtergrond, heel licht */
.sp-top::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 92px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 92px);
    pointer-events: none;
}

.sp-top-inner, .sp-band { position: relative; z-index: 1; }

.sp-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1180px;
    height: 72px;
    margin: 0 auto;
    padding: 0 40px;
}

.sp-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

/* logo staat in donkere inkt → omkeren naar wit */
.sp-brand img {
    height: 40px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

/* "Support" met een haarlijntje ertussen */
.sp-brand-label {
    position: relative;
    padding-left: 17px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: rgba(255,255,255,0.72);
}

.sp-brand-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.3);
}

.sp-top-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.sp-top-nav a {
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    transition: color 0.2s ease;
}
.sp-top-nav a:hover { color: #fff; }

.sp-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 500;
    white-space: nowrap;
    color: rgba(255,255,255,0.82);
}
.sp-status .sp-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #FF6B6B;
}
.sp-status.is-open .sp-dot { background: #6EE7A0; }

.sp-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #0F2244 !important;
    transition: background 0.2s ease;
}
.sp-top-btn:hover { background: #eef3fb; }
.sp-top-btn svg { width: 15px; height: 15px; stroke-width: 2.2; }

/* ---------- STATUSBAND ---------- */

.sp-band {
    max-width: 780px;
    margin: 0 auto;
    padding: 64px 32px 96px;
    text-align: center;
}

.sp-band-title {
    font-size: clamp(32px, 4.4vw, 50px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin-bottom: 16px;
}
/* gesloten: rood — open: licht blauwgroen */
.sp-band-title span { color: #FF6B6B; }
.sp-band-title span.is-open { color: #9BF0BF; }

.sp-band-sub {
    max-width: 560px;
    margin: 0 auto;
    font-size: 16.5px;
    line-height: 1.65;
    color: rgba(255,255,255,0.78);
}

/* witte balk met klok, uren van vandaag en de knop */
.sp-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 36px auto 0;
    padding: 10px 10px 10px 20px;
    border-radius: 8px;
    background: #fff;
    text-align: left;
    box-shadow: 0 16px 40px -26px rgba(4,26,66,0.7);
}

.sp-now {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
    padding-right: 20px;
    border-right: 1px solid rgba(11,15,26,0.12);
}
.sp-now-state {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #D93025;
}
.sp-now.is-open .sp-now-state { color: #1359D1; }
.sp-now-clock {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 18px;
    font-weight: 600;
    color: #0F2244;
    font-variant-numeric: tabular-nums;
}

.sp-bar-hours {
    flex: 1 1 auto;
    font-size: 15px;
    color: #5b616e;
}

.sp-bar-btn {
    flex-shrink: 0;
    padding: 13px 24px;
    border-radius: 6px;
    background: #1359D1;
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
}
.sp-bar-btn:hover { background: #0F49AE; }

/* weekoverzicht onder de balk */
.sp-week {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 40px;
    margin-top: 26px;
}

.sp-week-item {
    display: flex;
    align-items: baseline;
    gap: 9px;
    font-size: 14px;
    color: rgba(255,255,255,0.62);
}
.sp-week-item strong { font-weight: 600; color: rgba(255,255,255,0.78); }
.sp-week-item.is-today { color: #fff; }
.sp-week-item.is-today strong { color: #fff; font-weight: 700; }

/* ---------- HOOFDLAYOUT ---------- */

.sp-main {
    position: relative;
    z-index: 2;          /* anders schuift de kaart onder de blauwe band */
    max-width: 880px;
    margin: -56px auto 0;
    padding: 0 32px 90px;
}

.sp-form-wrap {
    padding: 42px 44px 38px;
    background: #fff;
    border: 1px solid rgba(11,15,26,0.12);
    border-radius: 8px;
}

.sp-form-head { margin-bottom: 34px; }
.sp-form-head h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
}
.sp-form-head p {
    font-size: 15px;
    line-height: 1.65;
    color: #5b616e;
    max-width: 560px;
}

.sp-req { color: #ED3B3B; }

/* blokken */
.sp-block {
    border: none;
    padding: 32px 0 0;
    margin-top: 32px;
    border-top: 1px solid rgba(11,15,26,0.07);
}
.sp-block:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.sp-block-head {
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8d94a3;
}

/* velden */
.sp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sp-field { margin-bottom: 18px; }
.sp-row .sp-field { margin-bottom: 0; }
.sp-row + .sp-row, .sp-row + .sp-field { margin-top: 16px; }

.sp-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #5b616e;
}

.sp-input, .sp-select, .sp-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(11,15,26,0.16);
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    color: #0b0f1a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sp-input::placeholder, .sp-textarea::placeholder { color: #a6acb9; }

.sp-input:focus, .sp-select:focus, .sp-textarea:focus {
    outline: none;
    border-color: #0A5CC4;
    box-shadow: 0 0 0 3px rgba(10,92,196,0.14);
}

.sp-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b616e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 17px;
    padding-right: 42px;
}

.sp-textarea { resize: vertical; min-height: 150px; line-height: 1.6; }

/* ---------- BIJLAGEN ---------- */

.sp-drop {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border: 1px dashed rgba(11,15,26,0.28);
    border-radius: 6px;
    background: #f7f9fc;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.sp-drop:hover, .sp-drop.is-over {
    border-color: #0A5CC4;
    background: rgba(10,92,196,0.05);
}

.sp-drop input[type="file"] {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0;
    overflow: hidden;
}

.sp-drop-ico {
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 5px;
    background: rgba(15,34,68,0.07);
    color: #5b616e;
    flex-shrink: 0;
}
.sp-drop-ico svg { width: 19px; height: 19px; }

.sp-drop-txt { display: flex; flex-direction: column; gap: 3px; }
.sp-drop-txt strong { font-size: 14.5px; font-weight: 600; color: #0b0f1a; }
.sp-drop-txt span { font-size: 13px; color: #8d94a3; }

.sp-files { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }

.sp-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border: 1px solid rgba(11,15,26,0.14);
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
}
.sp-file-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: #0b0f1a;
}
.sp-file-size { font-size: 13px; color: #8d94a3; flex-shrink: 0; }
.sp-file-del {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border: none;
    border-radius: 50%;
    background: rgba(11,15,26,0.05);
    color: #5b616e;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.sp-file-del:hover { background: rgba(237,59,59,0.12); color: #ED3B3B; }

/* ---------- PRIORITEIT ---------- */

.sp-prios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sp-prio { cursor: pointer; }
.sp-prio input { position: absolute; opacity: 0; pointer-events: none; }

.sp-prio-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 18px 18px 17px;
    border: 1px solid rgba(11,15,26,0.16);
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.sp-prio-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sp-prio-name { font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; }

.sp-prio-mark {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 1.5px solid rgba(11,15,26,0.22);
    background: #fff;
    flex-shrink: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sp-prio-desc { font-size: 13.5px; line-height: 1.55; color: #5b616e; }

.sp-prio:hover .sp-prio-box { border-color: rgba(11,15,26,0.24); }

.sp-prio input:checked + .sp-prio-box {
    border-color: #0A5CC4;
    background: rgba(10,92,196,0.05);
}
.sp-prio input:checked + .sp-prio-box .sp-prio-mark {
    border-color: #0A5CC4;
    box-shadow: inset 0 0 0 5px #0A5CC4;
}
.sp-prio input:focus-visible + .sp-prio-box {
    box-shadow: 0 0 0 3px rgba(10,92,196,0.18);
}

.sp-prio--urgent input:checked + .sp-prio-box {
    border-color: #ED3B3B;
    background: rgba(237,59,59,0.05);
}
.sp-prio--urgent input:checked + .sp-prio-box .sp-prio-mark {
    border-color: #ED3B3B;
    box-shadow: inset 0 0 0 5px #ED3B3B;
}

/* voorwaarde bij noodgeval */
.sp-urgent-note {
    display: none;
    margin-top: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(237,59,59,0.28);
    border-radius: 6px;
    background: rgba(237,59,59,0.04);
}
.sp-urgent-note.show { display: block; }

.sp-urgent-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14.5px;
    color: #c32f2f;
}
.sp-urgent-head svg { width: 18px; height: 18px; flex-shrink: 0; }

.sp-urgent-note p {
    font-size: 14px;
    line-height: 1.6;
    color: #5b616e;
    margin-bottom: 14px;
}

.sp-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14px;
    line-height: 1.55;
    color: #3d4350;
    cursor: pointer;
}
.sp-check input { position: absolute; opacity: 0; pointer-events: none; }

.sp-check-box {
    display: grid;
    place-items: center;
    width: 21px; height: 21px;
    margin-top: 1px;
    border: 1px solid rgba(11,15,26,0.28);
    border-radius: 4px;
    background: #fff;
    color: transparent;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.sp-check-box svg { width: 13px; height: 13px; stroke-width: 3; }

.sp-check input:checked + .sp-check-box {
    background: #ED3B3B;
    border-color: #ED3B3B;
    color: #fff;
}
.sp-check input:focus-visible + .sp-check-box {
    box-shadow: 0 0 0 4px rgba(237,59,59,0.18);
}

/* ---------- VERSTUREN ---------- */

.sp-submit-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(11,15,26,0.08);
}

.sp-submit {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 15px 28px;
    border: none;
    border-radius: 6px;
    background: #0A5CC4;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, gap 0.2s ease;
}
.sp-submit:hover:not(:disabled) {
    background: #094ba0;
}
.sp-submit:disabled { opacity: 0.6; cursor: default; }
.sp-submit svg { width: 18px; height: 18px; stroke-width: 2.2; }

.sp-secure {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    line-height: 1.5;
    color: #8d94a3;
    max-width: 330px;
}
.sp-secure svg { width: 16px; height: 16px; flex-shrink: 0; }

.sp-error {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #c32f2f;
}
.sp-error:empty { display: none; }

/* ---------- BEVESTIGING ---------- */

.sp-success {
    display: none;
    padding: 56px 40px 50px;
    background: #fff;
    border: 1px solid rgba(11,15,26,0.12);
    border-radius: 8px;
    text-align: center;
}
.sp-success.show { display: block; }

.sp-success-ico {
    display: grid;
    place-items: center;
    width: 62px; height: 62px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: rgba(10,92,196,0.10);
    color: #0A5CC4;
}
.sp-success-ico svg { width: 28px; height: 28px; stroke-width: 2.6; }

.sp-success h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 10px;
}
.sp-success p {
    font-size: 15.5px;
    line-height: 1.65;
    color: #5b616e;
    max-width: 480px;
    margin: 0 auto;
}

.sp-ticket-nr {
    display: inline-block;
    margin: 24px 0 26px;
    padding: 11px 20px;
    border-radius: 6px;
    background: #eef2f8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sp-ghost-btn {
    display: block;
    margin: 0 auto;
    padding: 13px 24px;
    border: 1px solid rgba(11,15,26,0.2);
    border-radius: 6px;
    background: none;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    color: #0b0f1a;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.sp-ghost-btn:hover { background: #0F2244; border-color: #0F2244; color: #fff; }

/* ---------- FOOTER ---------- */

.sp-footer {
    background: #fff;
    border-top: 1px solid rgba(11,15,26,0.08);
}

.sp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 26px 32px;
    font-size: 13.5px;
    color: #8d94a3;
}

.sp-footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.sp-footer-links a {
    color: #8d94a3;
    text-decoration: none;
    transition: color 0.2s ease;
}
.sp-footer-links a:hover { color: #0b0f1a; }

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

@media (max-width: 860px) {
    .sp-top-nav a:not(.sp-top-btn) { display: none; }
    .sp-band { padding: 52px 28px 88px; }
    .sp-main { padding: 0 28px 80px; }
}

@media (max-width: 680px) {
    .sp-top-inner { height: 66px; padding: 0 18px; gap: 10px; }
    .sp-brand img { height: 26px; }
    .sp-brand-label { padding-left: 13px; font-size: 15px; }
    .sp-brand-label::before { height: 19px; }
    .sp-status { font-size: 13px; }
    .sp-top-btn { padding: 9px 14px; font-size: 13px; }
    .sp-top-btn svg { display: none; }

    .sp-band { padding: 40px 20px 80px; }
    .sp-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px;
        text-align: center;
    }
    .sp-now {
        flex-direction: row;
        align-items: baseline;
        justify-content: center;
        gap: 10px;
        padding: 0 0 14px;
        border-right: none;
        border-bottom: 1px solid rgba(11,15,26,0.12);
    }
    .sp-bar-btn { text-align: center; }
    .sp-week { flex-direction: column; align-items: center; gap: 8px; }

    .sp-main { padding: 0 20px 60px; }
    .sp-form-wrap { padding: 24px 20px 22px; }
    .sp-row { grid-template-columns: 1fr; }
    .sp-row .sp-field + .sp-field { margin-top: 16px; }
    .sp-prios { grid-template-columns: 1fr; }
    .sp-drop { flex-direction: column; align-items: flex-start; }
    .sp-submit { width: 100%; justify-content: center; }
    .sp-secure { max-width: none; }
    .sp-footer-inner { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .sp-body * { transition-duration: 0.01ms !important; }
}
