@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/jost-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/jost-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/jost-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/jost-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/jost-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/jost-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/jost-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/jost-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bs-font-sans-serif: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bs-blue: #1860C0;
    --bs-primary: #1860C0;
    --bs-primary-rgb: 24, 96, 192;
    --bs-primary-text-emphasis: #0C3C9C;
    --bs-link-color: #1860C0;
    --bs-link-color-rgb: 24, 96, 192;
    --bs-link-hover-color: #0C3C9C;
    --bs-link-hover-color-rgb: 12, 60, 156;
    --brand-surface: #eef2fb;
    --brand-surface-soft: #f5f7fa;
    --brand-border: #e6ebf4;
}

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--bs-font-sans-serif);
}

body.modal-open {
    padding-right: 0 !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--bs-font-sans-serif);
}

.app-brand {
    font-family: var(--bs-font-sans-serif);
}

.text-primary {
    color: #1860C0 !important;
}

.bg-primary {
    background-color: #1860C0 !important;
}

.border-primary {
    border-color: #1860C0 !important;
}

.btn-primary {
    --bs-btn-bg: #1860C0;
    --bs-btn-border-color: #1860C0;
    --bs-btn-hover-bg: #0C3C9C;
    --bs-btn-hover-border-color: #0C3C9C;
    --bs-btn-active-bg: #0C3C9C;
    --bs-btn-active-border-color: #0C3C9C;
    --bs-btn-disabled-bg: #1860C0;
    --bs-btn-disabled-border-color: #1860C0;
    --bs-btn-focus-shadow-rgb: 24, 96, 192;
}

.btn-outline-primary {
    --bs-btn-color: #1860C0;
    --bs-btn-border-color: #1860C0;
    --bs-btn-hover-bg: #1860C0;
    --bs-btn-hover-border-color: #1860C0;
    --bs-btn-active-bg: #1860C0;
    --bs-btn-active-border-color: #1860C0;
    --bs-btn-disabled-color: #1860C0;
    --bs-btn-disabled-border-color: #1860C0;
    --bs-btn-focus-shadow-rgb: 24, 96, 192;
}

.btn-soft-primary {
    background-color: rgba(24, 96, 192, .05) !important;
    border-color: rgba(24, 96, 192, .05) !important;
    color: #1860C0 !important;
    box-shadow: 0 3px 5px 0 rgba(24, 96, 192, .1);
}

.btn-soft-primary.active,
.btn-soft-primary.focus,
.btn-soft-primary:active,
.btn-soft-primary:focus,
.btn-soft-primary:hover {
    background-color: #1860C0 !important;
    border-color: #1860C0 !important;
    color: #ffffff !important;
}

.btn-soft-primary:not(.active):not(:active):not(:hover):not(:focus-visible) {
    background-color: rgba(24, 96, 192, .05) !important;
    border-color: rgba(24, 96, 192, .05) !important;
    color: #1860C0 !important;
}

.btn-soft-secondary:not(.active):not(:active):not(:hover):not(:focus-visible) {
    background-color: rgba(108, 117, 125, .05) !important;
    border-color: rgba(108, 117, 125, .05) !important;
    color: #6c757d !important;
}

.btn-soft-success:not(.active):not(:active):not(:hover):not(:focus-visible) {
    background-color: rgba(46, 202, 139, .05) !important;
    border-color: rgba(46, 202, 139, .05) !important;
    color: #2eca8b !important;
}

.btn-soft-info:not(.active):not(:active):not(:hover):not(:focus-visible) {
    background-color: rgba(23, 162, 184, .05) !important;
    border-color: rgba(23, 162, 184, .05) !important;
    color: #17a2b8 !important;
}

.btn-soft-warning:not(.active):not(:active):not(:hover):not(:focus-visible) {
    background-color: rgba(241, 116, 37, .05) !important;
    border-color: rgba(241, 116, 37, .05) !important;
    color: #f17425 !important;
}

.btn-soft-danger:not(.active):not(:active):not(:hover):not(:focus-visible) {
    background-color: rgba(228, 63, 82, .05) !important;
    border-color: rgba(228, 63, 82, .05) !important;
    color: #e43f52 !important;
}

