/*
 * AfroPin base layer for the signed-in areas, loaded after Bootstrap 5.0.1 and before console.css.
 * Bootstrap gives the grid, utilities and components; this file sets AfroPin's type scale, spacing scale, form,
 * button, card and modal values, and the layout pieces the shell uses (sidebar, top bar, drawers, menus,
 * logo pickers, avatars). console.css then applies the brand (rx-* components, colours, dark mode).
 */
@import url("../icons/bootstrap-icons.css");
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Geist+Mono:wght@100..900&display=swap");

:root {
    --bs-font-sans-serif: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --bs-font-monospace: "Geist Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gray: #7E8299; --bs-gray-dark: #3F4254; --bs-white: #ffffff; --bs-light: #e6e8e8;
    --bs-primary: #0a24f4; --bs-secondary: #E4E6EF; --bs-success: #058339; --bs-info: #2a6aff;
    --bs-warning: #FFE86B; --bs-danger: #F1416C; --bs-dark: #181C32;
    --bs-success-light: #0583398b; --bs-info-light: #2a6aff3b; --bs-warning-light: #ffc80061;
    --bs-light-primary: #F1FAFF; --bs-active-primary: #008BD9; --bs-light-success: #E8FFF3; --bs-active-success: #47BE7D;
    --bs-light-info: #4ccfd61f; --bs-active-info: #5014D0; --bs-light-warning: #FFF8DD; --bs-active-warning: #F1BC00;
    --bs-light-danger: #FFF5F8; --bs-active-danger: #D9214E; --bs-light-dark: #EFF2F5; --bs-active-dark: #131628;
    --bs-gray-100: #e6e8e8; --bs-gray-200: #EFF2F5; --bs-gray-300: #E4E6EF; --bs-gray-400: #B5B5C3; --bs-gray-500: #A1A5B7;
    --bs-gray-600: #7E8299; --bs-gray-700: #5E6278; --bs-gray-800: #3F4254; --bs-gray-900: #181C32;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-xs: 0; --bs-sm: 576px; --bs-md: 768px; --bs-lg: 992px; --bs-xl: 1200px; --bs-xxl: 1400px;
    --si-border-radius: 0.375rem; --si-border-radius-sm: 0.25rem; --si-border-radius-lg: 0.5rem;
    --si-border-radius-xl: 1rem; --si-border-radius-2xl: 2rem; --si-border-radius-pill: 50rem;

    /* Values repeated below */
    --rx-ink: #181c32;
    --rx-ink-soft: #3f4254;
    --rx-quiet: #a1a5b7;
    --rx-rule: #eff2f5;
    --rx-field-line: rgba(37, 64, 53, .06);
    --rx-focus-ring: 0 0 0 .25rem rgba(0, 163, 255, .25);
    --rx-link: #f90808;
    --rx-radius: .475rem;
    --rx-veil: rgba(0, 15, 53, .32);
    --rx-panel-edge: rgba(0, 15, 53, .08);
    --rx-float-shadow: 0 0 50px 0 rgba(82, 63, 105, .15);
}

/* ---------- Page and text ---------- */

