/* reset */
/* html, body, header, nav, h1, a,
ul, li, strong, main, button, i,
section, img, div, h2, h3, h4, h5, p,
form, fieldset, label, input, textarea,
span, article, footer, time, small {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  color: #2B303A;
  text-align: inherit;
  text-decoration: inherit;
  vertical-align: inherit;
  box-sizing: inherit;
  background: transparent;
} */
.btn-no-style {
    background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
    text-align: left;
}

/* TABLER */
body {
    --tblr-primary: #1D48AA;
}
@media (min-width: 992px) {
    html:root {
        margin-left: 0 !important;
    }
}
/* TABLER */

/* TOM SELECT */
.ts-wrapper.form-select {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: #212529;
    background-color: #fff;
    min-height: 2.375rem;
    display: flex;
    align-items: center;
    border: var(--tblr-border-width) solid var(--tblr-border-color);
    border-radius: var(--tblr-border-radius);
    box-shadow: var(--tblr-shadow-input);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.ts-wrapper.form-select .ts-control {
    display: flex;
    align-items: center;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ts-wrapper.form-select .ts-control input {
    font-size: inherit;
    padding: 0;
    margin: 0;
    height: auto;
    line-height: 1.5;
    color: #212529;
    flex: 1 1 auto; /* 👈 Add this */
}

.ts-wrapper.form-select .ts-control input::placeholder {
    color: #374151;
    font-size: 14px;
    opacity: 1;
}

/* Selected items */
.ts-wrapper.form-select.multi.has-items .ts-control > div {
    background-color: #e9ecef;
    color: #212529;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    margin: 0.15rem;
}

/* Dropdown */
.ts-dropdown {
    border-radius: 0.375rem;
    font-size: 0.875rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.ts-dropdown .option {
    padding: 0.375rem 0.75rem;
    cursor: pointer;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
    background-color: #f8f9fa;
}

.ts-control::-webkit-scrollbar {
    display: none;
}

.ts-control .item {
    margin-right: 0.25rem;
    white-space: nowrap;
}

.ts-control input {
    flex: none;
    width: auto !important;
    min-width: 60px;
}
/* TOM SELECT */

ul {
    list-style: none;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

input[type="password"],
input[type="email"],
input[type="text"],
input[type="submit"],
textarea,
button {
    appearance: none;
}

button,
input[type="submit"] {
    cursor: pointer;
}
/* reset */

#top {
    min-height: 100vh;
    width: 100%;
    display: flex;
}

/* FLEX */
.flex {
    display: flex;
}
.flex-column {
    display: flex;
    flex-direction: column;
}
.flex-column-start {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.flex-column-end {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.flex-start {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.flex-start-center {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flex-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.align-self-center {
    align-self: center;
}

/* WIDTH */
.w-50 {
    width: 50%;
}
.w-75 {
    width: 75%;
}

/* MODALS */
.modal.modal-stack {
    z-index: 1055;
  }
.modal-backdrop.modal-backdrop-stack {
    z-index: 1050;
}

/* AUTH */
.auth-container {
    width: fit-content;
    margin: 30vh auto 0 auto;
    padding: 40px;
    border: 1px solid var(--neutral-n-300, #C7C7C7);
    border-radius: 6px;
}
.auth-logo {
    max-width: 175px;
}
.auth-title {
    margin-bottom: 20px;
}
.auth-label {
    margin: 20px 0 5px 0;
}
.auth-input {
    display: flex;
    height: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
    flex: 1 0 0;
    border-radius: 8px;
    border: 1px solid var(--neutral-n-300, #C7C7C7);
    background-color: #E8F0FE;
    color: #2B303A;
    z-index: 1;
}
.auth-container input,
.auth-container input:focus {
    border: none;
}

/* NAV */
#page-nav {
    position: fixed;
    display: flex;
    flex-direction: column;
    height: 100vh;
    z-index: 999;
    /* position: fixed;
    height: 100vh;
    width: 15%;
    display: flex;
    justify-content: flex-start;
    color: white;
    background-color: #071D44;
    padding-left: 1%; */
}
#nav-title {
    margin-bottom: 60px;
}
.nav-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
    color: white;
}
.nav-item > a {
    color: white;
}
.nav-icon {
    height: 15px;
    width: 15px;
    margin-right: 10px;
}
#sidebar {
    width: fit-content;
    background-color: #071D44;
    transition: width 0.3s ease;
    overflow-x: hidden;
    height: 100%;
    padding-left: 15px;
    z-index: 9999;
}
#sidebar #nav-logo-collapsed {
    display: none;
}
#sidebar .nav-item a {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
}
#sidebar-toggle-btn {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    margin: 10px 10px 10px 0;
    color: white;
}
#nav-logo-expanded {
    width: 90%;
}
#sidebar.collapsed {
    width: 60px;
}
#sidebar.collapsed ul {
    margin-top: 75px;
}
#sidebar.collapsed .nav-item a span,
#sidebar.collapsed h3,
#sidebar.collapsed #nav-logo-expanded {
    display: none;
}
#sidebar.collapsed #nav-logo-collapsed {
    display: block;
    width: 60%;
}


