body, .content-wrapper {
    background-color: #f0f2f5;
    color: #161c21;
}
.content-wrapper.page-wrapper {
    padding: 1rem !important;
}
@media (max-width: 992px) {
    .content-wrapper.page-wrapper {
        padding: 1rem .25rem .25rem !important;
    }
}   
.main-footer{
    background-color: #f0f2f5;
    color: #161c21;
    border-color: #f0f2f5;
}
a {
    color: #5170ff;
}
a:hover {
    color: #5170ff;
    text-decoration: underline;
}
.text-primary {
    color: #5170ff !important;
}
.text-muted {
    color: #6e6e6e !important;
}
.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}
a.text-muted:hover {
    color: #5170ff !important;
}
.text-danger {
    color: #ff6b7c !important;
}
.text-success {
    color: #5170ff !important;
}
.bg-success {
    color: #ffffff !important;
    background: #16a34a !important;
}
.bg-primary {
    color: #ffffff !important;
    background-color: #5170ff !important;
}
.bg-secondary {
    color: #e5e7eb !important;
    background: #475569 !important;
}
.bg-warning {
    color: #161c21 !important;
    background: #ffe063 !important;
}
.bg-warning>a {
    color: #161c21 !important;
}
.bg-info {
    background: #5170ff !important;
}
.badge {
    padding: 5px 10px !important;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}
.badge-primary {
    background-color: #5170ff !important;
    color: #ffffff !important;
    border-color: #5170ff !important;
}
.invalid-feedback {
    color: #ff6b7c;
}
.dark-mode .alert-success, 
.alert-success {
    border-color: #b6ebdb;
    background-color: #cef2e7;
    color: #077151;
}
.alert-success-hint {
    background-color: #cef2e7;
    border-color: #b6ebdb;
    color: #077151;
    border-radius: 12px;
}
.alert-success-hint h5 {
    font-weight: 600;
}
.dark-mode .alert-primary, 
.alert-primary {
    border-color: #5170ff;
    background: #5170ff url(https://www.bitlance.eu/assets/bg_primary.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 12px;
}
.dark-mode .alert-primary  hr, 
.alert-primary hr {
    border-top-color: #5170ff;
}
.alert-danger-hint {
    background: #f7d4d8 url(https://www.bitlance.eu/assets/bg_danger.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-color: #f3bfc5;
    color: #ffffff;
    border-radius: 12px;
    border: 1px solid #D0413F;
}
.alert-danger-hint hr {
    border-top-color: #dd3a33;
}
.alert-warning-hint {
    background: #f8e8b7 url(https://www.bitlance.eu/assets/bg_warning.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-color: #f8e8b7;
    color: #94751c;
    border-radius: 12px;
}
.alert-warning-hint hr {
    border-top-color: #e7d697;
}
.alert-warning-hint h5, 
.alert-danger-hint h5, 
.alert-primary h5 {
    font-weight: 600;
}
code {
    color: #5170ff !important;
    word-wrap: break-word;
}
.alert-danger-hint code {
    color: #ffffff !important;
}
.alert-warning-hint code {
    color: #94751c;
}
.dark-mode .alert-danger, 
.alert-danger {
    background-color: #f7d4d8;
    border-color: #f3bfc5;
    color: #801925;
}
.dark-mode .alert-warning,
.alert-warning {
    color: #94751c;
    background-color: #f8e8b7;
    border-color: #fdedc0;
}
.alert ul {
    padding: 0 10px;
}
.border {
    border: 1px solid #dee2e6 !important;
}
.login-box, .register-box {
    width: 560px;
}
.kyc-box {
    width: 720px;
    margin: 60px 0;
}
@media (max-width: 768px) {
    .kyc-box {
        width: 560px;
        margin: 60px 0;
    }
}
.kyc-box .section-title {
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: .5rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}
body.dark-mode .kyc-box .section-title {
    border-bottom: 1px solid #161c21;
}
.kyc-box .section-title:first-of-type { margin-top: 0; }