.bi { fill: inherit !important; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { margin-top: 0; margin-bottom: .5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
h1, .h1 { font-size: calc(1.3rem + .6vw); }
h2, .h2 { font-size: calc(1.275rem + .3vw); }
h3, .h3 { font-size: calc(1.26rem + .12vw); }
h5, .h5 { font-size: 1.15rem; }
@media (min-width: 1200px) {
    h1, .h1 { font-size: 1.75rem; }
    h2, .h2 { font-size: 1.5rem; }
    h3, .h3 { font-size: 1.35rem; }
}
dt { font-weight: 500; }
b, strong { font-weight: 400; }
code, pre { font-family: var(--bs-font-monospace); font-size: 1em; direction: ltr; unicode-bidi: bidi-override; }
pre { font-size: .875em; }
code { font-size: .875em; color: #b93993; }
[type=search] { appearance: textfield; }

/* ---------- Grid ---------- */

.container, .container-fluid { padding-right: var(--bs-gutter-x, 1.5rem); padding-left: var(--bs-gutter-x, 1.5rem); }
@media (min-width: 1400px) { .container { max-width: 100%; } }
.g-3 { --bs-gutter-x: .75rem; --bs-gutter-y: .75rem; }
.g-4 { --bs-gutter-x: 1rem; }
.g-4, .gy-4 { --bs-gutter-y: 1rem; }
.g-5 { --bs-gutter-x: 1.25rem; --bs-gutter-y: 1.25rem; }
.g-8 { --bs-gutter-x: 2rem; --bs-gutter-y: 2rem; }
.g-10 { --bs-gutter-x: 2.5rem; --bs-gutter-y: 2.5rem; }

/* ---------- Form fields (sizes; the brand look comes from console.css) ---------- */

.form-control::placeholder { color: var(--rx-quiet); }
.form-control:disabled, .form-control[readonly] { background-color: transparent; }
.form-control::file-selector-button, .form-control::-webkit-file-upload-button {
    min-height: calc(1.5em + 1.65rem + 2px); padding: .75rem 1rem; margin: -.75rem -1rem; margin-inline-end: 1rem;
    color: var(--rx-ink); background-color: #e6e8e8; transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control-lg { min-height: calc(1.5em + 1.65rem + 2px); padding: .825rem 1.5rem; font-size: 16px; border-radius: var(--rx-radius); }
textarea.form-control { min-height: calc(1.5em + 1.5rem + 2px); }
.form-control-color { padding: .75rem; }
.form-control-color::-webkit-color-swatch { border-radius: var(--rx-radius); }
.form-check { padding-left: 2.25rem; }
.form-check-input {
    width: 1.5rem; height: 1.5rem; margin-top: -.125rem; print-color-adjust: exact;
    transition: background-color .15s ease-in-out, background-position .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-check-input[type=checkbox] { border-radius: .45em; }
.form-check-input:checked { background-color: #2a6aff; border-color: #2a6aff; }
.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 11' width='13' height='11' fill='none'%3e%3cpath d='M11.0426 1.02893C11.3258 0.695792 11.8254 0.655283 12.1585 0.938451C12.4917 1.22162 12.5322 1.72124 12.249 2.05437L5.51985 9.97104C5.23224 10.3094 4.72261 10.3451 4.3907 10.05L0.828197 6.88335C0.50141 6.59288 0.471975 6.09249 0.762452 5.7657C1.05293 5.43891 1.55332 5.40948 1.88011 5.69995L4.83765 8.32889L11.0426 1.02893Z' fill='%23FFFFFF'/%3e%3c/svg%3e");
}
.form-switch { padding-left: 3.75rem; }
.form-switch .form-check-input {
    width: 3.25rem; margin-left: -3.75rem; background-position: left center; border-radius: 3.25rem; transition: background-position .15s ease-in-out;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
}
.form-switch .form-check-input:checked {
    background-position: right center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23FFFFFF'/%3e%3c/svg%3e");
}
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) { border-left: 0; margin-left: 0; }

/* ---------- Buttons ---------- */

.btn.disabled, .btn:disabled, fieldset:disabled .btn { opacity: .6; box-shadow: none; }
.btn-primary { color: #000; background-color: #0a24f4; border-color: #0a24f4; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); }
.btn-primary.disabled, .btn-primary:disabled { color: #000; background-color: #0a24f4; border-color: #0a24f4; }
.btn-sm { padding: .55rem 1.25rem; font-size: .825rem; border-radius: var(--rx-radius); }

/* ---------- Floating menus, cards, breadcrumbs, modals ---------- */

.dropdown-menu { font-size: 1rem; color: var(--rx-ink); border: 0 solid rgba(0, 0, 0, .15); border-radius: var(--rx-radius); box-shadow: var(--rx-float-shadow); }
.card-header { background-color: #fff; border-bottom: 1px solid var(--rx-rule); }
.card-header:first-child { border-radius: calc(var(--rx-radius) - 1px) calc(var(--rx-radius) - 1px) 0 0; }
.breadcrumb-item + .breadcrumb-item::before { color: #7e8299; }
.modal-dialog { margin: .5rem; }
.modal.fade .modal-dialog { transition: transform .3s ease-out; }
.modal-dialog-centered { min-height: calc(100% - 1rem); }
.modal-content { border: 0 solid rgba(0, 0, 0, .2); border-radius: 1.475rem; box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .1); }
.modal-backdrop.show { opacity: 1 !important; background: var(--rx-veil) !important; border-color: var(--rx-veil) !important; }
.modal-header { padding: 1.75rem; border-bottom: 1px solid var(--rx-rule); border-top-left-radius: var(--rx-radius); border-top-right-radius: var(--rx-radius); }
.modal-title { font-weight: 600 !important; letter-spacing: -0.01em; font-size: 1.1rem; }
.modal-footer { padding: 1.5rem; border-top: 1px solid var(--rx-rule); border-bottom-right-radius: var(--rx-radius); border-bottom-left-radius: var(--rx-radius); }
.modal-footer > * { margin: .25rem; }
@media (min-width: 576px) {
    .modal-dialog { max-width: 500px; margin: 1.75rem auto; }
    .modal-dialog-centered { min-height: calc(100% - 3.5rem); }
    .modal-content { box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1); }
    .modal-sm { max-width: 300px; }
}

/* ---------- Utilities: AfroPin's spacing scale (0.25rem steps) and extra sizes ---------- */

.shadow { box-shadow: 0 .275rem 1.25rem rgba(11, 15, 25, .05), 0 .25rem .5625rem rgba(11, 15, 25, .03) !important; }
.border-bottom { border-bottom: 1px solid var(--rx-rule) !important; }
.border-0 { border-width: 0 !important; }
.w-25px { width: 25px !important; } .w-80px { width: 80px !important; } .w-125px { width: 125px !important; }
.w-150px { width: 150px !important; } .w-275px { width: 275px !important; }
.mw-400px { max-width: 400px !important; } .mw-500px { max-width: 500px !important; } .mw-600px { max-width: 600px !important; }
.h-25px { height: 25px !important; } .h-30px { height: 30px !important; } .h-80px { height: 80px !important; } .h-150px { height: 150px !important; }
.min-w-200px { min-width: 200px !important; } .min-w-250px { min-width: 250px !important; }
.min-h-auto { min-height: auto !important; } .min-h-300px { min-height: 300px !important; }
.gap-3 { gap: .75rem !important; } .gap-4 { gap: 1rem !important; } .gap-5 { gap: 1.25rem !important; }
.my-5 { margin-top: 1.25rem !important; margin-bottom: 1.25rem !important; }
.mt-3 { margin-top: .75rem !important; } .mt-5 { margin-top: 1.25rem !important; } .mt-6 { margin-top: 1.5rem !important; } .mt-10 { margin-top: 2.5rem !important; }
.me-3 { margin-right: .75rem !important; } .me-4 { margin-right: 1rem !important; }
.mb-3 { margin-bottom: .75rem !important; } .mb-4 { margin-bottom: 1rem !important; } .mb-5 { margin-bottom: 1.25rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; } .mb-8 { margin-bottom: 2rem !important; } .mb-10 { margin-bottom: 2.5rem !important; } .mb-20 { margin-bottom: 5rem !important; }
.ms-4 { margin-left: 1rem !important; }
.p-4 { padding: 1rem !important; } .p-6 { padding: 1.5rem !important; }
.px-5 { padding-right: 1.25rem !important; padding-left: 1.25rem !important; }
.py-3 { padding-top: .75rem !important; padding-bottom: .75rem !important; } .py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; } .py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.pt-4 { padding-top: 1rem !important; } .pt-5 { padding-top: 1.25rem !important; } .pt-6 { padding-top: 1.5rem !important; } .pt-9 { padding-top: 2.25rem !important; }
.pe-12 { padding-right: 3rem !important; } .pb-4 { padding-bottom: 1rem !important; } .pb-10 { padding-bottom: 2.5rem !important; } .ps-10 { padding-left: 2.5rem !important; }
.fs-2x { font-size: calc(1.325rem + .9vw) !important; }
.fw-bold { font-weight: 500 !important; }
@media (min-width: 576px) {
    .d-sm-inline { display: inline !important; }
    .d-sm-block { display: block !important; }
    .flex-sm-nowrap { flex-wrap: nowrap !important; }
}
@media (min-width: 768px) { .text-md-end { text-align: right !important; } }
@media (min-width: 992px) {
    .d-lg-none { display: none !important; }
    .ms-lg-3 { margin-left: .75rem !important; }
    .me-lg-n5 { margin-right: -1.25rem !important; }
    .pe-lg-5 { padding-right: 1.25rem !important; }
}
@media (min-width: 1200px) {
    .text-xl-end { text-align: right !important; }
    .fs-2 { font-size: 1.5rem !important; }
    .fs-3 { font-size: 1.35rem !important; }
    .fs-2x { font-size: 2rem !important; }
}
.bg-white { --bg-color: 255, 255, 255; }
.bg-dark { background-color: #33342f !important; --bg-color: 24, 28, 50; }
.flex-root { flex: 1; }
.flex-column-auto { flex: none; }
.flex-column-fluid { flex: 1 0 auto; }
.flex-row-fluid { flex: 1 auto; min-width: 0; }
.flex-stack { justify-content: space-between; align-items: center; }
.text-dark { color: var(--rx-ink) !important; }
.text-muted { color: var(--rx-quiet) !important; }
.text-hover-primary, .text-hover-danger, .text-hover-dark, .text-hover-dark i { transition: color .2s ease, background-color .2s ease; }
a { color: var(--rx-link); text-decoration: none; transition: color .2s ease, background-color .2s ease; }
.separator { display: block; height: 0; border-bottom: 1px solid var(--rx-rule); }

/* ---------- Menus: the sidebar links and the account dropdown ---------- */

.menu, .menu-wrapper { display: flex; padding: 0; margin: 0; list-style: none; }
.menu-sub { display: none; padding: 0; margin: 0; list-style: none; flex-direction: column; }
.menu-item { display: block; padding: 0; margin-bottom: .9rem; }
.menu-item .menu-link { cursor: pointer; display: flex; align-items: center; padding: .5rem 1rem; flex: 0 0 100%; transition: none; outline: 0 !important; }
.menu-item .menu-link .menu-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 2rem; margin-right: .95rem; margin-left: .9rem; }
.menu-item .menu-link .menu-title { display: flex; align-items: center; flex-grow: 1; }
.menu-sub-dropdown { display: none; border-radius: var(--rx-radius); background-color: #fff; box-shadow: var(--rx-float-shadow); z-index: 105; }
.menu-sub-dropdown.menu.show, .show.menu-dropdown > .menu-sub-dropdown { display: flex; animation: rx-fade-in .3s ease 1, rx-rise .3s ease 1; }
.menu-column { flex-direction: column; width: 100%; }
.menu-rounded .menu-link { border-radius: 1rem; }
.menu-sub > .menu-item > .menu-content, .menu-sub > .menu-item > .menu-link { padding-left: calc(1rem + 1rem); }
.menu-title-dark .menu-item .menu-link, .menu-title-dark .menu-item .menu-link .menu-title, .menu-icon-dark .menu-item .menu-link .menu-icon i { color: var(--rx-ink); }
.menu-gray-800 .menu-item .menu-link { color: var(--rx-ink-soft); }
.menu-state-primary .menu-item .menu-link.active { transition: color .2s ease, background-color .2s ease; color: #000; }
.menu-state-primary .menu-item .menu-link.active .menu-title { color: #000; }
.menu-state-primary .menu-item .menu-link.active .menu-icon { color: #000 !important; }
.menu-state-primary .menu-item .menu-link.active .menu-icon i { color: #0a24f4; }
.menu-state-icon-primary .menu-item .menu-link.active { background: #1d1d23; color: #000 !important; transition: color .2s ease, background-color .2s ease; }
.menu-state-icon-primary .menu-item .menu-link.active .menu-title { color: #fff !important; }
.menu-state-icon-primary .menu-item .menu-link.active .menu-icon i { color: #0a24f4; }
.menu-state-bullet-primary .menu-item .menu-link.active { transition: color .2s ease, background-color .2s ease; }

/* ---------- Cards and breadcrumbs ---------- */

.card { background-color: #fff; border: 0; border-radius: 1rem; box-shadow: 0 0 20px 0 rgba(76, 87, 125, .02); }
.card > .card-header { display: flex; justify-content: space-between; align-items: stretch; flex-wrap: wrap; min-height: 70px; padding: 0 2.25rem; background-color: transparent; }
.card > .card-header .card-title { display: flex; align-items: center; margin: .5rem; margin-left: 0; font-weight: 400 !important; font-size: 1.075rem; color: var(--rx-ink); }
.card > .card-header .card-title.flex-column { align-items: flex-start; justify-content: center; }
.card > .card-header .card-toolbar { display: flex; align-items: center; margin: .5rem 0; flex-wrap: wrap; }
.card > .card-body { padding: 2rem; }
@media (max-width: 767.98px) { .card > .card-header:not(.flex-nowrap) { padding-top: .5rem; padding-bottom: .5rem; } }
.breadcrumb { align-items: center; background-color: transparent; padding: 0; margin: 0; }
.breadcrumb .breadcrumb-item { display: flex; align-items: center; padding-left: 0; padding-right: .5rem; }
.breadcrumb .breadcrumb-item:last-child { padding-right: 0; }
.breadcrumb .breadcrumb-item::after { content: "/"; padding-left: .5rem; }
.breadcrumb .breadcrumb-item::before { display: none; }
.breadcrumb .breadcrumb-item:last-child::after { display: none; }

/* ---------- Button details ---------- */

.btn:not(.btn-shadow):not(.shadow):not(.shadow-sm):not(.shadow-lg) { box-shadow: none !important; }
.btn:not(.btn-outline):not(.btn-dashed):not(.border-hover):not(.border-active):not(.btn-flush):not(.btn-icon).btn-sm { padding: calc(.55rem + 1px) calc(1rem + 1px); }
.btn i { display: inline-flex; font-size: 1rem; vertical-align: middle; line-height: 0; }
.btn.btn-icon { display: inline-flex; align-items: center; justify-content: center; padding: 0; height: calc(1.5em + 1.5rem + 2px); width: calc(1.5em + 1.5rem + 2px); }
.btn.btn-icon:not(.btn-outline):not(.btn-dashed):not(.border-hover):not(.border-active):not(.btn-flush) { border: 0; }
.btn.btn-icon.btn-circle { border-radius: 50%; }
.btn.btn-icon .svg-icon, .btn.btn-icon i { padding: 0; margin: 0; line-height: 1; }
.btn.btn-primary { color: #fff; border-color: #0a24f4; background-color: #0a24f4; }
code:not([class*=language-]) { font-weight: 400; color: var(--rx-link); line-height: inherit; font-size: inherit; background-color: #e6e8e8; padding: 1px .4rem; margin: 0 .5rem; box-shadow: 0 3px 9px rgba(0, 0, 0, .08); border-radius: .3rem; }

/* ---------- Checkboxes and switches ---------- */

.form-check .form-check-input { margin-left: -2.25rem; cursor: pointer; appearance: none; }
.form-check.form-check-custom { display: flex; align-items: center; padding-left: 0; margin: 0; }
.form-check.form-check-custom .form-check-input { margin: 0; float: none; flex-shrink: 0; }
.form-check:not(.form-switch) .form-check-input[type=checkbox] { background-size: 60% 60%; }
.form-check.form-check-solid .form-check-input { border: 0; background-color: #b6bec7; }
.form-check.form-check-solid .form-check-input:checked { background-color: var(--rx-link); }
.form-switch.form-check-solid .form-check-input,
.form-switch.form-check-solid .form-check-input:active, .form-switch.form-check-solid .form-check-input:checked, .form-switch.form-check-solid .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e");
}
.form-switch.form-check-solid .form-check-input { height: 2.25rem; border-radius: 3.25rem; }
.form-switch.form-check-solid .form-check-input:active, .form-switch.form-check-solid .form-check-input:checked, .form-switch.form-check-solid .form-check-input:focus { filter: none; }

.modal .modal-header { align-items: center; justify-content: space-between; }
.modal .modal-header :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) { margin-bottom: 0; }
.modal .modal-dialog { outline: 0 !important; }

/* ---------- Logo pickers (rx-ui.js previews the chosen file) ---------- */

.image-input { position: relative; display: inline-block; border-radius: var(--rx-radius); background-repeat: no-repeat; background-size: cover; }
.image-input:not(.image-input-empty) { background-image: none !important; }
.image-input .image-input-wrapper { width: 120px; height: 120px; border-radius: var(--rx-radius); background-repeat: no-repeat; background-size: cover; background-position: center; }
.image-input [data-rx-image-input-action=change] { cursor: pointer; position: absolute; right: -10px; top: -10px; }
.image-input [data-rx-image-input-action=change] input { width: 0 !important; height: 0 !important; overflow: hidden; opacity: 0; }
.image-input [data-rx-image-input-action=cancel], .image-input [data-rx-image-input-action=remove] { position: absolute; right: -10px; bottom: -5px; }
.image-input [data-rx-image-input-action=cancel],
.image-input.image-input-empty [data-rx-image-input-action=remove] { display: none; }
.image-input.image-input-outline .image-input-wrapper { border: 3px solid #fff; box-shadow: 0 .5rem 1.5rem .5rem rgba(0, 0, 0, .075); }
.image-input-placeholder { background-image: url("../img/blank-logo.svg"); }

/* ---------- Avatars and initials ---------- */

.symbol { display: inline-block; flex-shrink: 0; position: relative; border-radius: var(--rx-radius); }
.symbol .symbol-label {
    display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; font-weight: 500; color: var(--rx-ink-soft);
    background-color: #e6e8e8; background-repeat: no-repeat; background-position: center; background-size: cover; border-radius: var(--rx-radius);
}
.symbol.symbol-circle, .symbol.symbol-circle .symbol-label, .symbol.symbol-circle > img { border-radius: 50%; }
.symbol.symbol-40px .symbol-label { width: 40px; height: 40px; }

/* ---------- Drawers: slide-in panels and the overlay behind them (rx-ui.js) ---------- */

[data-rx-drawer=true] { display: none; }
/* No blur behind panels: a plain dim veil, and the panel lifts off it with a hairline edge and a deep, soft shadow */
.drawer { display: flex !important; overflow: auto; z-index: 110; position: fixed; top: 0; bottom: 0; transition: transform .38s cubic-bezier(.32, .72, 0, 1); }
.drawer.drawer-start { left: 0; transform: translateX(-100%); }
.drawer.drawer-end { right: 0; transform: translateX(100%); }
.drawer.drawer-on { transform: none; }
.drawer.drawer-end.drawer-on { border-left: 1px solid var(--rx-panel-edge); box-shadow: -24px 0 48px -12px rgba(0, 15, 53, .18), -2px 0 6px rgba(0, 15, 53, .04); }
.drawer.drawer-start.drawer-on { border-right: 1px solid var(--rx-panel-edge); box-shadow: 24px 0 48px -12px rgba(0, 15, 53, .18), 2px 0 6px rgba(0, 15, 53, .04); }
.drawer-overlay {
    position: fixed; inset: 0; overflow: hidden; z-index: 109; animation: rx-fade-in .25s ease-out 1;
    background: var(--rx-veil) !important;
}
@media (max-width: 991.98px) { body[data-rx-drawer=on] { overflow: hidden; } }

/* ---------- Scrollbars ---------- */

@media (min-width: 992px) {
    div, ol, pre, span, ul { scrollbar-width: thin; scrollbar-color: var(--rx-rule) transparent; }
    div:hover, ol:hover, pre:hover, span:hover, ul:hover { scrollbar-color: #e9edf1 transparent; }
}
.hover-scroll-y { position: relative; }
@media (min-width: 992px) {
    .hover-scroll-y { overflow-y: hidden; }
    .hover-scroll-y:hover { overflow-y: scroll; border-right: 0; }
}
@media (max-width: 991.98px) { .hover-scroll-y { overflow-y: auto; } }

/* ---------- Shell: sidebar, top bar, page (components/app-shell) ---------- */

@media (max-width: 991.98px) { html, body { font-size: 13px !important; } }
@media (max-width: 767.98px) { html, body { font-size: 12px !important; } }
body {
    display: flex; flex-direction: column; font-size: .875rem; color: var(--rx-ink); overflow-x: hidden;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; -webkit-tap-highlight-color: transparent;
}
@media (min-width: 992px) {
    .container, .container-fluid { padding: 0 30px; }
    .wrapper { padding-right: 40px; transition: padding-left .3s ease, margin-right .3s ease; }
    .aside-default-enabled.aside-fixed .wrapper { transition: padding-left .3s ease; padding-left: 300px; }
    .header-fixed[data-rx-sticky-header=on] .wrapper { padding-top: 90px; }
    .header { display: flex; justify-content: space-between; align-items: stretch; position: relative; z-index: 2; height: 90px; transition: left .3s ease; }
    .header-fixed[data-rx-sticky-header=on] .header { position: fixed; top: 0; right: 0; left: 0; z-index: 97; background-color: #fff; box-shadow: 0 10px 30px 0 rgba(82, 63, 105, .08); height: 65px; padding: 0; }
    .aside-default-enabled.aside-fixed[data-rx-sticky-header=on] .header { left: 300px; }
}
@media (max-width: 991.98px) {
    .container, .container-fluid { max-width: none; padding: 0 20px; }
    .header-tablet-and-mobile-fixed[data-rx-sticky-header=on] .wrapper { padding-top: 55px; }
    .header { display: flex; justify-content: space-between; align-items: stretch; height: 60px; position: relative; z-index: 3; }
    .header-tablet-and-mobile-fixed[data-rx-sticky-header=on] .header { position: fixed; top: 0; right: 0; left: 0; z-index: 97; height: 55px; min-height: 55px; background-color: #fff; box-shadow: 0 10px 30px 0 rgba(82, 63, 105, .08); }
    .toolbar { margin-bottom: 20px; }
}
.aside.aside-default { display: flex; flex-direction: column; box-shadow: none; }
@media (min-width: 992px) {
    .aside.aside-default { padding: 0 40px; width: 300px; transition: width .3s ease; }
    .aside.aside-default .aside-logo { display: flex; justify-content: space-between; align-items: center; }
    .aside.aside-default .aside-logo .logo-default { display: inline-block; }
    .aside.aside-default .aside-menu { width: 220px; }
    .aside-fixed .aside.aside-default { position: fixed; top: 0; bottom: 0; left: 0; z-index: 98; overflow: hidden; }
}
@media (max-width: 991.98px) {
    .aside.aside-default { display: none; padding: 0 20px; }
    .aside.aside-default .aside-logo { display: none; }
}
.content { background-color: #f7f7f7; }
@media (min-width: 992px) {
    .content { padding: 30px 0; border-radius: 1.5rem; }
    .toolbar-enabled .content .toolbar { padding-bottom: 30px; }
}
@media (max-width: 991.98px) { .content { padding: 20px 0; } }

.copy-btn { cursor: pointer; }
.preserveLines { white-space: pre-wrap; }

/* ---------- The type, button and field sizes the screens are built on ---------- */

.spinner-border { border-width: .185em; animation-duration: .25s; }
.spinner-border-sm { border-width: .145em; }
.fs-2 { font-size: calc(1.275rem + .3vw) !important; }
.fs-3 { font-size: calc(1.26rem + .12vw) !important; }
.fs-4 { font-size: 1.25rem !important; }
.fs-5 { font-size: 1.15rem !important; }
.fs-6 { font-size: 1.075rem !important; }
.fs-7 { font-size: .95rem !important; }
.fs-8 { font-size: .85rem !important; }
.fs-9 { font-size: .75rem !important; }
.fs-base { font-size: .9rem !important; }
@media (min-width: 1200px) {
    .fs-2 { font-size: 1.5rem !important; }
    .fs-3 { font-size: 1.35rem !important; }
}
.btn {
    font-weight: 500; color: var(--rx-ink); padding: .75rem 1.5rem; font-size: .9rem; border-radius: 1.475rem; outline: 0 !important;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control {
    padding: .75rem 1rem; font-size: .91rem; font-variant-numeric: tabular-nums; color: var(--rx-ink); border: 1px solid var(--rx-field-line);
    border-radius: var(--rx-radius); box-shadow: none !important; transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; min-height: calc(1.5em + 1.65rem + 2px);
}
.form-select {
    padding: .75rem 1rem; font-size: .91rem; color: var(--rx-ink); border: 1px solid #e4e6ef; border-radius: var(--rx-radius); box-shadow: none !important;
    background-position: right 1rem center; min-height: calc(1.5em + 1.65rem + 2px);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%237E8299' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
.fw-bolder { font-weight: 600 !important; }
.input-group-text { padding: .75rem 1rem; font-size: .91rem; color: var(--rx-ink); background: rgba(0, 0, 0, .04); border: 1px solid var(--rx-field-line); border-radius: var(--rx-radius); }
.modal-body { padding: 1.75rem; overflow-y: scroll; scrollbar-width: none; -ms-overflow-style: none; }

/* ---------- Hover, focus and active states ---------- */

.form-control:focus { color: var(--rx-ink); border-color: #b5b5c3; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075), var(--rx-focus-ring); }
.form-select:focus { border-color: #b5b5c3; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075), var(--rx-focus-ring); }
.form-select:disabled { background-color: var(--rx-rule); }
.form-check-input:focus { border-color: #b5b5c3; box-shadow: none; }
.form-check-input:disabled { filter: none; }
.form-switch .form-check-input:focus { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23B5B5C3'/%3e%3c/svg%3e"); }
.btn:hover { color: var(--rx-ink); }
.btn:focus { box-shadow: var(--rx-focus-ring); }
.btn.active:focus, .btn:active:focus { box-shadow: var(--rx-focus-ring), inset 0 3px 5px rgba(0, 0, 0, .125); }
.btn-primary:hover { color: #000; background-color: #26b1ff; border-color: #1aacff; }
.btn-primary:focus { color: #000; background-color: #26b1ff; border-color: #1aacff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075), 0 0 0 .25rem rgba(0, 139, 217, .5); }
.btn-primary.active, .btn-primary:active, .show > .btn-primary.dropdown-toggle { color: #000; background-color: #33b5ff; border-color: #1aacff; }
.btn-primary.active:focus, .btn-primary:active:focus, .show > .btn-primary.dropdown-toggle:focus { box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125), 0 0 0 .25rem rgba(0, 139, 217, .5); }
.text-hover-primary:hover { color: #2a6aff !important; }
.text-hover-danger:hover { color: #f1416c !important; }
.text-hover-dark:hover, .text-hover-dark:hover i { color: var(--rx-ink) !important; }
a:hover { color: var(--rx-link); text-decoration: none; }
/* Only links inside running text underline on hover; nav items, cards and buttons are links too */
p a:not(.rx-btn):not(.btn):hover, .rx-rich a:hover, .dx-content li a:hover { text-decoration: underline; }
.btn.btn-primary.active, .btn.btn-primary.show, .btn.btn-primary:active:not(.btn-active), .btn.btn-primary:focus:not(.btn-active), .btn.btn-primary:hover:not(.btn-active), .show > .btn.btn-primary { color: #fff; border-color: #008bd9; background-color: #008bd9; }
.form-check.form-check-solid .form-check-input:active, .form-check.form-check-solid .form-check-input:focus { filter: none; background-color: #b6bec7; }

@keyframes rx-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rx-rise { from { margin-top: .75rem; } to { margin-top: 0; } }

/* ---------- Spacing scale (0.25rem steps to 5rem) and pixel sizes, for every such class the views use.
   Responsive variants come after the plain ones so they win at their breakpoint. ---------- */


.h-100px { height: 100px !important; }
.h-150px { height: 150px !important; }
.h-25px { height: 25px !important; }
.h-30px { height: 30px !important; }
.h-80px { height: 80px !important; }
.min-h-300px { min-height: 300px !important; }
.min-w-200px { min-width: 200px !important; }
.min-w-250px { min-width: 250px !important; }
.mw-400px { max-width: 400px !important; }
.mw-450px { max-width: 450px !important; }
.mw-500px { max-width: 500px !important; }
.mw-600px { max-width: 600px !important; }
.w-100px { width: 100px !important; }
.w-125px { width: 125px !important; }
.w-150px { width: 150px !important; }
.w-25px { width: 25px !important; }
.w-275px { width: 275px !important; }
.w-80px { width: 80px !important; }
.m-0 { margin: 0 !important; }
.m-5 { margin: 1.25rem !important; }
.mx-auto { margin-right: auto !important; margin-left: auto !important; }
.my-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.my-5 { margin-top: 1.25rem !important; margin-bottom: 1.25rem !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-5 { margin-top: 1.25rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mt-10 { margin-top: 2.5rem !important; }
.mt-auto { margin-top: auto !important; }
.mt-n2 { margin-top: -0.5rem !important; }
.mt-n3 { margin-top: -0.75rem !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 0.75rem !important; }
.me-4 { margin-right: 1rem !important; }
.me-n1 { margin-right: -0.25rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 1.25rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-20 { margin-bottom: 5rem !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-4 { margin-left: 1rem !important; }
.ms-auto { margin-left: auto !important; }
.p-0 { padding: 0 !important; }
.p-4 { padding: 1rem !important; }
.p-6 { padding: 1.5rem !important; }
.px-2 { padding-right: 0.5rem !important; padding-left: 0.5rem !important; }
.px-5 { padding-right: 1.25rem !important; padding-left: 1.25rem !important; }
.px-6 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.pt-0 { padding-top: 0 !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-4 { padding-top: 1rem !important; }
.pt-5 { padding-top: 1.25rem !important; }
.pt-6 { padding-top: 1.5rem !important; }
.pt-9 { padding-top: 2.25rem !important; }
.pe-12 { padding-right: 3rem !important; }
.pb-0 { padding-bottom: 0 !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-4 { padding-bottom: 1rem !important; }
.pb-5 { padding-bottom: 1.25rem !important; }
.pb-10 { padding-bottom: 2.5rem !important; }
.ps-10 { padding-left: 2.5rem !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-5 { gap: 1.25rem !important; }
@media (min-width: 992px) {
    .mt-lg-2 { margin-top: 0.5rem !important; }
    .me-lg-n5 { margin-right: -1.25rem !important; }
    .mb-lg-0 { margin-bottom: 0 !important; }
    .ms-lg-3 { margin-left: 0.75rem !important; }
    .pe-lg-5 { padding-right: 1.25rem !important; }
}

/* ---------- Phones: larger type, buttons and fields (the base size drops to 12px below 768px) ---------- */

@media (max-width: 767.98px) {
    .fs-2 { font-size: calc(1.675rem + .3vw) !important; }
    .fs-3 { font-size: calc(1.26rem + .12vw) !important; }
    .fs-4 { font-size: 1.25rem !important; }
    .fs-5 { font-size: 1.55rem !important; }
    .fs-6 { font-size: 1.25rem !important; }
    .fs-7 { font-size: 1.1rem !important; }
    .fs-8 { font-size: 1rem !important; }
    .fs-9 { font-size: .95rem !important; }
    .fs-base { font-size: 1rem !important; }
    .btn { font-size: 1.1rem; }
    .form-control { font-size: 1.2rem; min-height: calc(1.5em + 1.65rem + 3px); }
    .form-select { font-size: 1.2rem; min-height: calc(1.5em + 1.65rem + 10px); }
    .input-group-text { font-size: 1.2rem; }
}

/* ---------- Page header (components/page-header): title and trail on the left, actions on the right ---------- */

.rx-page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.rx-page-head-main { display: flex; flex-direction: column; flex-wrap: wrap; align-items: flex-start; justify-content: center; margin-right: .5rem; }
@media (min-width: 576px) { .rx-page-head { flex-wrap: nowrap; } }
