/* Aanvulling op portal.css: echte invoervelden en knoppen. */
html, body { margin: 0; min-height: 100%; background: #F5F7F8; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.kp.page { min-height: 100vh; padding-bottom: 60px; }
.kp-top .nav { cursor: pointer; }
.kp-top .home { display: flex; align-items: center; gap: 22px; color: inherit; text-decoration: none; }
.kp-top .out { background: none; border: 0; color: #bfe3cc; padding: 0 0 0 6px; font-size: 16px; }
.tv-strip { background: #fff8e8; color: #7a5a00; font-size: 12px; text-align: center; padding: 5px 12px; border-bottom: 1px solid #f3e5bf; }
.tv-strip a { color: #004920; font-weight: 600; text-decoration: underline; }
.kp-page { max-width: 1280px; margin: 0 auto; }
.kp-ph, .kp-ph .r { flex-wrap: wrap; } /* op een telefoon onder elkaar in plaats van buiten beeld */
.kp-ph .r { display: flex; align-items: center; gap: 12px; }
.kp-btn { border: 0; }
.kp-btn[disabled] { opacity: .45; cursor: default; }
.kp-week button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 4px 10px; font-weight: 600; color: var(--muted); font-size: 12px; }
.kp-week button.on { color: var(--green); border-color: #cfe8d8; background: var(--lgreen); }
.kp-week .kp-seg { margin: 0 4px 0 0; padding: 2px; }
.kp-week .kp-seg button { border: 0; background: none; padding: 3px 10px; }
.kp-week .kp-seg button.on { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.kp-list thead th { vertical-align: top; }
.kp-list th .tv-filter { display: block; width: 100%; max-width: 260px; min-height: 0; margin-top: 4px; padding: 4px 8px; font-size: 12px; font-weight: 500; color: var(--ink); }
.kp-list th select.tv-filter { padding-right: 26px; }
.kp-list td.n, .kp-list th.n { text-align: right; padding-right: 22px; }
.kp-list td.acts { white-space: nowrap; text-align: right; padding-right: 0; }
.kp-list a.kp-tel { color: var(--green); font-weight: 600; }
.tv-link { background: none; border: 0; padding: 0 0 0 12px; color: var(--green); font-weight: 600; font-size: 12px; }
.tv-empty { padding: 26px 0; text-align: center; color: var(--muted); }

input.kp-in, select.kp-in, textarea.kp-in { display: block; width: 100%; font: inherit; color: inherit; }
input.kp-in, select.kp-in { height: 36px; min-height: 36px; padding-top: 0; padding-bottom: 0; }
select.kp-in { appearance: none; -webkit-appearance: none; padding-right: 28px; text-overflow: ellipsis; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%235d656d' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; }
textarea.kp-in { white-space: normal; min-height: 70px; resize: vertical; }
input.kp-in:focus, select.kp-in:focus, textarea.kp-in:focus { outline: 0; border-color: var(--green2); box-shadow: 0 0 0 3px rgba(63,181,111,.18); }
.reg { display: grid; grid-template-columns: 1fr 400px; gap: 18px; align-items: start; }
.set { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.set .kp-card + .kp-card, .reg .kp-card + .kp-card { margin-top: 0; }
.tv-line { border-top: 1px solid var(--line); padding: 10px 0; }
.tv-line:first-of-type { border-top: 0; }
.tv-row { display: grid; grid-template-columns: 22px 2.3fr 1fr 92px 72px 26px; gap: 8px; align-items: center; }
.tv-row.hd { font-size: 11.5px; font-weight: 600; color: var(--muted); padding-bottom: 2px; }
.tv-row .no { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.tv-row .del { background: none; border: 0; color: var(--muted); padding: 0; font-size: 15px; }
.tv-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 34px 0 30px; }
.tv-sub label { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
.tv-sub input + input, .tv-sub select + input { margin-top: 6px; }
.tv-more { background: none; border: 0; color: var(--muted); font-size: 11.5px; padding: 6px 0 0 30px; }
.kp-btn.add { cursor: pointer; }
.kp-seg { margin-bottom: 10px; }
.kp-seg button { flex: 1; border: 0; background: none; padding: 6px 0; border-radius: 6px; font-weight: 600; color: var(--muted); }
.kp-seg button.on { background: #fff; color: var(--green); box-shadow: 0 0 0 1px var(--line); }
.kp-days button { flex: 1; border: 1px solid #d5dadf; background: #fff; border-radius: 6px; padding: 5px 0; font-weight: 600; color: var(--muted); }
.kp-days button.on { background: var(--lgreen); border-color: var(--green2); color: var(--green); }
.tv-errors { background: var(--lred); color: var(--red); border-radius: 8px; padding: 9px 12px; margin-bottom: 10px; font-weight: 500; }
.tv-errors div + div { margin-top: 3px; }
.kp-tg { cursor: pointer; }
.tv-todo { color: #9a4600; font-size: 12px; font-weight: 500; margin-top: 8px; }
.tv-todo.err { color: var(--red); font-weight: 600; }
.kp-in.tv-miss { border-color: var(--red); box-shadow: 0 0 0 3px rgba(217,33,78,.14); }
.tv-toast { position: fixed; left: 50%; bottom: 64px; transform: translateX(-50%); background: #1d2a22; color: #fff; padding: 10px 18px; border-radius: 8px; font: 500 13px Poppins, Helvetica, sans-serif; z-index: 90; box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: 80vw; }
.kp-modal-bg { position: fixed; z-index: 80; }
.kp-modal { max-width: 92vw; }
.kp-modal.tv-busy { width: auto; display: flex; align-items: center; gap: 12px; padding: 18px 24px; font-weight: 600; }
.kp-src + .kp-src { margin-left: 4px; }
button.kp-src { border: 0; cursor: pointer; }
.kp-modal:has(.tv-trips) { width: 640px; }
.tv-trips { max-height: 60vh; overflow-y: auto; }
.tv-busy i { font-size: 20px; color: var(--green); animation: tv-spin 1s linear infinite; }
@keyframes tv-spin { to { transform: rotate(360deg); } }

.tv-login { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; }
.tv-login .box { width: 380px; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tv-login .hd { background: var(--green); color: #fff; padding: 16px 22px; display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 15px; }
.tv-login .hd img { height: 24px; }
.tv-login .bd { padding: 20px 22px; }
.tv-login .kp-btn { width: 100%; justify-content: center; margin-top: 4px; }
.tv-login .hint { max-width: 380px; color: var(--muted); font-size: 12px; text-align: center; }
.tv-login .hint button { background: none; border: 0; padding: 0; color: var(--green); font-weight: 600; font-size: 12px; }


.kp-top .usr { padding-left: 6px; }
.tv-signout { margin: 0; display: inline-flex; }
.tv-out-link { margin-top: 12px; font-size: 12px; }
.tv-out-link a { color: var(--green); font-weight: 600; }
.tv-requirements { color: var(--muted); font-size: 12px; padding-left: 18px; margin: 4px 0 12px; }
.tv-intro { margin: 0 0 12px; }
.tv-check { display: block; font-size: 13px; margin-bottom: 4px; cursor: pointer; }
.tv-sum-error { color: var(--red); font-weight: 500; }
.tv-head { display: grid; grid-template-columns: 22px 1fr 26px; gap: 8px; align-items: center; margin-bottom: 8px; }
.tv-head .no { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.tv-head .del { background: none; border: 0; color: var(--muted); padding: 0; font-size: 15px; }
.tv-fields { display: grid; gap: 8px; margin: 0 34px 8px 30px; }
.tv-fields.c2 { grid-template-columns: 1fr 1fr; }
.tv-fields.time { grid-template-columns: 1fr 110px; }
.tv-fields.c3 { grid-template-columns: 1.4fr 1fr 110px; }
.tv-fields label { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
textarea.kp-in { min-height: 0; }