.bg-soft-primary {
    background-color: rgba(24, 96, 192, .1) !important;
    border-color: rgba(24, 96, 192, .1) !important;
    color: #1860C0 !important;
}

.badge.bg-soft-primary,
.alert.bg-soft-primary {
    background-color: rgba(24, 96, 192, .1) !important;
    color: #1860C0 !important;
}

a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
}

a:hover {
    color: #0C3C9C;
}

.navigation-menu > li.active > a,
#topnav .navigation-menu > li.active > a,
#topnav .navigation-menu > li:hover > a,
.navigation-menu > li > a:active,
#topnav .navigation-menu > li > a:hover,
#topnav.scroll .navigation-menu > li.active > a,
#topnav.scroll .navigation-menu > li:hover > a,
#topnav.nav-sticky .navigation-menu.nav-light > li.active > a,
#topnav.nav-sticky .navigation-menu.nav-light > li:hover > a,
.navigation-menu > li .submenu li a:hover {
    color: #1860C0 !important;
}

.navbar-toggle.open span,
.navbar-toggle.open span:hover {
    background-color: #1860C0;
}

.accordion .accordion-item .accordion-button:not(.collapsed) {
    color: #1860C0;
}

.accordion .accordion-item .accordion-button:before {
    content: "";
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    width: .5rem;
    height: .5rem;
    border-right: 2px solid #1860C0;
    border-bottom: 2px solid #1860C0;
    transform: translateY(-25%) rotate(-135deg);
    transition: transform .3s ease;
}

.accordion .accordion-item .accordion-button.collapsed:before {
    top: 50%;
    border-right-color: #64707e;
    border-bottom-color: #64707e;
    transform: translateY(-75%) rotate(45deg);
}

.form-control:focus,
.form-select:focus {
    border-color: #1860C0;
    box-shadow: 0 0 0 .25rem rgba(24, 96, 192, .25);
}

.form-control::placeholder {
    color: #64707e;
}

.form-check-input {
    border-color: #64707e;
}

.form-check-input:focus {
    border-color: #1860C0;
    box-shadow: 0 0 0 .25rem rgba(24, 96, 192, .25);
}

.form-check-input:checked,
.form-check-input.form-check-input:checked {
    background-color: #1860C0;
    border-color: #1860C0;
}

.nav-pills {
    --bs-nav-pills-link-active-bg: #1860C0;
}

.pagination {
    --bs-pagination-active-bg: #1860C0;
    --bs-pagination-active-border-color: #1860C0;
    --bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(24, 96, 192, .25);
}

.pagination .page-item .page-link:hover {
    background: rgba(24, 96, 192, .9);
    border-color: rgba(24, 96, 192, .9);
}

.pagination .page-item.active .page-link {
    background: #1860C0 !important;
    border-color: #1860C0 !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #001879 0%, #1860C0 55%, #249CE4 100%) !important;
}

.admin-accent-bar {
    height: 4px;
    border-radius: .5rem .5rem 0 0;
    background: linear-gradient(135deg, #001879 0%, #1860C0 55%, #249CE4 100%);
}

.admin-card {
    transition: box-shadow .15s ease;
}

.admin-card:hover {
    box-shadow: 0 8px 22px rgba(16, 32, 54, .08);
}

.activity-row:hover {
    background: rgba(24, 96, 192, .04);
}

@keyframes adminFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.admin-fade {
    animation: adminFade .28s ease both;
}

@media (prefers-reduced-motion: reduce) {
    .admin-card,
    .admin-card:hover,
    .admin-fade {
        transition: none;
        animation: none;
        transform: none;
    }
}

.app-kbd {
    background: #f1f4f9;
    border: 1px solid var(--brand-border);
    border-bottom-width: 2px;
    border-radius: .35rem;
    color: #64707e;
    font-family: var(--bs-font-sans-serif);
    font-size: .72rem;
    font-weight: 600;
    line-height: 1;
    padding: .2rem .4rem;
    white-space: nowrap;
}

.shell-search {
    background: #f5f7fb;
    border: 1px solid var(--brand-border);
    border-radius: .5rem;
    color: #8a94a2;
    font-size: .875rem;
    min-width: 17rem;
    padding: .35rem .6rem;
    transition: border-color .15s ease, background-color .15s ease;
    white-space: nowrap;
}

@media (min-width: 1200px) {
    .shell-search {
        min-width: 19rem;
    }
}

.shell-search:hover {
    background: #ffffff;
    border-color: #1860C0;
    color: #64707e;
}

.shell-search span {
    margin-right: auto;
}

@media (min-width: 992px) {
    #topnav.nav-over-dark .logo span {
        color: #ffffff;
    }

    #topnav.nav-over-dark .buy-button .btn-soft-primary {
        background-color: rgba(255, 255, 255, .16) !important;
        border-color: rgba(255, 255, 255, .3) !important;
        color: #ffffff !important;
        box-shadow: none;
    }

    #topnav.nav-over-dark .navbar-toggle .lines span {
        background-color: #ffffff;
    }

    #topnav.nav-over-dark.nav-sticky .logo span {
        color: #16202e;
    }

    #topnav.nav-over-dark.nav-sticky .buy-button .btn-soft-primary {
        background-color: rgba(24, 96, 192, .05) !important;
        border-color: rgba(24, 96, 192, .05) !important;
        color: #1860C0 !important;
    }

    #topnav.nav-over-dark.nav-sticky .navbar-toggle .lines span {
        background-color: #16202e;
    }
}