/* HEADER */
#header {
    height: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
    padding-top: 15px;
}

/* CONTENT */
#page-content {
    height: 100%;
    flex-grow: 1;
    margin-left: 153px;
}

/* DASHBOARD */
.dashboard-title {
    font-size: 24px;
    font-weight: bold;
}
.dashboard-container {
    border: 1px solid #C7C7C7;
    border-radius: 8px;
    padding: 10px;
}
.dashboard-container-left {
    position: relative;
    height: 143px;
    width: 50%;
    border-right: 1px solid #C7C7C7;
    padding-right: 10px;
    padding-left: 5px;
}
.dashboard-container-right {
    position: relative;
    height: 143px;
    width: 50%;
    overflow: hidden;
}
.dashboard-row {
    height: 30px;
    margin-bottom: 5px;
}
.truncate-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
#highcharts-container {
    height: 65vh;
}

/* CLIENTS */
.page-view {
    height: 100%;
    margin: 30px;
    margin-top: 0;
}
.page-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #C7C7C7;
}
.page-search {
    height: 50px;
    margin-top: 15px;
}
.page-section {
    margin-top: 15px;
}
.c-w-10 {
    width: 10%;
}
.c-w-20 {
    width: 20%;
}
.c-w-25 {
    width: 25%;
}
.c-w-40 {
    width: 40%;
}
.c-w-50 {
    width: 50%;
}
.message-banner {
    width: 100%;
    height: 50px;
    margin-top: 15px;
    text-align: center;
    color: white;
    background-color: green;
    font-weight: bold;
    border-radius: 6px;
}
.message-info {
    width: 100%;
    margin-top: 15px;
    text-align: end;
    color: green;
    font-size: 14px;
}

