@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../font/outfit/Outfit-Light.905f109c79bd.ttf") format("truetype");
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../font/outfit/Outfit-Regular.9f444021dd67.ttf") format("truetype");
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../font/outfit/Outfit-Medium.3c88ad79f2a5.ttf") format("truetype");
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../font/outfit/Outfit-SemiBold.f4bde7633a5d.ttf") format("truetype");
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../font/outfit/Outfit-Bold.e28d1b405645.ttf") format("truetype");
}

:root {
    --tblr-primary: #326699 !important;
    --tblr-primary-rgb: 50, 102, 153;
    --tblr-link-color-rgb: 50, 102, 153;
    --tblr-gray-50: #f6f8fb;
    --tblr-disabled-color: var(--tblr-gray-400);
    --tblr-active-bg: var(--tblr-gray-100);
}

body {
    font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
}

.ti {
    margin-right: 5px;
    font-size: 1.25em;
}

.swal2-container {
    z-index: 80000000 !important;
}

.ts-control > div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#spinner {
    font-size: 32px;
    color: #206bc4;
    animation: spin 800ms linear infinite;
    bottom: 7px;
    right: 7px;
    position: fixed;
    z-index: 999999999 !important;
    opacity: 0;
    transition: opacity 500ms ease-in;
}

.htmx-request#spinner {
    opacity: 1;
}

.colored-toast .swal2-title,
.colored-toast .swal2-close,
.colored-toast .swal2-html-container {
    color: white;
}

.colored-toast.swal2-icon-success {
    background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-warning {
    background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-error {
    background-color: #f27474 !important;
}

.colored-toast.swal2-icon-info {
    background-color: #3fc3ee !important;
}

.swal2-popup:not(.colored-toast) .swal2-title {
    color: #333 !important;
}

.swal2-popup:not(.colored-toast) .swal2-html-container {
    color: #555 !important;
}

.page-wrapper {
    min-height: calc(100vh - 56px);
}

.page-header {
    flex-wrap: nowrap;
}

form {
    margin-block-end: 0 !important;
}

#offcanvas {
    z-index: 9999990;
}

#offcanvas-full {
    width: 100vw !important;
    z-index: 9999995;
}

.flatpickr-calendar {
    z-index: 99999999 !important;
}

.company-switcher {
    min-width: 260px;
}

.company-switcher .ts-control {
    border-radius: var(--tblr-border-radius);
}

.entry-lines {
    table-layout: fixed;
    min-width: 720px;
}

.entry-lines .ts-control {
    flex-wrap: nowrap;
}

.balance-table td,
.balance-table th {
    font-variant-numeric: tabular-nums;
}