.app-topbar-left {
    min-width: 0;
}

.app-topbar h1 {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-identity-text {
    max-width: 11rem;
    min-width: 0;
}

.app-identity-text > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shell-stamp-time {
    align-items: center;
    background: #f5f7fb;
    border: 1px solid var(--brand-border);
    border-radius: 999px;
    color: #16202e;
    font-size: .85rem;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    gap: .4rem;
    padding: .3rem .7rem;
    text-decoration: none;
}

.shell-stamp-time:hover {
    border-color: #1860C0;
    color: #0C3C9C;
}

.shell-stamp-dot {
    border-radius: 50%;
    display: inline-block;
    height: .5rem;
    width: .5rem;
}

.swal2-validation-message.swal-validation-reserve[style*="display: none"] {
    display: flex !important;
    visibility: hidden;
}

.app-palette-dialog {
    margin-top: 8vh;
}

#appPalette.show .app-palette-dialog {
    animation: paletteIn .16s ease-out both;
}

@keyframes paletteIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #appPalette.show .app-palette-dialog {
        animation: none;
        transform: none;
    }
}

.app-palette-head {
    align-items: center;
    border-bottom: 1px solid var(--brand-border);
    display: flex;
    gap: .75rem;
    padding: .75rem 1rem;
}

.app-palette-head .form-control {
    font-size: 1rem;
    padding: 0;
}

.app-palette-head .form-control:focus {
    box-shadow: none;
}

.app-palette-list {
    max-height: min(58vh, 26rem);
    overflow-y: auto;
    padding: .35rem;
}

.app-palette-group {
    color: #9aa5b1;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .06em;
    padding: .6rem .65rem .3rem;
    text-transform: uppercase;
}

.app-palette-item {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: .5rem;
    color: #16202e;
    display: flex;
    gap: .75rem;
    padding: .55rem .65rem;
    text-align: left;
    width: 100%;
}

.app-palette-item i {
    color: #64707e;
    flex-shrink: 0;
    text-align: center;
    width: 1.15rem;
}

.app-palette-item.active {
    background: rgba(24, 96, 192, .1);
    color: #0C3C9C;
}

.app-palette-item.active i {
    color: #1860C0;
}

.app-palette-label {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-palette-hint {
    color: #9aa5b1;
    flex-shrink: 0;
    font-size: .78rem;
}

.app-palette-foot {
    align-items: center;
    border-top: 1px solid var(--brand-border);
    color: #9aa5b1;
    display: flex;
    font-size: .78rem;
    gap: 1rem;
    padding: .5rem 1rem;
}

@media (max-width: 575.98px) {
    .table-responsive .table.table-nowrap td,
    .table-responsive .table.table-nowrap th {
        white-space: normal;
    }

    .dt-container .dt-layout-row {
        row-gap: .5rem;
    }
}

.table-responsive .table.table-nowrap.table-wrap-cells td,
.table-responsive .table.table-nowrap.table-wrap-cells th {
    white-space: normal;
}