.login-box .card, .register-box .card {
    padding: 30px 20px;
}
.login-logo, .register-logo {
    margin-bottom: 0;
}
@media (max-width: 576px) {
    .login-box, .register-box {
        margin-top: .5rem;
        width: 90%;
    }
    .login-card-body, .register-card-body {
        padding: 0;
    }
}
.login-page, .register-page {
    background-color: #f0f2f5;
    color: #161c21;
}
.kyc-page {
    height: auto;
}
.login-box .logo-login{
    width: 80%;
    max-width: 320px;
}
.login-box-msg {
    text-align: center;
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
}
.info-box {
    box-shadow: none;
    border-radius: 12px;
    padding: 1.25rem;
    background-color: #ffffff;
}
.info-box .info-box-content {
    line-height: 1.1rem;
    padding: 0 0 0 15px;
}
.info-box .info-box-content h5 {
    font-weight: 600;
    line-height: 1.4;
}
.info-box .info-box-content h6 {
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.2;
}
.dark-mode .info-box {
    background-color: #1f2833;
}
/* Language tabs (nav-tabs) in dark mode: readable inactive/active/hover states */
body.dark-mode .nav-tabs {
    border-bottom-color: #475569;
}
body.dark-mode .nav-tabs .nav-link {
    color: #cbd5e1;
    background-color: transparent;
    border-color: transparent;
}
body.dark-mode .nav-tabs .nav-link:hover,
body.dark-mode .nav-tabs .nav-link:focus {
    color: #fff;
    border-color: #475569 #475569 #475569;
}
body.dark-mode .nav-tabs .nav-link.active {
    color: #fff;
    background-color: #1f2833;
    border-color: #475569 #475569 #1f2833;
}
.main-header {
    border-bottom: 1px solid #dee2e6;
}
.main-header.navbar {
    background-color: #ffffff;
    color: #161c21;
}
#userDropdown img {
    width: 30px;
    margin-top: -6px;
}
#userDropdown i {
    font-size: 30px;
    margin-top: -2px;
    color: #161c21 !important;
}
.userDropdown-menu {
    min-width: 200px;
}
.dropdown-menu {
    background-color: #ffffff;
    color: #161c21;
}
.dropdown-header {
    color: #161c21;
}
.dropdown-menu .dropdown-divider{
    border-color: #dee2e6;
}
.dropdown-item {
    color: #161c21;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #5170ff;
}
.dropdown-item.active, .dropdown-item:active{
    color: #5170ff;
    text-decoration: none;
    background-color: transparent;
}
.dropdown-item.active:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #5170ff;
}
.profile-icon-user {
    font-size: 64px;
}
.main-header.navbar .nav-link, 
.main-header.navbar .navbar-brand {
    color: #161c21 !important;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #5170ff !important;
}
ul.profile-nav {
    list-style: none;
    padding: 0;
}
.profile-nav .nav-item .nav-link {
    font-size: 1rem;
    padding: .25rem 1rem;
}
.profile-nav .nav-item .nav-link i {
    margin-right: 5px;
}
h1.page-title {
    font-size: 1.8rem;
    margin-bottom: 0;
}
h1.order-page-title {
    font-size: 3.5rem;
    font-weight: 600;
}
@media (max-width: 768px) {
    h1.page-title {
        font-size: 1.45rem;
    }
    h1.order-page-title {
        font-size: 2.8rem;
    }
}
/* Buttons */
.btn {
    position: relative;
    user-select: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    text-align: center;
    min-width: 64px;
    padding: 9px 34px;
    border-radius: 2rem;
    transform: translate3d(0, 0, 0);
    transition: background .4s cubic-bezier(.25, .8, .25, 1),
    box-shadow 280ms cubic-bezier(.4, 0, .2, 1);
    font-weight: 600;
    overflow: hidden;
    box-shadow: none;
}
.dark-mode .btn-primary,
.dark-mode .btn-primary.disabled, 
.dark-mode .btn-primary:disabled,
.btn-primary, 
.btn-primary.disabled,
.btn-primary:disabled {
    border: 1px solid;
    background-color: #5170ff;
    color: #ffffff;
    border-color: #5170ff;
}

.dark-mode .btn-primary:hover, 
.btn-primary:hover {
    background-color: #7c93ff;
    color: #ffffff;
    border-color: #7c93ff;
}

.dark-mode .btn-primary:focus,
.dark-mode .btn-primary.focus,
.btn-primary:focus,
.btn-primary.focus {
    background-color: #7c93ff;
    color: #ffffff;
    border-color: #7c93ff;
    box-shadow: none;
}


.dark-mode .btn-primary:not(:disabled):not(.disabled).active,
.dark-mode .btn-primary:not(:disabled):not(.disabled):active,
.dark-mode .show > .btn-primary.dropdown-toggle, 
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    background-color: #7c93ff;
    color: #ffffff;
    border-color: #7c93ff;
}

.dark-mode .btn-primary:not(:disabled):not(.disabled).active:focus,
.dark-mode .btn-primary:not(:disabled):not(.disabled):active:focus,
.dark-mode .show > .btn-primary.dropdown-toggle:focus
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    background-color: #7c93ff;
    color: #ffffff;
    border-color: #7c93ff;
    box-shadow: none;
}
.dark-mode .btn-outline-primary, 
.btn-outline-primary, 
.dark-mode .btn-outline-primary.disabled, .dark-mode .btn-outline-primary:disabled, 
.btn-outline-primary.disabled, .btn-outline-primary:disabled {
    border: 1px solid;
    background-color: transparent;
    color: #5170ff;
    border-color: #5170ff;
}

.dark-mode .btn-outline-primary:hover, 
.btn-outline-primary:hover {
    background-color: #5170ff;
    color: #ffffff;
    border-color: #5170ff;
}

.dark-mode .btn-outline-primary:focus,
.dark-mode .btn-outline-primary.focus, 
.btn-outline-primary:focus,
.btn-outline-primary.focus {
    background-color: #5170ff;
    color: #ffffff;
    border-color: #5170ff;
    box-shadow: none;
}        

.dark-mode .btn-outline-primary:not(:disabled):not(.disabled).active,
.dark-mode .btn-outline-primary:not(:disabled):not(.disabled):active,
.dark-mode .show > .btn-outline-primary.dropdown-toggle, 
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show > .btn-outline-primary.dropdown-toggle {
    background-color: #5170ff;
    color: #ffffff;
    border-color: #5170ff;
}

