/* Oorspronkelijke basisopmaak van de portal. */
@font-face { font-family: 'Limelight'; src: url('/fonts/Limelight-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; font-display: swap; }
.dra-titel { font-family: 'Limelight'; font-size: clamp(.66rem, 2.5vw, .833rem); font-weight: normal; letter-spacing: 1px; color: white; }
.dra-titel span { font-size: 300%; vertical-align: baseline; }
.password-wrapper { position: relative; width: 100%; display: flex; align-items: center; }
.password-wrapper .form-control, .password-wrapper input { padding-right: 45px; }
.password-toggle { position: absolute; right: 12px; top: 55%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 1.2rem; color: #64748b; padding: 0; }
html, body { height: 100%; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Arial, sans-serif; background: #f4f6f9; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; }
.blueheader { background-color: #026eb4; padding: 0; color: white; text-align: center; font-size: clamp(.875rem, 2.5vw, 1.5rem); width: 100%; box-sizing: border-box; height: auto; }
.container-main { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 20px; padding: 20px; margin-top: auto; margin-bottom: auto; box-sizing: border-box; }
.menuItem { background: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,.06); display: flex; align-items: center; justify-content: space-between; font-weight: bold; color: #1e3a8a; font-size: clamp(1rem, 4vw, 1.4rem); cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s; box-sizing: border-box; }
.menuItem:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.1); background-color: #f8fafc; }
.menuItem img { height: 28px; width: auto; object-fit: contain; }
.index-application { padding-top: 4px; padding-bottom: 4px; }
.index-application + .index-application { margin-top: -12px; }
.index-application-image { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 6px; border-radius: 6px; box-sizing: border-box; }
.wrapper { width: 100%; background: white; padding: 40px 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,.06); box-sizing: border-box; text-align: center; }
h1 { font-size: 1.5rem; color: #1f2937; margin: 0 0 10px; }
p { color: #4b5563; font-size: .95rem; margin-bottom: 25px; line-height: 1.5; }
.btn-portal { display: block; background: #2563eb; color: white; padding: 14px 24px; border: none; border-radius: 6px; font-weight: bold; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .2s; box-shadow: 0 2px 5px rgba(37,99,235,.2); width: 100%; box-sizing: border-box; }
.btn-portal:hover, .btn-login:hover { background: #1d4ed8; }
.btn-login { background: #2563eb; color: white; padding: 12px; border: none; border-radius: 6px; font-weight: bold; font-size: 1rem; cursor: pointer; margin-top: 10px; width: 100%; transition: background .2s; }
.modal-overlay { position: fixed; inset: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); display: none; align-items: center; justify-content: center; z-index: 1000; }
.modal-content { background: white; width: 100%; max-width: 360px; padding: 30px; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,.15); box-sizing: border-box; position: relative; text-align: left; }
@media (max-width: 600px) {
    .modal-content { width: calc(100% - 32px); }
}
.close-modal { position: absolute; top: 12px; right: 15px; padding: 0; border: 0; background: none; font-size: 1.5rem; color: #9ca3af; cursor: pointer; font-weight: bold; line-height: 1; }
.close-modal:hover { color: #4b5563; }
.modal-title { font-size: 1.2rem; font-weight: bold; color: #1e3a8a; margin-bottom: 20px; text-align: center; border-bottom: 2px solid #f3f4f6; padding-bottom: 10px; }
.form-group { margin-bottom: 15px; display: flex; flex-direction: column; }
label { font-size: .9rem; font-weight: 600; color: #4b5563; margin-bottom: 5px; }
input { padding: 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 1rem; width: 100%; box-sizing: border-box; }
.toggle-password { position: absolute; right: 12px; cursor: pointer; color: #6b7280; font-size: .75rem; user-select: none; padding: 4px; font-weight: bold; }
.toggle-password:hover { color: #111827; }
.alert { padding: 12px; background: #fde8e8; color: #9b1c1c; border: 1px solid #f8b4b4; border-radius: 6px; margin-bottom: 15px; font-size: .9rem; }
.otp-box { background: #f0fdf4; border: 1px solid #bbf7d0; padding: 15px; border-radius: 6px; margin-bottom: 15px; }
.trusted-device-option { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; margin: 10px 0; font-size: .9rem; white-space: nowrap; }
.trusted-device-option input { flex: 0 0 auto; width: auto; margin: 0; padding: 0; }
.portal-version { position: fixed; right: 10px; bottom: 8px; color: #6b7280; font-size: .75rem; }
.emergency-link { display: block; width: 100%; margin-top: 15px; padding: 0; border: 0; background: none; cursor: pointer; text-align: center; font-size: .85rem; color: #2563eb; text-decoration: none; font-weight: 500; }
.emergency-link:hover { text-decoration: underline; }
.password-reset-card { max-width: 420px; text-align: left; }
.password-reset-card h1 { text-align: center; }
.reset-message { padding: 12px; background: #e1fbf1; color: #0d5c3a; border: 1px solid #a2f1cc; border-radius: 6px; margin-bottom: 15px; font-size: .9rem; }
.reset-back-link { display: block; margin-top: 20px; text-align: center; color: #2563eb; text-decoration: none; font-size: .9rem; }
.reset-back-link:hover { text-decoration: underline; }
.freeze-overlay { position: fixed; inset: 0; width: 100%; height: 100%; background: rgba(255,255,255,.8); display: none; flex-direction: column; align-items: center; justify-content: center; z-index: 2000; cursor: wait; }
.spinner { border: 4px solid #f3f4f6; border-top-color: #2563eb; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin-bottom: 15px; }
.freeze-text { font-weight: 600; color: #1e3a8a; font-size: 1rem; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