/* INPUTS */
#orders-list-search-container input::placeholder {
    color: #374151;
    opacity: 1;
}
.flatpickr-input::placeholder {
    color: #374151;
}
.search-input-form {
    z-index: 2;
}
.search-input-container {
    width: 100%;
    margin: 0 10px 5px 10px;
}
.text-input {
    height: auto;
    width: 180px;
    padding: 8px 12px;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 6px;
    border-radius: 8px;
    border: 1px solid var(--neutral-n-300, #C7C7C7);
    color: #2B303A;
    background-color: #E8F0FE;
    z-index: 1;
}
.text-input-flex {
    display: flex;
    height: 100%;
    padding: 8px 12px;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 6px;
    flex: 1 0 0;
    border-radius: 8px;
    border: 1px solid var(--neutral-n-300, #C7C7C7);
    background-color: white;
    color: #2B303A;
    z-index: 1;
}
.input-container {
    height: 31px;
    margin-bottom: 10px;
}
.select {
    display: flex;
    width: 250px;
    height: auto;
    padding: 6px 15px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #C7C7C7;
    background-color: white;
    color: #2B303A;
    margin-bottom: 0;
    text-overflow: ellipsis;
}
.input-label-70 {
    width: 70px;
    margin-right: 20px;
    font-weight: bold;
}
.input-label-140 {
    width: 140px;
    margin-right: 20px;
    font-weight: bold;
}
.date {
    display: flex;
    width: 218px;
    height: auto;
    padding: 6px 15px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #C7C7C7;
    background-color: white;
    color: #2B303A;
    margin-bottom: 0;
}
input[type='file'] {
    display: none;
}
#doc-selected {
    font-size: 14px;
}
.field-disclaimer {
    font-size: 12px;
    margin-left: 160px;
}
.delete-icon {
    height: 15px;
    width: 15px;
    vertical-align: middle;
}
.datepicker-range-icon {
    min-width: 220px;
}

/* BUTTONS */
.btn-nav {
    background-color: #1D48AA;
    border: 1px solid #1D48AA;
    color: white;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    line-height: 6px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.btn-nav:hover {
    background-color: #b2cde5;
    border: 1px solid #b2cde5;
}
.btn-nav > a {
    color: white;
}
.btn-nav-light {
    background-color: white;
    border: 1px solid #1D48AA;
    color: #1D48AA;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    line-height: 6px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.btn-nav-light:hover {
    background-color: #b2cde5;
    border: 1px solid #b2cde5;
}
.btn-nav-red {
    background-color: white;
    border: 1px solid #bb3432;
    color: #bb3432;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    line-height: 6px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.btn-nav-red:hover {
    background-color: #FFE1E0;
}
.btn-filter {
    background-color: white;
    border: 1px solid #1D48AA;
    color: #1D48AA;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}
.btn-filter > a {
    color: #1D48AA;
    font-weight: bold;
}
.btn-filter:hover {
    background-color: #d6dee1;
}
.btn-filter-active {
    background-color: #1D48AA;
    border: 1px solid #1D48AA;
    color: white;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}
.btn-filter-active > a {
    color: white;
    font-weight: bold;
}
.btn-filter-active:hover {
    background-color: #b2cde5;
    border: 1px solid #b2cde5;
}
.btn-filter-select {
    background-color: white;
    border: 1px solid #1D48AA;
    color: #1D48AA;
    padding: 6px 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    height: 32px;
    width: 58px;
    font-weight: bold;
}
.btn-filter-select-active {
    background-color: #1D48AA;
    border: 1px solid #1D48AA;
    color: white;
    padding: 6px 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    height: 32px;
    width: auto;
    font-weight: bold;
}
.btn-filter-select-active > option {
    color: #1D48AA;
    background-color: white;
}
.btn-filter-option {
    margin: 5px;
    font-weight: bold;
    text-align: start;
}

/* FLAGS */
.pending-flag {
    background-color: white;
    border: 1px solid #DFA100;
    color: #DFA100;
    padding: 8px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.approved-flag {
    background-color: white;
    border: 1px solid #32bc32;
    color: #32bc32;
    padding: 8px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.declined-flag {
    background-color: white;
    border: 1px solid #bb3432;
    color: #bb3432;
    padding: 8px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.grey-flag {
    background-color: white;
    border: 1px solid #9E9E9E;
    color: #9E9E9E;
    padding: 8px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* LICENSE LINK TABLES */
.license-link-section table.dataTable thead .dt-orderable-asc::after,
.license-link-section table.dataTable thead .dt-ordering-asc::after,
.license-link-section table.dataTable thead .dt-ordering-desc::after,
.license-link-section table.dataTable thead .dt-orderable-asc::before,
.license-link-section table.dataTable thead .dt-ordering-asc::before,
.license-link-section table.dataTable thead .dt-ordering-desc::before {
    display: none;
}
.dt-column-order {
    display: none;
}
.license-link-section table.dataTable thead .dt-orderable-asc {
    background-image: url(https://datatables.net/media/images/sort_both.png);
    background-repeat: no-repeat;
    background-position: center right;
}
.license-link-section table.dataTable thead .dt-ordering-asc {
    background-image: url(https://datatables.net/media/images/sort_asc.png);
    background-repeat: no-repeat;
    background-position: center right;
}
.license-link-section table.dataTable thead .dt-ordering-desc {
    background-image: url(https://datatables.net/media/images/sort_desc.png);
    background-repeat: no-repeat;
    background-position: center right;
}

.table {
    border-collapse: collapse;
    border-spacing: 0;
    border-width: 0;
    width: 100%;
    overflow-x: auto;
}
.license-link-section .table-title {
    font-size: 19px;
    margin-bottom: 5px;
    margin-left: 5px;
}
.license-link-section .dt-column-title {
    color: white;
    font-weight: bold;
}
.license-link-section .table tr:last-child {
    box-shadow: none;
}
.license-link-section .table th {
    font-weight: bold;
    text-align: start;
}
.license-link-section .table th:not(:last-child),
.license-link-section .table td:not(:last-child) {
    padding: 12px 24px 12px 12px;
}
.license-link-section .table th:not(:last-child).compact,
.license-link-section .table td:not(:last-child).compact {
    padding-right: 12px;
}
.license-link-section table tr:first-child th:first-child {
    border-radius: 6px 0 0 0;
}
.license-link-section table tr:first-child th:last-child {
    border-radius: 0 6px 0 0;
}
.license-link-section .table-header-row {
    color: white;
    background-color: #2A4279;
}
.license-link-section .table-row {
    border-bottom: 1px solid #C7C7C7;
}
.link {
    color: #496dc0;
}
.link:hover {
    border-bottom: 1px solid #496dc0;
}
.table-checkmark {
    padding-left: 20px;
}

/* LICENSE TRACKER TABLES */
.license-tracker-section .dt-layout-cell {
    display: block !important;
    padding: 0 !important;
}
.license-tracker-section .dt-search {
    display: none;
}
#orders-list-container .form-control,
#orders-list-container .form-select {
    max-width: 300px;
}
#orders-list-container .form-check {
    margin-bottom: 0;
}

/* DIMENSIONS */
.h-100 {
    height: 100%;
}
.h-36 {
    height: 36px;
}
.w-90px {
    width: 90px;
}
.w-auto {
    width: auto;
}

/* POSITION */
.absolute-b-0 {
    position: absolute;
    bottom: 0;
}

/* FONTS */
.bold {
    font-weight: bold;
}
.underline {
    text-decoration: underline;
}
.font-12 {
    font-size: 12px;
}
.font-14 {
    font-size: 14px;
}
.font-16 {
    font-size: 16px;
}
.text-align-center {
    text-align: center;
}

/* COLORS */
.green {
    color: green !important;
}
.green-bg {
    background-color: green !important;
}
.red {
    color: red !important;
}
.red-bg {
    background-color: red !important;
}

/* MARGIN */
.mt-0 {
    margin-top: 0;
}
.mt-3 {
    margin-top: 3px;
}
.mt-10 {
    margin-top: 10px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-25 {
    margin-top: 25px;
}
.mt-30 {
    margin-top: 30px;
}
.mr-8 {
    margin-right: 8px;
}
.mr-25 {
    margin-right: 25px;
}
.mr-30 {
    margin-right: 30px;
}
.mb-3 {
    margin-bottom: 3px;
}
.mb-5 {
    margin-bottom: 5px;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-15 {
    margin-bottom: 15px;
}
.mb--20 {
    margin-bottom: -20px;
}
.ml-5 {
    margin-left: 5px;
}
.ml-10 {
    margin-left: 10px;
}
.my-10 {
    margin-top: 10px;
    margin-bottom: 10px;
}
.mx-30 {
    margin-right: 30px;
    margin-left: 30px;
}
.lh-normal {
    line-height: normal;
}

/* STAFF */
.staff-only {
    color: pink;
}