.dark-mode .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.dark-mode .btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.dark-mode .show > .btn-outline-primary.dropdown-toggle:focus, 
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
    background-color: #5170ff;
    color: #ffffff;
    border-color: #5170ff;
    box-shadow: none;
}
.dark-mode .btn-outline-danger,
.btn-outline-danger,
.dark-mode .btn-outline-danger.disabled, .dark-mode .btn-outline-danger:disabled,
.btn-outline-danger.disabled, .btn-outline-danger:disabled {
    border: 1px solid;
    background-color: transparent;
    color: #dc3545;
    border-color: #dc3545;
}
.dark-mode .btn-outline-danger:hover,
.btn-outline-danger:hover,
.dark-mode .btn-outline-danger:focus,
.btn-outline-danger:focus,
.btn-outline-danger.focus,
.btn-outline-danger:not(:disabled):not(.disabled).active,
.btn-outline-danger:not(:disabled):not(.disabled):active {
    background-color: #dc3545;
    color: #ffffff;
    border-color: #dc3545;
    box-shadow: none;
}
.dark-mode .btn-danger,
.btn-danger {
    background-color: #dc3545;
    border: 1px solid #dc3545;
}
.dark-mode .btn-danger:hover,
.btn-danger:hover {
    background-color: #d44956;
    border: 1px solid #d44956;
}
.dark-mode .btn-success, 
.btn-success {
    color: #fff;
    background-color: #16a34a;
    border-color: #16a34a;
    box-shadow: none;
}
.dark-mode .btn-success:hover, 
.btn-success:hover {
    color: #fff;
    background-color: #3db769;
    border-color: #3db769;
}
.dark-mode .btn-secondary, 
.btn-secondary {
    color: #fff;
    background-color: #293644;
    border-color: #293644;
    box-shadow: none;
}
.dark-mode .btn-secondary:hover, 
.btn-secondary:hover {
    color: #fff !important;
    background-color: #475569 !important;
    border-color: #475569 !important;
}
.dark-mode .btn-warning, 
.btn-warning {
    color: #161c21;
    background-color: #facc15;
    box-shadow: none;
}
.dark-mode .btn-warning:hover, 
.btn-warning:hover {
    color: #161c21;
    background-color: #f1d76d ;
    border-color: #f1d76d;
}
.btn-action {
    padding: 0px 0 1px;
    min-width: 48px;
    font-size: 12px;
}
.action-menu {
    position: relative;
    min-width: 22px;
    height: 22px;
}
.dropdown-action {
    white-space: nowrap;
    cursor: pointer;
}
.dropdown-action svg {
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 100%;
    stroke: #161c21;
    fill: none;
    vertical-align: middle;
    background: transparent;
}
body.dark-mode .dropdown-action svg {
    stroke: #ffffff;
}
.dropdown-action svg:hover {
    background: #5170ff;
    transition: all .2s linear 0s;
    stroke: #fff;
}
.action-menu .dropdown-menu {
   border-radius: 8px;
    box-shadow: rgba(0, 0, 0, .22) 0 25.6px 57.6px 0, rgba(0, 0, 0, .18) 0 4.8px 14.4px 0;
    padding: 8px 0;
    border: 0;
    min-width: 180px;
}
.btn-wallet{
    border-radius: 5px;
}

.btn-link {
    color: #5170ff;
    min-width: auto;
    text-align: left;
    border-radius: 0;
    vertical-align: unset;
    vertical-align: unset;
    transform: none;
}
.btn-link:hover {
    color: #5170ff;
    text-decoration: underline;
}
.brand-link {
    min-height: 57px;
}
.brand-link .brand-image.logo-full{
    max-height: 39px;
    margin-top: -3px;
    margin-left: 18px;
}
.brand-link .brand-image.logo-icon{
    max-height: 28px;
    margin-top: 1px;
    margin-left: 15px;
}
.logo-full {
    display: inline !important;
}
.logo-icon {
    display: none !important;
}
body.sidebar-collapse .logo-full {
    display: none !important;
}
body.sidebar-collapse .logo-icon {
    display: inline !important;
}
.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .logo-full,
.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand).sidebar-focused .logo-full {
    display: inline !important;
}
.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .logo-icon,
.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand).sidebar-focused .logo-icon {
    display: none !important;
}
.brand-image {
    transition: opacity 0.3s ease-in-out;
}
.main-sidebar {
    background-color: #1f2833;
}
.main-sidebar .brand-link {
    border-bottom: 1px solid #475569;
}
.main-sidebar .nav-sidebar .nav-link {
    color: #ffffff !important;
}
.main-sidebar .nav-sidebar .nav-link:hover {
    color: #ffffff !important;
    background-color: #293644 !important;
}
.main-sidebar .nav-sidebar > .nav-item.menu-open > .nav-link, .main-sidebar .nav-sidebar > .nav-item > .nav-link:focus{
    background-color: #293644;
}
.main-sidebar .nav-sidebar .nav-link.active {
    color: #ffffff !important;
    background-color: #5170ff !important;
}
.main-sidebar .nav-sidebar > .nav-item:hover > .nav-link, .main-sidebar .nav-treeview > .nav-item > .nav-link:focus{
    background-color: #293644;
}
.main-sidebar .nav-sidebar > .nav-item > .nav-treeview {
    background-color: #293644 !important;
    border-radius: .25rem;
}
.main-sidebar .nav-sidebar .nav-treeview > .nav-item > .nav-link {
    padding: 0.25rem 1rem;
    margin-bottom: 0;
}
.main-sidebar .nav-sidebar .nav-treeview > .nav-item > .nav-link i {
    font-size: 0.85rem;
}
.main-sidebar .nav-sidebar .nav-treeview > .nav-item > .nav-link p {
    font-size: 0.95rem;
    line-height: 1.8rem;
}
.main-sidebar .nav-sidebar .nav-treeview > .nav-item > .nav-link.active {
    color: #5170ff !important;
    background-color: #293644 !important;
}
.main-sidebar .nav-flat .nav-item .nav-treeview > .nav-item > .nav-link, .main-sidebar .nav-flat .nav-item .nav-treeview > .nav-item > .nav-link.active{
    border-color: #5170ff !important;
}
.main-sidebar .nav-sidebar > .nav-item .nav-icon.fas, .main-sidebar .nav-sidebar > .nav-item .nav-icon.far {
    font-size: 0.85rem;
}
.card, .login-card-body, .register-card-body {
    background-color: #ffffff;
    border-radius: 12px;
}
.card {
    border: 1px solid #dee2e6;
    box-shadow: none;
}
.card-title {
    font-weight: 600;
}
.card-header {
    padding: 1.25rem;
    border-bottom: 1px solid #dee2e6;
}
body.dark-mode .card-header {
    border-bottom: 1px solid #161c21;
}
.card-footer {
    padding: 1.25rem;
    border-top: 1px solid #dee2e6;
}
body.dark-mode .card-footer {
    border-top: 1px solid #161c21;
}
.card-body.bg-light {
    background-color: #ffffff !important;
    color: #161c21 !important;
}
.card-body.footer-body {
    border-top: 1px solid #dee2e6 !important;
}
.login-card-body, .register-card-body {
    color: #161c21 !important;
}
.card-body.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}
.card table {
    border-color: #dee2e6;
}
.card table th {
    white-space: nowrap;
}
.card table th,
.card table td {
    border-color: #dee2e6;
}
.card table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.card table td.td-wrap {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    max-width: none !important;
}
.card table td strong{
    font-weight: 600 !important;
}
.card table th {
    font-weight: 600;
}
.table thead th {
    border-top-width: 0px;
}
.table thead td, .table thead th {
    border-bottom-width: 0px;
}
.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: #f0f2f5;
}
.card-body.p-0 .table tbody > tr > td:last-of-type, .card-body.p-0 .table tbody > tr > th:last-of-type, .card-body.p-0 .table tfoot > tr > td:last-of-type, .card-body.p-0 .table tfoot > tr > th:last-of-type, .card-body.p-0 .table thead > tr > td:last-of-type, .card-body.p-0 .table thead > tr > th:last-of-type {
    padding-right: 1.25rem;
}
.card-body.p-0 .table tbody > tr > td:first-of-type, .card-body.p-0 .table tbody > tr > th:first-of-type, .card-body.p-0 .table tfoot > tr > td:first-of-type, .card-body.p-0 .table tfoot > tr > th:first-of-type, .card-body.p-0 .table thead > tr > td:first-of-type, .card-body.p-0 .table thead > tr > th:first-of-type {
    padding-left: 1.25rem;
}
body.dark-mode .table-striped tbody tr:nth-of-type(2n+1) {
    background-color: #161c214f;
}
label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 600;
}
input.form-control, select.form-control {
    border-radius: 5px !important;
    height: 45px !important;
}
textarea.form-control {
    border-radius: 5px;
}
.input-group:not(.wallet-input) input.form-control,
.input-group:not(.wallet-input) select.form-control {
    border-radius: 5px 0 0 5px !important;
    height: 45px !important;
    background-color:#ffffff !important;
}
.login-card-body .input-group .input-group-text, .register-card-body .input-group .input-group-text {
    background-color: #f0f2f5 !important;
    border-color: #dee2e6 !important;
    color: #626d77 !important;
}
.input-group-text {
    background-color:#dee2e6;
    border-color: #dee2e6 !important;
    color: #161c21 !important;
    min-width: 45px;
    justify-content: center;
}
.login-card-body .input-group .form-control:focus~.input-group-append .input-group-text, 
.login-card-body .input-group .form-control:focus~.input-group-prepend .input-group-text, 
.register-card-body .input-group .form-control:focus~.input-group-append .input-group-text, 
.register-card-body .input-group .form-control:focus~.input-group-prepend .input-group-text {
    border-color: #5170ff !important;
    background-color:#5170ff !important;
    color: #ffffff !important;
}
.form-control {
    background-color: #f0f2f5 !important;
    color: #161c21 !important;
    border: 1px solid #dee2e6 !important;
}

