:root {
    --bs-primary: #007aff;
    --background-primary: #002e60;
}

.link-list button {
    display: flex;
    align-items: center;
    color: #526484;
    font-size: 13px;
    line-height: 1.4rem;
    font-weight: 500;
    padding: 0.575rem 0;
    position: relative;
}

.link-list button .icon {
    font-size: 1.125rem;
    line-height: 1;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--bs-dropdown-link-hover-color);
    background-color: transparent;
}

.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: #0066db;
    --bs-btn-hover-border-color: #0061cd;
    --bs-btn-active-bg: #005ccc;
    --bs-btn-active-border-color: #0054ba;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.user-avatar,
[class^="user-avatar"]:not([class*="-group"]) {
    background: var(--bs-primary);
}

.is-light .nk-menu-link:hover,
.is-light .active>.nk-menu-link {
    color: #0069db;
}

.nk-menu-link:hover .nk-menu-icon,
.nk-menu-item.active>.nk-menu-link .nk-menu-icon,
.nk-menu-item.current-menu>.nk-menu-link .nk-menu-icon {
    color: #0069db;
}

.nk-sidebar .nk-menu>li.active>.nk-menu-link {
    background: #eaf4ff;
}

.nk-sidebar .nk-menu>li>.nk-menu-link:hover {
    background: #eaf4ff;
}

.page-link.active,
.active>.page-link {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.page-link:hover {
    color: var(--bs-primary);
}

table thead {
    color: #ffffff;
    background-color: var(--bs-primary);
    border-radius: 2rem !important;
}

table thead th:first-child,
table thead td:first-child {
    background-color: var(--bs-primary) !important;
    border-radius: 0.3rem 0 0 0 !important;
    color: #ffffff !important;
}

table thead th:last-child,
table thead td:last-child {
    background-color: var(--bs-primary) !important;
    border-radius: 0 0.3rem 0 0 !important;
    color: #ffffff !important;
}

.pagination .active .page-link {
    color: #ffffff;
}

.btn-dim.btn-outline-primary {
    color: var(--bs-primary);
    background-color: #eaf4ff;
    border-color: var(--bs-primary);
}

.btn-dim.btn-outline-primary:not(:disabled):not(.disabled):hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-control.focus,
.dual-listbox .focus.dual-listbox__search,
div.dataTables_wrapper div.dataTables_filter input.focus {
    border-color: var(--bs-primary);
}

.form-control:focus,
.dual-listbox .dual-listbox__search:focus,
div.dataTables_wrapper div.dataTables_filter input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px #eaf4ff;
}

.form-control.focus,
.dual-listbox .focus.dual-listbox__search,
div.dataTables_wrapper div.dataTables_filter input.focus {
    box-shadow: 0 0 0 3px #eaf4ff;
}

.link-list-opt form button {
    display: flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    font-size: 12px;
    font-weight: 500;
    color: #526484;
    transition: all 0.4s;
    line-height: 1.3rem;
    position: relative;
}

.link-list-opt button .icon {
    font-size: 1.125rem;
    width: 1.75rem;
    opacity: 0.8;
}

.link-list-opt a:hover,
.link-list-opt button:hover {
    color: var(--bs-primary) !important;
    background: #f5f6fa;
}

table thead th a {
    color: #ffffff;
}

table thead th {
    position: relative;
}

table thead .sorting:before,
table thead .sorting_asc:before,
table thead .sorting_desc:before,
table thead .sorting_asc_disabled:before,
table thead .sorting_desc_disabled:before {
    right: 1em;
    content: "\2191";
}

table thead .sorting:before,
table thead .sorting:after,
table thead .sorting_asc:before,
table thead .sorting_asc:after,
table thead .sorting_desc:before,
table thead .sorting_desc:after,
table thead .sorting_asc_disabled:before,
table thead .sorting_asc_disabled:after,
table thead .sorting_desc_disabled:before,
table thead .sorting_desc_disabled:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    opacity: 0.3;
}

table thead .sorting:after,
table thead .sorting_asc:after,
table thead .sorting_desc:after,
table thead .sorting_asc_disabled:after,
table thead .sorting_desc_disabled:after {
    right: 0.5em;
    content: "\2193";
}

table thead .sorting:before,
table thead .sorting:after,
table thead .sorting_asc:before,
table thead .sorting_asc:after,
table thead .sorting_desc:before,
table thead .sorting_desc:after,
table thead .sorting_asc_disabled:before,
table thead .sorting_asc_disabled:after,
table thead .sorting_desc_disabled:before,
table thead .sorting_desc_disabled:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    opacity: 0.3;
}

