/* besluiten.nl-aanvullingen op de Techwind-template.
   Alleen wat de gecompileerde template-CSS (dist/assets/css/tailwind.css)
   niet bevat; kleuren komen uit de template-variabelen. */

:root { --color-primary-800: #372aac; --color-primary-900: #312c85; }

.ris-brand { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
.ris-brand i { font-size: 1.4rem; }
/* De productnaam besluiten.nl blijft in kleine letters, ook waar de template hoofdletters afdwingt. */
.ris-brand, .page-wrapper .sidebar-wrapper .sidebar-brand > a.ris-brand { text-transform: none; }
.ris-brand-sub { font-weight: 600; font-size: .75rem; opacity: .7; text-transform: uppercase; letter-spacing: .08em; margin-left: .25rem; }
.sidebar-wrapper .sidebar-brand .ris-brand { color: inherit; }
.sidebar-light .ris-brand { color: var(--color-primary); }
.ris-menu-sep { margin-top: .75rem; border-top: 1px solid rgb(255 255 255 / .1); padding-top: .5rem; }
.sidebar-light .ris-menu-sep { border-top-color: rgb(0 0 0 / .06); }

/* Dialogen */
.ris-dialog { max-height: 92vh; }
.ris-dialog::backdrop { background: rgb(15 23 42 / .5); }
.ris-dialog-normal { width: min(560px, 94vw); }
.ris-dialog-wide { width: min(880px, 96vw); }
.ris-dialog-body { max-height: calc(92vh - 150px); overflow-y: auto; }

/* Toasts */
.ris-toasts { position: fixed; right: 1rem; bottom: 1rem; z-index: 1000; max-width: 360px; }

/* Utilities die niet in de gecompileerde template zitten */
.space-y-1 > * + * { margin-top: .25rem; }
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.divide-y > * + * { border-top: 1px solid rgb(243 244 246); }
.dark .divide-y > * + * { border-top-color: rgb(31 41 55); }
.min-w-0 { min-width: 0; }
.shrink-0 { flex-shrink: 0; }
.leading-none { line-height: 1; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.whitespace-pre-line { white-space: pre-line; }
.list-disc { list-style: disc; }
.ps-5 { padding-inline-start: 1.25rem; }
.ps-8 { padding-inline-start: 2rem; }
.ms-2 { margin-inline-start: .5rem; }
.ms-4 { margin-inline-start: 1rem; }
.pt-1\.5 { padding-top: .375rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.my-12 { margin-top: 3rem; margin-bottom: 3rem; }
.py-0\.5 { padding-top: .125rem; padding-bottom: .125rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.px-2\.5 { padding-left: .625rem; padding-right: .625rem; }
.h-32 { height: 8rem; }
.h-4 { height: 1rem; }
.w-56 { width: 14rem; }
.size-3 { width: .75rem; height: .75rem; }
.size-12 { width: 3rem; height: 3rem; }
.border-s-2 { border-inline-start-width: 2px; }
.border-primary\/20 { border-color: color-mix(in oklab, var(--color-primary) 20%, transparent); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:text-primary-700:hover { color: var(--color-primary-700); }
.animate-spin { animation: ris-spin 1s linear infinite; }
@keyframes ris-spin { to { transform: rotate(360deg); } }
.max-w-3xl { max-width: 48rem; }
.ris-chat-vraag { background: color-mix(in oklab, var(--color-primary) 8%, transparent); }
.ris-hero { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-800) 100%); }

.gap-1 { gap: .25rem; }
.ris-foto { object-fit: cover; flex-shrink: 0; }
.h-12 { height: 3rem; }
.leading-relaxed { line-height: 1.625; }
.hover\:bg-white\/20:hover { background-color: rgb(255 255 255 / .2); }
.items-start { align-items: flex-start; }
.ps-3 { padding-inline-start: .75rem; }
.px-1 { padding-left: .25rem; padding-right: .25rem; }
.duration-300 { transition-duration: .3s; }
.bg-gray-200 { background-color: rgb(229 231 235); }
.bg-blue-600\/10 { background-color: rgb(37 99 235 / .1); }
.bg-gray-500\/10 { background-color: rgb(107 114 128 / .1); }
.bg-orange-600\/10 { background-color: rgb(234 88 12 / .1); }
.bg-purple-600\/10 { background-color: rgb(147 51 234 / .1); }
.bg-yellow-500\/10 { background-color: rgb(234 179 8 / .1); }
.bg-sky-500\/10 { background-color: rgb(14 165 233 / .1); }
@media (min-width: 720px) {
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* FullCalendar in template-stijl */
.fc .fc-button-primary { background: var(--color-primary); border-color: var(--color-primary); }
.fc .fc-button-primary:not(:disabled).fc-button-active, .fc .fc-button-primary:hover { background: var(--color-primary-700); border-color: var(--color-primary-700); }
.fc .fc-toolbar-title { font-size: 1.15rem; font-weight: 700; text-transform: capitalize; }
.dark .fc { --fc-border-color: rgb(31 41 55); --fc-page-bg-color: rgb(15 23 42); --fc-neutral-bg-color: rgb(30 41 59); --fc-list-event-hover-bg-color: rgb(30 41 59); }

@media (max-width: 720px) {
  .ris-dialog-wide .md\:grid-cols-2, .ris-dialog-wide .md\:grid-cols-3 { grid-template-columns: 1fr; }
}

/* Demo-omgeving */
.ris-demo-balk {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 999;
  display: flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px;
  background: rgb(15 23 42 / .92); color: #fff; font-size: .85rem; box-shadow: 0 8px 24px rgb(15 23 42 / .25);
  white-space: nowrap; max-width: calc(100vw - 2rem); overflow: hidden; text-overflow: ellipsis;
}
.ris-demo-balk a { color: #a5b4fc; text-decoration: underline; }
.ris-demo-rollen { display: grid; gap: .5rem; margin-bottom: 1.25rem; }
.ris-demo-rol { display: flex; align-items: center; gap: .75rem; width: 100%; text-align: left; padding: .65rem .85rem; border-radius: .5rem; border: 1px solid rgb(148 163 184 / .35); background: transparent; cursor: pointer; }
.ris-demo-rol:hover, .ris-demo-rol:focus-visible { border-color: var(--color-primary); background: color-mix(in oklab, var(--color-primary) 6%, transparent); }
.ris-demo-rol i { font-size: 1.35rem; color: var(--color-primary); }
.ris-demo-rol small { display: block; color: rgb(100 116 139); }