.form-control:focus {
    border-color: #5170ff !important;
    background-color: #f0f2f5 !important;
    color: #161c21 !important;
    box-shadow: none;
}
.dark-mode .form-control.is-invalid, .dark-mode .was-validated .form-control:invalid,
.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: #dc3545 !important;
}
.form-control.is-invalid:focus, .was-validated .form-control:invalid:focus {
    border-color: #5170ff !important;
}
input[autofocus]:focus {
    background-color: #f0f2f5 !important;
    color: #161c21 !important;
    box-shadow: none;
}
select option {
    background-color: #f0f2f5 !important;
    color: #161c21 !important;
}

select option:hover {
    background-color: #5170ff !important;
    color: #161c21 !important;
}
.select2-container {
    width: 100% !important;
}
.select2-container--bootstrap4 .select2-selection--multiple {
    background-color: #f0f2f5 !important;
    color: #161c21 !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 5px !important;
    min-height: 45px !important;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    background-color: #5170ff !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px !important;
    padding-right: 10px !important;
    margin-top: 6px !important;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove {
    color: #ffffff !important;
    margin-right: 5px !important;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ffffff !important;
}
.select2-container--bootstrap4.select2-container--focus .select2-selection,
.select2-container--bootstrap4.select2-container--focus .select2-selection--multiple {
    border-color: #5170ff !important;
    box-shadow: none !important;
}
.select2-container--bootstrap4 .select2-dropdown {
    background-color: #f0f2f5 !important;
    border-color: #dee2e6 !important;
    border-radius: 5px !important;
}
.select2-container--bootstrap4 .select2-search--dropdown .select2-search__field {
    background-color: #f0f2f5 !important;
    color: #161c21 !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 5px !important;
    height: 35px !important;
}
.select2-container--bootstrap4 .select2-results__option {
    color: #161c21 !important;;
}
.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected] {
    background-color: #5170ff !important;
    color: #ffffff !important;
}
.select2-container--bootstrap4 .select2-results__option[aria-selected=true] {
    background-color: #5170ff !important;
    color: #ffffff!important;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-search__field {
    color: #161c21 !important;
    background-color: #f0f2f5 !important;
}
.wallet-assets .nav {
    background-color: transparent !important;
    color: #161c21 !important;
}
.wallet-assets .nav-pills a {
    border-top: 1px solid #dee2e6;
    padding: 15px;
    border-radius: 0;
}
.wallet-assets .nav-pills a.active {
    color: #161c21 !important;
    background-color: #f0f2f5 !important;
}
.wallet-assets .nav-pills img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}
.wallet-assets .nav-pills h2 {
    margin-bottom: 0;
    line-height: 1;
    color: #161c21 !important;
    font-size: 22px;
}
.wallet-assets .nav-pills p {
    margin-bottom: 0;
    color: #161c21 !important;
    font-size: 13px;
}
.wallet-assets .nav-pills h3 {
    color: #161c21 !important;
    margin-bottom: 0;
    font-size: 22px;
}
ul.wallet-balance {
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}
ul.wallet-balance li {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
ul.wallet-balance li:last-child {
    border-bottom: 0;
    padding-bottom: 15px;
    margin-bottom: 0px;
}
ul.wallet-balance li i {
    font-size: 22px;
    color: #ffffff !important;
    background-color: #5170ff !important;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    text-align: center;
    line-height: 50px;
    margin-right: 15px;
}
ul.wallet-balance h2 {
    margin-bottom: 0;
    font-size: 18px;
}
ul.wallet-balance h3 {
    margin-bottom: 0;
    font-size: 16px;
}
.modal-header{
    border-bottom: 0;
}
.modal-content {
    background-color: #ffffff;
    border-radius: 12px;
}
.modal-footer{
    border-top: 0;
}
.modal-footer .btn{
    min-width: 150px;
}
.modal-footer .btn-action{
    min-width: 48px;
}
.breadcrumb {
    background-color: transparent;
    font-size: 14px;
    line-height: 1.8rem;
    margin-bottom: 0;
    padding: 0;
}
.breadcrumb-item.active {
    
}
.breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: .5rem;
    color: #dee2e6;
    content: "/";
}
.lang-dropdown .dropdown-item {
    line-height: 30px;
}
.bootstrap-switch {
    border-color: #dee2e6 !important;
}
.bootstrap-switch .bootstrap-switch-label {
    background-color: #f0f2f5 !important;
}
.bootstrap-switch.bootstrap-switch-focused {
    border-color: #dee2e6 !important;
    box-shadow: unset !important;
}
/* CodeMirror: background + token colors are provided by the themes themselves
   (default in light mode, icecoder in dark mode) -> no override,
   otherwise light token colors on a light BG = invisible tags. */
