@font-face {
  font-family: "Open Sauce One";
  src: url("../fonts/OpenSauceOne-Regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Open Sauce One";
  src: url("../fonts/OpenSauceOne-SemiBold.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}

:root {
  --ui-primary: #0d6efd;
  --ui-danger: #dc3545;
  --ui-border: #d8dee7;
  --ui-muted: #64748b;
  --ui-radius: 0.55rem;
}

html { line-height: 1.5; }
body { margin: 0; font-family: "Open Sauce One", "Segoe UI", Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.container, .container-fluid { width: 100%; margin-inline: auto; padding-inline: 0.75rem; }
.container { max-width: 1200px; }
.row { display: flex; flex-wrap: wrap; margin-inline: -0.75rem; }
.row > * { width: 100%; padding-inline: 0.75rem; }
.col-12 { width: 100%; }
@media (min-width: 576px) { .col-sm-12 { width: 100%; } }
@media (min-width: 768px) { .col-md-4 { width: 33.333%; } .col-md-6 { width: 50%; } .col-md-8 { width: 66.667%; } }
@media (min-width: 992px) { .col-lg-5 { width: 41.667%; } .col-lg-7 { width: 58.333%; } }
@media (min-width: 1200px) { .col-xl-3 { width: 25%; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .5rem .8rem; border: 1px solid transparent; border-radius: var(--ui-radius); background: #fff; color: #1f2937; text-decoration: none; line-height: 1.2; }
.btn-sm { padding: .35rem .58rem; font-size: .875rem; }
.btn-primary { color: #fff; background: var(--ui-primary); border-color: var(--ui-primary); }
.btn-outline-primary { color: var(--ui-primary); border-color: var(--ui-primary); }
.btn-outline-secondary { color: #475569; border-color: #94a3b8; }
.btn-outline-danger { color: var(--ui-danger); border-color: var(--ui-danger); }
.btn-outline-info { color: #087990; border-color: #0dcaf0; }
.btn-close { width: 2rem; height: 2rem; padding: 0; border: 0; background: transparent; color: inherit; font-size: 1.5rem; }
.btn-close::before { content: "×"; }
.btn-group { display: inline-flex; }

.form-control, .form-select { display: block; width: 100%; min-height: 2.45rem; padding: .48rem .68rem; color: inherit; background: #fff; border: 1px solid var(--ui-border); border-radius: var(--ui-radius); }
.form-control-sm { min-height: 2rem; padding: .3rem .5rem; font-size: .875rem; }
.form-label { display: inline-block; margin-bottom: .35rem; font-weight: 600; }
.form-text, .text-muted { color: var(--ui-muted); font-size: .875rem; }
.form-check { display: flex; align-items: center; gap: .45rem; }
.form-check-input { width: 1rem; height: 1rem; }
.input-group { display: flex; width: 100%; }
.input-group > .form-control { min-width: 0; border-radius: var(--ui-radius) 0 0 var(--ui-radius); }
.input-group-text { display: inline-flex; align-items: center; padding: .48rem .68rem; border: 1px solid var(--ui-border); border-left: 0; border-radius: 0 var(--ui-radius) var(--ui-radius) 0; background: #f8fafc; }

.table-responsive { width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: .65rem; border-bottom: 1px solid var(--ui-border); text-align: left; }
.table-hover tbody tr:hover { background: #f8fafc; }
.table-striped tbody tr:nth-child(odd) { background: #f8fafc; }
.badge { display: inline-flex; padding: .25rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.text-bg-light { background: #f1f5f9; color: #334155; }
.alert { padding: .75rem 1rem; border: 1px solid #f0c36d; border-radius: var(--ui-radius); }
.alert-warning { color: #664d03; background: #fff3cd; }

.modal { position: fixed; inset: 0; z-index: 1050; display: none; overflow: auto; overscroll-behavior: contain; padding: 1rem; background: rgba(15, 23, 42, .5); }
.modal, .modal * { box-sizing: border-box; }
.modal.show { display: block; }
.modal-dialog { width: min(540px, calc(100vw - 2rem)); max-width: calc(100vw - 2rem); min-width: 0; margin: 2rem auto; }
.modal-sm { width: min(420px, calc(100vw - 2rem)); }
.modal-lg { width: min(900px, calc(100vw - 2rem)); }
.modal-xl { width: min(1140px, calc(100vw - 2rem)); }
.modal-dialog-centered { min-height: calc(100vh - 6rem); display: flex; align-items: center; }
.modal-dialog-scrollable { display: flex; max-height: calc(100vh - 6rem); }
.modal-dialog-scrollable .modal-content { max-height: calc(100vh - 6rem); }
.modal-content { display: flex; flex-direction: column; width: 100%; min-width: 0; max-height: calc(100vh - 6rem); overflow: hidden; background: #fff; box-shadow: 0 24px 70px rgba(15, 23, 42, .25); }
.modal-content > form { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; min-height: 0; max-height: 100%; overflow: hidden; }
.modal-header, .modal-footer { display: flex; flex: 0 0 auto; min-width: 0; align-items: center; gap: .75rem; padding: 1rem; }
.modal-header { justify-content: space-between; }
.modal-footer { flex-wrap: wrap; justify-content: flex-end; }
.modal-body { flex: 1 1 auto; min-width: 0; min-height: 0; max-width: 100%; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 1rem; }
.modal-title { margin: 0; }
body.modal-open { overflow: hidden; }

@supports (height: 100dvh) {
  .modal-dialog-centered { min-height: calc(100dvh - 6rem); }
  .modal-dialog-scrollable,
  .modal-dialog-scrollable .modal-content,
  .modal-content { max-height: calc(100dvh - 6rem); }
}

@media (max-width: 575.98px), (max-height: 720px) {
  .modal { padding: .5rem; }
  .modal-dialog { margin: 0 auto; }
  .modal-dialog-centered { min-height: calc(100vh - 1rem); }
  .modal-dialog-scrollable,
  .modal-dialog-scrollable .modal-content,
  .modal-content { max-height: calc(100vh - 1rem); }
  .modal-header, .modal-body, .modal-footer { padding: .75rem; }
  @supports (height: 100dvh) {
    .modal-dialog-centered { min-height: calc(100dvh - 1rem); }
    .modal-dialog-scrollable,
    .modal-dialog-scrollable .modal-content,
    .modal-content { max-height: calc(100dvh - 1rem); }
  }
}

@media (max-width: 575.98px) {
  .modal-dialog,
  .modal-sm,
  .modal-lg,
  .modal-xl { width: 100%; max-width: calc(100vw - 1rem); }
}

.dropdown { position: relative; }
.dropdown-menu { position: absolute; z-index: 1080; top: calc(100% + .3rem); right: 0; display: none; min-width: 12rem; padding: .4rem; background: #fff; border: 1px solid var(--ui-border); border-radius: var(--ui-radius); box-shadow: 0 14px 35px rgba(15, 23, 42, .16); }
.dropdown-menu.show { display: block; }
.dropdown-item, .dropdown-item-text { display: block; width: 100%; padding: .48rem .65rem; border: 0; background: transparent; color: inherit; text-align: left; text-decoration: none; border-radius: .35rem; }
.dropdown-item:hover { background: #f1f5f9; }
.dropdown-divider { height: 1px; margin: .35rem 0; background: var(--ui-border); }

.ui-toast-stack { position: fixed; z-index: 1200; right: 1rem; bottom: 1rem; display: grid; gap: .5rem; width: min(92vw, 360px); }
.ui-toast { padding: .75rem 1rem; color: #fff; background: #334155; border-radius: .65rem; box-shadow: 0 12px 30px rgba(15,23,42,.22); }
.ui-toast--success { background: #157347; } .ui-toast--warning { background: #8a6116; } .ui-toast--error { background: #b42318; }

.vanilla-calendar__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; }
.vanilla-calendar__controls { display: flex; gap: .3rem; }
.vanilla-calendar__title { font-weight: 800; text-transform: capitalize; }
.vanilla-calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--ui-border); }
.vanilla-calendar__weekday, .vanilla-calendar__day { min-width: 0; padding: .45rem; border: 0; border-right: 1px solid var(--ui-border); border-bottom: 1px solid var(--ui-border); background: #fff; text-align: left; }
.vanilla-calendar__weekday { font-weight: 700; text-align: center; background: #f8fafc; }
.vanilla-calendar__day { min-height: 86px; }
.vanilla-calendar__day--outside { opacity: .48; }
.vanilla-calendar__event { display: block; width: 100%; margin-top: .25rem; padding: .2rem .3rem; overflow: hidden; border: 0; border-radius: .3rem; background: #e8f1ff; color: #123a6d; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.vanilla-calendar__list { display: grid; gap: .5rem; }
.vanilla-calendar__date { padding: .65rem; border: 1px solid var(--ui-border); border-radius: .55rem; background: #fff; }

.d-none, .hidden { display: none !important; } .d-block { display: block !important; } .d-flex, .flex { display: flex !important; } .d-inline-flex, .inline-flex { display: inline-flex !important; } .inline-block { display: inline-block !important; }
.grid { display: grid !important; } .grid-cols-1 { grid-template-columns: 1fr; } .grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.flex-column, .flex-col { flex-direction: column; } .flex-1 { flex: 1 1 0; } .grow { flex-grow: 1; }
.items-center, .align-items-center { align-items: center; } .align-items-start { align-items: flex-start; } .justify-between, .justify-content-between { justify-content: space-between; } .justify-content-end { justify-content: flex-end; }
.gap-1 { gap: .25rem; } .gap-2 { gap: .5rem; } .gap-3 { gap: 1rem; } .gap-4 { gap: 1.5rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }
.w-100, .w-full { width: 100%; } .h-full, .h-100 { height: 100%; } .h-56 { height: 14rem; } .h-64 { height: 16rem; }
.mx-auto { margin-inline: auto; } .ms-auto { margin-left: auto; } .m-0 { margin: 0; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 2rem; } .mt-6 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .25rem; } .mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.me-1 { margin-right: .25rem; } .me-2 { margin-right: .5rem; } .my-2 { margin-block: .5rem; }
.p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; } .px-3 { padding-inline: .75rem; } .px-4 { padding-inline: 1rem; } .px-5 { padding-inline: 1.25rem; } .px-6 { padding-inline: 1.5rem; } .px-8 { padding-inline: 2rem; }
.py-1 { padding-block: .25rem; } .py-2 { padding-block: .5rem; } .py-3 { padding-block: .75rem; } .py-4 { padding-block: 1rem; } .py-10 { padding-block: 2.5rem; } .py-14 { padding-block: 3.5rem; } .pt-2 { padding-top: .5rem; } .pt-6 { padding-top: 1.5rem; } .pb-0 { padding-bottom: 0; } .pb-14 { padding-bottom: 3.5rem; } .pb-16 { padding-bottom: 4rem; }
.rounded { border-radius: .35rem; } .rounded-lg { border-radius: .5rem; } .rounded-xl { border-radius: .75rem; } .rounded-2xl { border-radius: 1rem; } .rounded-3xl { border-radius: 1.5rem; } .rounded-full { border-radius: 999px; }
.border { border: 1px solid var(--ui-border); } .border-slate-200 { border-color: #e2e8f0; } .border-slate-300 { border-color: #cbd5e1; } .shadow-sm, .shadow { box-shadow: 0 8px 24px rgba(15,23,42,.09); }
.relative { position: relative; } .absolute { position: absolute; } .inset-0 { inset: 0; } .z-0 { z-index: 0; } .z-10 { z-index: 10; } .z-20 { z-index: 20; } .overflow-hidden { overflow: hidden; } .object-cover { object-fit: cover; } .bg-center { background-position: center; } .bg-cover { background-size: cover; }
.font-sans { font-family: "Open Sauce One", "Segoe UI", Arial, sans-serif; } .font-semibold { font-weight: 600; } .font-bold { font-weight: 700; } .font-extrabold, .font-black { font-weight: 800; }
.text-xs { font-size: .75rem; } .text-sm { font-size: .875rem; } .text-base { font-size: 1rem; } .text-lg { font-size: 1.125rem; } .text-xl { font-size: 1.25rem; } .text-2xl { font-size: 1.5rem; } .text-3xl { font-size: 1.875rem; } .text-4xl { font-size: 2.25rem; } .text-5xl { font-size: 3rem; }
.uppercase { text-transform: uppercase; } .tracking-widest { letter-spacing: .1em; } .leading-relaxed { line-height: 1.7; } .text-nowrap { white-space: nowrap; } .text-decoration-none { text-decoration: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (min-width: 576px) { .sm\:flex-row { flex-direction: row; } .sm\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 768px) { .d-md-inline { display: inline !important; } .flex-md-row, .md\:flex-row { flex-direction: row; } .align-items-md-center { align-items: center; } .md\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); } .md\:p-8 { padding: 2rem; } .md\:text-xl { font-size: 1.25rem; } .md\:text-7xl { font-size: 4.5rem; } }
@media (min-width: 992px) { .lg\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); } .lg\:grid-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); } .lg\:grid-cols-4 { grid-template-columns: repeat(4,minmax(0,1fr)); } .lg\:px-20 { padding-inline: 5rem; } .lg\:text-5xl { font-size: 3rem; } }