table thead .sorting_asc:before,
table thead .sorting_desc:after {
    opacity: 1;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.dark-mode .nk-sidebar .nk-menu>li:hover>a,
.dark-mode .nk-sidebar .nk-menu>li.active>a,
.dark-mode .nk-sidebar .nk-menu>li.current-menu>a,
.dark-mode .wallet-item a:before {
    background: var(--background-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.title-details {
    font-weight: bold;
    color: #000000;
    font-size: 1.1rem;
}

.badge-status {
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
}

.badge-warning {
    background: #fef9c3;
    color: #a16207;
}

.badge-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.badge-success {
    background: #dcfce7;
    color: #15803d;
}

.badge-purple {
    background: #7a5af8;
    color: #ffffff;
}

.text-status {
    font-weight: 600;
}

.text-yellow-700 {
    color: #a16207;
}

.text-red-700 {
    color: #b91c1c;
}

.text-green-700 {
    color: #15803d;
}

.text-indigo-600 {
    color: #4f46e5;
}

.text-verification-process {
    color: #2563eb;
}

.text-verification-revision {
    color: #b91c1c;
}

.text-verification-success {
    color: #15803d;
}

.text-verification-rejected {
    color: #7c3aed;
}

.badge-status {
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
}

.badge-verification-process {
    background-color: #dbeafe;
    color: #2563eb;
}

.badge-verification-revision {
    background-color: #fee2e2;
    color: #b91c1c;
}

.badge-verification-success {
    background-color: #dcfce7;
    color: #15803d;
}

.badge-verification-rejected {
    background-color: #ede9fe;
    color: #7c3aed;
}

.list-number li {
    display: list-item;
    list-style: inside inside;
}

.custom-control-input-info:checked~.custom-control-label::before,
.custom-control-input-info:not(:disabled):active~.custom-control-label::before,
.custom-control-input-info:focus:not(:checked)~.custom-control-label::before {
    border-color: #2dbcfe;
    background-color: #2dbcfe;
}

.custom-control-input-warning:checked~.custom-control-label::before,
.custom-control-input-warning:not(:disabled):active~.custom-control-label::before,
.custom-control-input-warning:focus:not(:checked)~.custom-control-label::before {
    border-color: #f9a281;
    background-color: #f9a281;
}

.custom-control-input-danger:checked~.custom-control-label::before,
.custom-control-input-danger:not(:disabled):active~.custom-control-label::before,
.custom-control-input-danger:focus:not(:checked)~.custom-control-label::before {
    border-color: #f44298;
    background-color: #f44298;
}

.custom-control-input-success:checked~.custom-control-label::before,
.custom-control-input-success:not(:disabled):active~.custom-control-label::before,
.custom-control-input-success:focus:not(:checked)~.custom-control-label::before {
    border-color: #36ca8b;
    background-color: #36ca8b;
}

.sign-pad-button-submit {
    display: none;
}

.sign-pad-button-clear {
    border-radius: 6px;
    background-color: #f2426e;
    border-color: transparent;
    margin-top: 1rem;
}

.bg-abstract {
    background-image: url(/vendor/images/login-image.png);
    background-repeat: round;
}

table .nk-tb-item {
    display: contents;
}

table .nk-tb-head .nk-tb-col {
    background-color: var(--bs-primary) !important;
    color: #ffffff !important;
}

/* .custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: var(--bs-primary);
    background-color: var(--bs-primary);
    box-shadow: none;
} */

.link-list-opt a {
    align-items: flex-start !important;
}

.nk-tb-col {
    padding: 0.5rem;
}

table .nk-tb-item td {
    border-color: #e5e9f2;
    border-style: solid;
    border-width: 1px 0px;
}

.sorting a {
    color: #ffffff !important;
}

.chart-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chart-card .card-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chart-card .chart-container {
    flex: 1;
}

.th-ellipsis {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary) !important;
    --bs-btn-border-color: var(--bs-primary) !important;
    --bs-btn-hover-bg: var(--bs-primary) !important;
    --bs-btn-hover-border-color: var(--bs-primary) !important;
    --bs-btn-active-bg: var(--bs-primary) !important;
    --bs-btn-active-border-color: var(--bs-primary) !important;
    --bs-btn-disabled-color: var(--bs-primary) !important;
    --bs-btn-disabled-border-color: var(--bs-primary) !important;
}