.CodeMirror {
    height: auto;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
}
.list-group-item {
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, .125);
}
.box-profile i.fa-user-circle {
    font-size: 64px;
}
b, strong {
    font-weight: 600;
}
.bootstrap-switch .bootstrap-switch-handle-off, .bootstrap-switch .bootstrap-switch-handle-on, .bootstrap-switch .bootstrap-switch-label {
    padding: .25rem .4rem;
}
.small-box {
    border-radius: 12px
}
.step-info {font-size: 0.9rem}
.stepper { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 2rem; }
.stepper-step { display: flex; align-items: center; gap: .5rem; }
.stepper-circle {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .95rem; flex-shrink: 0;
    border: 1px solid #6e6e6e; color: #6e6e6e; background: transparent;
    transition: all .25s;
}
.dark-mode .stepper-circle { border: 1px solid #cacaca; color: #cacaca;}
.stepper-circle.active { background: #5170ff; border-color: #5170ff; color: #ffffff; }
.stepper-circle.done   { background: #16a34a; border-color: #16a34a; color: #fff; }
.stepper-label { font-size: .85rem; color: #6e6e6e; white-space: nowrap; }
.dark-mode .stepper-label { color: #cacaca;}
.stepper-label.active { color: #5170ff; }
.stepper-line  { width: 50px; height: 1px; background: #6e6e6e; margin: 0 .75rem; flex-shrink: 0; }
.dark-mode .stepper-line { background: #cacaca; }
.stepper-line.active { background: #5170ff; }

.toggle-group { display: flex; border: 1px solid #5170ff; border-radius: .5rem; overflow: hidden; }
.dark-mode .toggle-group { border: 1px solid #5170ff; }

.toggle-group .toggle-btn {
    flex: 1; padding: .6rem 1rem; text-align: center; cursor: pointer;
    font-weight: 500; font-size: .9rem; background: #ffffff; color: #161c21;
    transition: all .2s; border: none; outline: none;
}
.dark-mode .toggle-group .toggle-btn { background-color: #161c21; color: #ffffff }
.toggle-group .toggle-btn.active { background: #5170ff; color: #ffffff; }
.toggle-group .toggle-btn:not(.active):hover { background: #ffffff; }
.dark-mode .toggle-group .toggle-btn:not(.active):hover { background: #161c21; }

.price-card .price-value { font-size: 2.5rem; font-weight: 700; }
.price-card .price-sub   { font-size: 0.85rem; font-weight: 500; }
.price-card hr {border-top: 1px solid #dee2e6;}
.dark-mode .price-card hr {border-top: 1px solid #161c21;}

.summary-row { display: flex; justify-content: space-between; padding: .65rem 0; border-bottom: 1px solid #dee2e6; }
.dark-mode .summary-row { border-bottom: 1px solid #161c21; }
.summary-row:last-child { border-bottom: none; }
.summary-row .label { font-weight: 600; }
.summary-row .value { font-weight: 500; }
.summary-row.total  { border-top: 2px solid #dee2e6; border-bottom: none; padding-top: .85rem; margin-top: .25rem; }
.dark-mode .summary-row.total { border-top: 2px solid #161c21; }
.summary-row.total .label, .summary-row.total .value { font-size: 1.15rem; font-weight: 600; }

.btn-order .spinner-border { width: 1rem; height: 1rem; border-width: .15em; }
/* ── Login Logo: light/dark swap ── */
.logo-on-dark { display: none; }
.logo-on-light { display: inline; }
body.dark-mode .logo-on-dark { display: inline; }
body.dark-mode .logo-on-light { display: none; }
/* ── Dark Mode Overrides ── */
.dark-mode,
body.dark-mode,
body.dark-mode .content-wrapper {
    background-color: #161c21 !important;
    color: #ffffff !important;
}
body.dark-mode .main-footer {
    background-color: #161c21 !important;
    color: #ffffff !important;
    border-color: #161c21 !important;
}
body.dark-mode a {
    color: #5170ff;
}
body.dark-mode a:hover, 
body.dark-mode a:not(.btn):hover {
    color: #5170ff;
}
body.dark-mode .main-header.navbar {
    background-color: #1f2833 !important;
    color: #ffffff !important;
}
body.dark-mode .main-header {
    border-bottom-color: #475569 !important;
}
body.dark-mode .main-header.navbar .nav-link,
body.dark-mode .main-header.navbar .navbar-brand {
    color: #ffffff !important;
}
body.dark-mode .dropdown-menu {
    background-color: #1f2833 !important;
    color: #ffffff !important;
    border-color: #161c21 !important;
}
body.dark-mode .dropdown-header {
    color: #ffffff !important;
}
body.dark-mode .dropdown-item {
    color: #ffffff !important;
}
body.dark-mode .dropdown-item:focus,
body.dark-mode .dropdown-item:hover {
    background-color: #5170ff !important;
    color: #ffffff !important;
}
body.dark-mode .dropdown-menu .dropdown-divider {
    border-color: #161c21 !important;
}
body.dark-mode #userDropdown i {
    color: #ffffff !important;
}
body.dark-mode .card,
body.dark-mode .login-card-body,
body.dark-mode .register-card-body {
    background-color: #1f2833 !important;
    color: #ffffff !important;
}
body.dark-mode .card {
    border: 1px solid #1f2833;
    box-shadow: none;
}
body.dark-mode .repeater-item {
    border-color: #475569 !important;
}
body.dark-mode .card-body.bg-light {
    background-color: #28323e !important;
    color: #ffffff !important;
}
body.dark-mode .card-body.footer-body {
    border-top: 1px solid #161c21 !important;
}
body.dark-mode .login-card-body,
body.dark-mode .register-card-body {
    color: #ffffff !important;
}
body.dark-mode .card-body.border-bottom {
    border-bottom-color: #161c21 !important;
}
body.dark-mode .card table,
body.dark-mode .card table th,
body.dark-mode .card table td {
    border-color: #161c21 !important;
}
body.dark-mode .form-control {
    background-color: #161c21 !important;
    color: #ffffff !important;
    border-color: #475569 !important;
}
body.dark-mode .form-control:focus {
    background-color: #161c21 !important;
    color: #ffffff !important;
    border-color: #5170ff !important;
}
/* Inputs inside input groups have a hard-coded white background (higher
   specificity than .form-control), so override it explicitly in dark mode. */
body.dark-mode .input-group:not(.wallet-input) input.form-control,
body.dark-mode .input-group:not(.wallet-input) select.form-control {
    background-color: #161c21 !important;
    color: #ffffff !important;
    border-color: #475569 !important;
}
/* Browser autofill: keep the dark input background/text (autofill otherwise
   paints its own light background until the field is focused).
   Two separate rules: a webkit selector (Chrome/Edge/Safari) and the
   standard :autofill selector (Firefox). They must NOT share one selector
   list — an unknown selector would invalidate the whole rule per browser. */
body.dark-mode input:-webkit-autofill,
body.dark-mode input:-webkit-autofill:hover,
body.dark-mode input:-webkit-autofill:focus,
body.dark-mode input:-webkit-autofill:active,
body.dark-mode textarea:-webkit-autofill,
body.dark-mode select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #161c21 inset !important;
    box-shadow: 0 0 0 1000px #161c21 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
    border-color: #475569 !important;
    transition: background-color 9999s ease-in-out 0s;
}
body.dark-mode input:autofill,
body.dark-mode input:autofill:hover,
body.dark-mode input:autofill:focus,
body.dark-mode textarea:autofill,
body.dark-mode select:autofill {
    box-shadow: 0 0 0 1000px #161c21 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    background-color: #161c21 !important;
    caret-color: #ffffff;
    border-color: #475569 !important;
    filter: none !important;
}
body.dark-mode select option {
    background-color: #161c21 !important;
    color: #ffffff !important;
}
body.dark-mode .input-group-text {
    background-color: #475569 !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}
body.dark-mode .login-card-body .input-group .input-group-text, 
body.dark-mode .register-card-body .input-group .input-group-text {
    background-color: #475569 !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}
body.dark-mode .login-card-body .input-group .form-control:focus~.input-group-append .input-group-text, 
body.dark-mode .login-card-body .input-group .form-control:focus~.input-group-prepend .input-group-text, 
body.dark-mode .register-card-body .input-group .form-control:focus~.input-group-append .input-group-text, 
body.dark-mode .register-card-body .input-group .form-control:focus~.input-group-prepend .input-group-text {
    border-color: #5170ff !important;
    background-color:#5170ff !important;
    color: #ffffff !important;
}
.dark-mode input:-webkit-autofill, .dark-mode input:-webkit-autofill:focus, .dark-mode input:-webkit-autofill:hover, .dark-mode select:-webkit-autofill, .dark-mode select:-webkit-autofill:focus, .dark-mode select:-webkit-autofill:hover, .dark-mode textarea:-webkit-autofill, .dark-mode textarea:-webkit-autofill:focus, .dark-mode textarea:-webkit-autofill:hover {
    -webkit-text-fill-color: #161c21;
}
body.dark-mode .modal-content {
    background-color: #1f2833 !important;
    color: #ffffff !important;
}
body.dark-mode .border {
    border-color: #161c21 !important;
}
body.dark-mode .list-group-item {
    background-color: transparent;
    border-color: #161c21;
    color: #ffffff;
}
body.dark-mode .breadcrumb-item.active {
    color: #b0b0b0;
}
body.dark-mode .breadcrumb-item + .breadcrumb-item::before {
    color: #6c757d;
}
body.dark-mode .bootstrap-switch {
    border-color: #475569 !important;
}
body.dark-mode .table td,
body.dark-mode .table th,
body.dark-mode .table thead th,
body.dark-mode .table-bordered,
body.dark-mode .table-bordered td,
body.dark-mode .table-bordered th {
    border-color: #475569 !important;
}
body.dark-mode .bootstrap-switch .bootstrap-switch-label {
    background-color: #161c21 !important;
}
body.dark-mode .select2-container--bootstrap4 .select2-selection--multiple {
    background-color: #161c21 !important;
    color: #ffffff !important;
    border-color: #475569 !important;
}
body.dark-mode .select2-container--bootstrap4 .select2-dropdown {
    background-color: #161c21 !important;
    border-color: #475569 !important;
}
body.dark-mode .select2-container--bootstrap4 .select2-search--dropdown .select2-search__field {
    background-color: #161c21 !important;
    color: #ffffff !important;
    border-color: #475569 !important;
}
body.dark-mode .select2-container--bootstrap4 .select2-results__option {
    color: #ffffff !important;
}
body.dark-mode .select2-container--bootstrap4 .select2-selection--multiple .select2-search__field {
    color: #ffffff !important;
    background-color: #161c21 !important;
}
body.dark-mode .login-page,
body.dark-mode .register-page {
    background-color: #161c21 !important;
    color: #ffffff !important;
}
body.dark-mode .text-muted {
    color: #cacaca !important;
}
body.dark-mode label:not(.form-check-label):not(.custom-file-label) {
    color: #ffffff;
}
body.dark-mode .page-item .page-link {
    background-color: #1f2833;
    border-color: #161c21;
    color: #ffffff;
}
body.dark-mode .page-item.active .page-link {
    background-color: #1f2833;
    border-color: #1f2833;
    color: #ffffff;
}
body.dark-mode .wallet-assets .nav-pills h2,
body.dark-mode .wallet-assets .nav-pills p,
body.dark-mode .wallet-assets .nav-pills h3 {
    color: #ffffff !important;
}
body.dark-mode .wallet-assets .nav-pills a {
    border-top-color: #161c21;
}
body.dark-mode .wallet-assets .nav-pills a.active {
    color: #ffffff !important;
    background-color: #293644 !important;
}
body.dark-mode ul.wallet-balance li {
    border-bottom-color: #161c21;
}
.btn:disabled {
    opacity: .65;
}

/* ── Stepper (Subscription Progress Timeline) ── */
.bl-stepper { display: flex; flex-direction: column; gap: 0; padding: 0; }
.bl-stepper__item { display: flex; align-items: flex-start; position: relative; padding-bottom: 1.5rem; }
.bl-stepper__item:last-child { padding-bottom: 0; }
.bl-stepper__item::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}
.bl-stepper__item:last-child::before { display: none; }
.bl-stepper__icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: .85rem;
    border: 2px solid #dee2e6;
    color: #adb5bd;
    background: #ffffff;
    position: relative;
    z-index: 1;
    transition: all .25s;
}
.bl-stepper__content { margin-left: .75rem; padding-top: .45rem; }
.bl-stepper__label { font-size: .9rem; color: #6c757d; font-weight: 500; }
.bl-stepper__item.is-done::before { background: #5170ff; }
.bl-stepper__item.is-done .bl-stepper__icon {
    background: #5170ff; border-color: #5170ff; color: #fff;
}
.bl-stepper__item.is-done .bl-stepper__label { color: #161c21; }
.bl-stepper__item.is-current .bl-stepper__icon {
    background: #5170ff; border-color: #5170ff; color: #fff;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px #5170ff;
}
.bl-stepper__item.is-current .bl-stepper__label { color: #5170ff; font-weight: 600; }
.bl-stepper__item.is-todo .bl-stepper__icon {
    background: transparent; border-color: #dee2e6; color: #adb5bd;
}
.bl-stepper__item.is-todo .bl-stepper__label { color: #adb5bd; }

/* Stepper dark mode */
.dark-mode .bl-stepper__item::before { background: #161c21; }
.dark-mode .bl-stepper__item.is-done::before { background: #5170ff; }
.dark-mode .bl-stepper__icon { background: #1f2833; border-color: #161c21; color: #6c757d; }
.dark-mode .bl-stepper__item.is-done .bl-stepper__icon { background: #5170ff; border-color: #5170ff; color: #fff; }
.dark-mode .bl-stepper__item.is-current .bl-stepper__icon {
    background: #5170ff; border-color: #5170ff; color: #fff;
    box-shadow: 0 0 0 3px #1f2833, 0 0 0 5px #5170ff;
}
.dark-mode .bl-stepper__item.is-todo .bl-stepper__icon { background: transparent; border-color: #161c21; color: #6c757d; }
.dark-mode .bl-stepper__label { color: #cacaca; }
.dark-mode .bl-stepper__item.is-done .bl-stepper__label { color: #cacaca; }
.dark-mode .bl-stepper__item.is-current .bl-stepper__label { color: #5170ff; }
.dark-mode .bl-stepper__item.is-todo .bl-stepper__label { color: #6c757d; }

.action-icon {
    font-size: 12px
}

/* ── Invoice Detail Page ──────────────────────────────── */
.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}
.invoice-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}
.invoice-info h5 {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .5rem;
}
.invoice-info b, 
.invoice-info strong {
    font-weight: 600;
}
.invoice-table th {
    border-top: 2px solid #dee2e6;
}
.invoice-table td {
    vertical-align: middle;
}

/* ── Stepper icon sizing ─────────────────────────────── */
.bl-stepper__icon .fa-circle {
    font-size: .5rem;
}

/* ── Dark-mode overrides ─────────────────────────────── */
.dark-mode .invoice-table th {
    border-top-color: #2a2a4a;
}

/* ---- Step titles ---- */
.twofa-step-title {
    font-weight: 600;
    margin-bottom: 1rem;
}
/* ---- Store badges ---- */
.twofa-store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.twofa-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    border-radius: 5px;
    font-size: 0.8rem;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.twofa-store-badge:hover,
.twofa-store-badge:focus {
    color: #ffffff;
    text-decoration: none;
}

.twofa-store-badge i {
    font-size: 1.5rem;
}

.twofa-store-badge .twofa-store-label-sm {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
}

.twofa-store-badge .twofa-store-label-lg {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ---- QR Code Box ---- */
.twofa-qr-box {
    background-color: #f0f2f5;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 15rem;
}
body.dark-mode .twofa-qr-box {
    background-color: #161c21;
    border: 1px solid #475569;
}

.twofa-qr-box svg {
    width: 100%;
    max-width: 12rem;
    height: auto;
}

/* ---- Warning box ---- */
.twofa-warning {
    background-color: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    margin-top: 1rem;
}

.twofa-warning-title {
    color: #f59e0b;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.twofa-warning-text {
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 0;
}

body.dark-mode .twofa-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

body.dark-mode .twofa-warning-text {
    color: #a0a8b4;
}

/* ---- Responsive ---- */
@media (max-width: 767.98px) {
    .twofa-store-badges {
        flex-direction: column;
    }

    .twofa-store-badge {
        width: 100%;
        justify-content: center;
    }

    .twofa-qr-box {
        min-height: 12rem;
        margin-bottom: 1.5rem;
    }

    .twofa-secret-code {
        font-size: 0.85rem;
    }
}
.sys-time-link{height: 2.5rem; position: relative;display: block;padding: .5rem 1rem;}
.custom-control-label::before {
    background-color: #ffffff;
    border: #5170ff solid 1px;
    box-shadow: none;
}
.dark-mode .custom-switch .custom-control-label::before {
    background-color: #161c21;
    border: #5170ff solid 1px;
    box-shadow: none;
}
.custom-switch .custom-control-label::after {
    background-color: #5170ff;
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #ffffff;
}
.custom-switch .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: none;
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    color: #ffffff;
    border-color: #5170ff;
    background-color: #5170ff;
    box-shadow: none;
}
.custom-switch .custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #5170ff;
}
.dark-mode .custom-switch .custom-control-label::before {
    background-color: #161c21;
    color: #5170ff;
}

/* ── Pagination (Tailwind-Style) ── */
.bl-pg { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1rem; }
/* Mobile: only Back / Next */
.bl-pg__mobile { display: flex; flex: 1 1 auto; justify-content: space-between; gap: .75rem; }
.bl-pg__btn {
    display: inline-flex; align-items: center;
    padding: .5rem 1rem; font-size: .875rem; font-weight: 500;
    border: 1px solid #dee2e6; border-radius: 8px;
    background-color: #ffffff; color: #161c21; text-decoration: none;
    transition: background-color .15s ease;
}
a.bl-pg__btn:hover { background-color: #f0f2f5; text-decoration: none; }
.bl-pg__btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
/* Desktop */
.bl-pg__desktop { display: none; }
@media (min-width: 640px) {
    .bl-pg__mobile { display: none; }
    .bl-pg__desktop { display: flex; flex: 1 1 auto; align-items: center; justify-content: space-between; }
}
.bl-pg__info { margin: 0; font-size: .875rem; color: #6e6e6e; }
.bl-pg__info .bl-pg__num { font-weight: 600; color: #161c21; }
/* Segmented group (-space-x-px) */
.bl-pg__group { display: inline-flex; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.06); isolation: isolate; }
.bl-pg__cell {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 38px; padding: 0 .9rem;
    font-size: .875rem; font-weight: 600;
    background-color: #ffffff; color: #161c21;
    border: 1px solid #dee2e6; margin-left: -1px;
    text-decoration: none; transition: background-color .15s ease;
}
.bl-pg__cell:first-child { margin-left: 0; border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.bl-pg__cell:last-child { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.bl-pg__cell[aria-label] { min-width: 38px; padding: 0 .6rem; }
a.bl-pg__cell:hover { background-color: #f0f2f5; z-index: 1; text-decoration: none; }
.bl-pg__cell.is-active {
    z-index: 2; background-color: #5170ff; border-color: #5170ff; color: #ffffff;
}
.bl-pg__cell.is-dots { color: #9aa4b0; cursor: default; }
.bl-pg__cell.is-disabled { color: #adb5bd; cursor: not-allowed; pointer-events: none; }
body.dark-mode .bl-pg__btn,
body.dark-mode .bl-pg__cell {
    background-color: #1f2833; border-color: #161c21; color: #ffffff;
}
body.dark-mode a.bl-pg__btn:hover,
body.dark-mode a.bl-pg__cell:hover { background-color: #161c21; }
body.dark-mode .bl-pg__info { color: #9aa4b0; }
body.dark-mode .bl-pg__info .bl-pg__num { color: #ffffff; }
body.dark-mode .bl-pg__cell.is-active { background-color: #5170ff; border-color: #5170ff; color: #ffffff; }