/* Admin dark theme for dash.thecrypto.app (Sneat light-style overlay). */

.tca-dash-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.tca-dash-theme-toggle--floating {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1090;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0.25rem 0.75rem rgba(67, 89, 113, 0.18);
}

.dark-style [data-theme-icon="moon"] {
  display: none !important;
}

.dark-style [data-theme-icon="sun"] {
  display: inline-block !important;
}

.dark-style .tca-dash-theme-toggle--floating {
  background: #171c24;
  border-color: #2a3340;
  color: #e8edf4;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.4);
}

.dark-style {
  color-scheme: dark;
  --bs-body-color: #c5ced9;
  --bs-body-bg: #0f1218;
  --bs-body-color-rgb: 197, 206, 217;
  --bs-body-bg-rgb: 15, 18, 24;
  --bs-card-bg: #171c24;
  --bs-border-color: #2a3340;
  --bs-black-rgb: 197, 206, 217;
}

.dark-style body {
  background-color: #0f1218;
  color: #c5ced9;
}

.dark-style h1,
.dark-style h2,
.dark-style h3,
.dark-style h4,
.dark-style h5,
.dark-style h6,
.dark-style .h1,
.dark-style .h2,
.dark-style .h3,
.dark-style .h4,
.dark-style .h5,
.dark-style .h6,
.dark-style .text-heading,
.dark-style .card-title,
.dark-style .form-label {
  color: #e8edf4;
}

.dark-style .text-muted,
.dark-style .text-light {
  color: #8b97a8 !important;
}

.dark-style .text-body,
.dark-style .text-secondary {
  color: #c5ced9 !important;
}

.dark-style a:not(.btn):not(.nav-link):not(.dropdown-item):not(.menu-link):not(.page-link):not(.footer-link) {
  color: #8ba4ff;
}

.dark-style a:not(.btn):not(.nav-link):not(.dropdown-item):not(.menu-link):not(.page-link):not(.footer-link):hover {
  color: #a8b8ff;
}

.dark-style hr {
  color: #2a3340;
  background-color: #2a3340;
  opacity: 1;
  border: 0;
}

.dark-style .dropdown-divider,
.dark-style .border,
.dark-style .border-top,
.dark-style .border-bottom,
.dark-style .border-start,
.dark-style .border-end {
  border-color: #2a3340 !important;
}

.dark-style .border-primary {
  border-color: #696cff !important;
}

.dark-style .border-success {
  border-color: #71dd37 !important;
}

.dark-style .border-danger {
  border-color: #ff3e1d !important;
}

.dark-style .border-warning {
  border-color: #ffab00 !important;
}

.dark-style .border-info {
  border-color: #03c3ec !important;
}

.dark-style .card,
.dark-style .modal-content,
.dark-style .offcanvas,
.dark-style .accordion-item,
.dark-style .popover,
.dark-style .toast,
.dark-style .list-group-item {
  background-color: #171c24;
  color: #c5ced9;
  border-color: #2a3340;
}

.dark-style .card {
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.35);
}

.dark-style .card-header,
.dark-style .card-footer,
.dark-style .modal-header,
.dark-style .modal-footer,
.dark-style .offcanvas-header,
.dark-style .accordion-header,
.dark-style .list-group-item {
  border-color: #2a3340;
}

.dark-style .list-group-item.bg-white {
  background-color: #171c24 !important;
}

.dark-style .bg-lighter,
.dark-style .bg-light {
  background-color: #1e2530 !important;
  color: #c5ced9 !important;
}

.dark-style .bg-body {
  background-color: #171c24 !important;
}

.dark-style .btn-light {
  color: #e8edf4;
  background-color: #1e2530;
  border-color: #2a3340;
  box-shadow: none;
}

.dark-style .btn-light:hover,
.dark-style .btn-light:focus,
.dark-style .btn-light:active,
.dark-style .btn-light.active {
  color: #e8edf4;
  background-color: #252d3a;
  border-color: #2a3340;
  transform: none;
  box-shadow: none;
}

.dark-style .form-control,
.dark-style .form-select,
.dark-style .form-select option,
.dark-style textarea,
.dark-style .input-group-text {
  color: #c5ced9;
  background-color: #12161d;
  border-color: #2a3340;
}

.dark-style .form-control:focus,
.dark-style .form-select:focus,
.dark-style textarea:focus {
  color: #e8edf4;
  background-color: #12161d;
  border-color: #696cff;
}

.dark-style .form-control::placeholder,
.dark-style .form-select::placeholder,
.dark-style textarea::placeholder {
  color: #6f7c8c;
}

.dark-style .form-control:disabled,
.dark-style .form-control[readonly],
.dark-style .form-select:disabled {
  background-color: #1a2029;
  color: #8b97a8;
}

.dark-style .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238b97a8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.dark-style .form-check-input {
  background-color: #12161d;
  border-color: #3a4554;
}

.dark-style .form-check-input:checked {
  background-color: #696cff;
  border-color: #696cff;
}

.dark-style .dropdown-menu {
  background-color: #171c24;
  color: #c5ced9;
  border-color: #2a3340;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.45);
}

.dark-style .dropdown-item {
  color: #c5ced9;
}

.dark-style .dropdown-item:hover,
.dark-style .dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.06);
  color: #e8edf4;
}

.dark-style .dropdown-item:not(.disabled).active,
.dark-style .dropdown-item:not(.disabled):active {
  background-color: rgba(105, 108, 255, 0.16);
  color: #8ba4ff !important;
}

.dark-style .table {
  --bs-table-striped-color: #c5ced9;
  --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
  --bs-table-active-color: #e8edf4;
  --bs-table-active-bg: rgba(255, 255, 255, 0.08);
  --bs-table-hover-color: #e8edf4;
  --bs-table-hover-bg: rgba(255, 255, 255, 0.05);
  color: #c5ced9;
  border-color: #2a3340;
}

.dark-style .table > :not(:first-child) {
  border-top-color: #2a3340;
}

.dark-style .table-secondary,
.dark-style .table-secondary > th,
.dark-style .table-secondary > td {
  --bs-table-bg: #252a33;
  --bs-table-accent-bg: #252a33;
  --bs-table-striped-bg: #2a303a;
  --bs-table-striped-color: #c5ced9;
  --bs-table-active-bg: #323844;
  --bs-table-active-color: #e8edf4;
  --bs-table-hover-bg: #2e3440;
  --bs-table-hover-color: #e8edf4;
  color: #c5ced9;
  background-color: #252a33;
  border-color: #2a3340;
}

.dark-style .table-secondary .btn-icon {
  color: #c5ced9;
}

.dark-style .table-light,
.dark-style .table-light > th,
.dark-style .table-light > td,
.dark-style thead.table-light,
.dark-style thead.table-light > tr > th,
.dark-style tfoot .table-light,
.dark-style tfoot .table-light > td,
.dark-style tr.table-light,
.dark-style tr.table-light > td,
.dark-style tr.table-light > th {
  --bs-table-bg: #1e2530;
  --bs-table-accent-bg: #1e2530;
  --bs-table-striped-bg: #252d3a;
  --bs-table-striped-color: #c5ced9;
  --bs-table-active-bg: #2a3340;
  --bs-table-active-color: #e8edf4;
  --bs-table-hover-bg: #252d3a;
  --bs-table-hover-color: #e8edf4;
  color: #e8edf4;
  background-color: #1e2530;
  border-color: #2a3340;
}

.dark-style .table-light .btn-icon {
  color: #c5ced9;
}

.dark-style .table thead th,
.dark-style .table th {
  color: #e8edf4;
  border-color: #2a3340;
}

.dark-style .push-notifications-page .push-notifications-table-viewport thead th,
.dark-style .push-notifications-page .card .push-notifications-table-viewport thead th {
  background-color: #171c24;
  box-shadow: inset 0 -1px 0 #2a3340;
}

.dark-style .page-link {
  color: #c5ced9;
  background-color: #1e2530;
  border-color: #2a3340;
}

.dark-style .page-link:hover {
  color: #e8edf4;
  background-color: #252d3a;
}

.dark-style .page-item.disabled .page-link {
  color: #6f7c8c;
  background-color: #171c24;
}

.dark-style .nav-tabs {
  border-bottom-color: #2a3340;
}

.dark-style .nav-tabs .nav-item .nav-link,
.dark-style .nav-tabs .nav-link {
  color: #8b97a8;
  background-color: transparent;
}

html.dark-style .nav-tabs .nav-item .nav-link:not(.active) {
  background-color: transparent !important;
  color: #8b97a8;
}

.dark-style .nav-tabs .nav-link:hover,
.dark-style .nav-tabs .nav-link:focus {
  border-color: #2a3340;
  color: #e8edf4;
}

html.dark-style .nav-tabs .nav-item .nav-link.active,
.dark-style .nav-tabs .nav-link.active,
.dark-style .nav-tabs .nav-item.show .nav-link {
  color: #a8b8ff !important;
  background-color: rgba(105, 108, 255, 0.16) !important;
  border-color: rgba(105, 108, 255, 0.4);
  border-bottom-color: #171c24;
}

.dark-style .nav-pills .nav-link {
  color: #8b97a8;
}

.dark-style .breadcrumb-item,
.dark-style .breadcrumb-item + .breadcrumb-item::before {
  color: #8b97a8;
}

.dark-style .progress {
  background-color: #252d3a;
}

.dark-style .btn-close {
  filter: invert(1) grayscale(100%) brightness(180%);
}

.dark-style .btn-outline-secondary {
  color: #c5ced9;
  border-color: #3a4554;
}

.dark-style .btn-outline-secondary:hover {
  color: #fff;
  background-color: #3a4554;
  border-color: #3a4554;
}

.dark-style .btn-secondary {
  background-color: #3a4554;
  border-color: #3a4554;
  color: #e8edf4;
}

.dark-style .btn-label-secondary,
.dark-style .bg-label-secondary {
  background-color: rgba(139, 151, 168, 0.16) !important;
  color: #c5ced9 !important;
}

.dark-style .bg-label-primary {
  background-color: rgba(105, 108, 255, 0.18) !important;
}

.dark-style .bg-label-success {
  background-color: rgba(113, 221, 55, 0.16) !important;
}

.dark-style .bg-label-info {
  background-color: rgba(3, 195, 236, 0.16) !important;
}

.dark-style .bg-label-warning {
  background-color: rgba(255, 171, 0, 0.16) !important;
}

.dark-style .bg-label-danger {
  background-color: rgba(255, 62, 29, 0.16) !important;
}

.dark-style .alert {
  border-color: transparent;
}

.dark-style .alert-primary {
  background-color: rgba(105, 108, 255, 0.16);
  color: #a8b8ff;
}

.dark-style .alert-secondary {
  background-color: rgba(139, 151, 168, 0.16);
  color: #c5ced9;
}

.dark-style .alert-success {
  background-color: rgba(113, 221, 55, 0.14);
  color: #9be86a;
}

.dark-style .alert-info {
  background-color: rgba(3, 195, 236, 0.14);
  color: #5ed7f0;
}

.dark-style .alert-warning {
  background-color: rgba(255, 171, 0, 0.14);
  color: #ffc44d;
}

.dark-style .alert-danger {
  background-color: rgba(255, 62, 29, 0.14);
  color: #ff7a66;
}

.dark-style .layout-navbar,
.dark-style .bg-navbar-theme,
.dark-style .layout-navbar.bg-navbar-theme {
  background-color: rgba(23, 28, 36, 0.92) !important;
  color: #c5ced9;
}

.dark-style .navbar-detached {
  box-shadow: 0 0 0.375rem 0.25rem rgba(0, 0, 0, 0.28);
}

.dark-style .bg-navbar-theme .nav-link,
.dark-style .bg-navbar-theme .navbar-nav > .nav-item > .nav-link {
  color: #c5ced9;
}

.dark-style .bg-menu-theme {
  background-color: #171c24 !important;
  color: #c5ced9;
}

.dark-style .bg-menu-theme .menu-link,
.dark-style .bg-menu-theme .menu-horizontal-prev,
.dark-style .bg-menu-theme .menu-horizontal-next {
  color: #c5ced9;
}

.dark-style .bg-menu-theme .menu-link:hover,
.dark-style .bg-menu-theme .menu-link:focus {
  color: #e8edf4;
}

.dark-style html:not(.layout-menu-collapsed) .bg-menu-theme .menu-inner .menu-item.open > .menu-link,
.dark-style .layout-menu-hover.layout-menu-collapsed .bg-menu-theme .menu-inner .menu-item.open > .menu-link,
.dark-style html:not(.layout-menu-collapsed) .bg-menu-theme .menu-inner .menu-item .menu-link:not(.active):hover,
.dark-style .layout-menu-hover.layout-menu-collapsed .bg-menu-theme .menu-inner .menu-item .menu-link:not(.active):hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.dark-style .bg-menu-theme .menu-item.open:not(.menu-item-closing) > .menu-toggle,
.dark-style .bg-menu-theme .menu-item.active > .menu-link,
.dark-style .bg-menu-theme .menu-link.active {
  color: #e8edf4;
}

.dark-style .bg-menu-theme .menu-inner > .menu-item.active > .menu-link,
html.dark-style .bg-menu-theme .menu-item.active > .menu-link:not(.menu-toggle) {
  color: #8ba4ff !important;
  background-color: rgba(105, 108, 255, 0.16) !important;
}

.dark-style .bg-menu-theme .menu-inner .menu-sub > .menu-item.active > .menu-link.menu-toggle {
  background-color: rgba(255, 255, 255, 0.05);
}

.dark-style .bg-menu-theme .menu-inner .menu-sub > .menu-item.active .menu-icon {
  color: #8ba4ff;
}

html.dark-style .bg-menu-theme .menu-sub > .menu-item.active > .menu-link:not(.menu-toggle):before {
  background-color: #696cff !important;
  border: 3px solid #171c24 !important;
}

html.dark-style .bg-menu-theme .menu-inner > .menu-item.open .menu-item.open > .menu-toggle::before,
html.dark-style .bg-menu-theme .menu-inner > .menu-item.open .menu-item.active > .menu-link::before {
  background-color: #696cff;
  box-shadow: 0 0 0 2px #171c24;
}

.dark-style .bg-menu-theme .menu-inner-shadow {
  background: linear-gradient(#171c24 41%, rgba(23, 28, 36, 0.11) 95%, rgba(23, 28, 36, 0));
}

.dark-style .bg-menu-theme.menu-vertical {
  box-shadow: 0 0.125rem 0.375rem 0 rgba(0, 0, 0, 0.35);
}

.dark-style .app-brand .layout-menu-toggle {
  border-color: #0f1218;
}

.tca-logo-dark {
  display: none;
}

.dark-style .tca-logo-light {
  display: none;
}

.dark-style .tca-logo-dark {
  display: inline-block;
}

.dark-style .bg-footer-theme {
  background-color: #0f1218 !important;
  color: #8b97a8;
}

.dark-style .bg-footer-theme .footer-link,
.dark-style .bg-footer-theme .footer-text {
  color: #8b97a8;
}

.dark-style .bg-footer-theme .footer-link:hover,
.dark-style .bg-footer-theme .footer-link:focus {
  color: #e8edf4;
}

.dark-style .layout-overlay.layout-menu-toggle {
  background: rgba(0, 0, 0, 0.55);
}

.dark-style .modal-backdrop {
  background-color: #000;
}

.dark-style .accordion-button {
  background-color: #171c24;
  color: #e8edf4;
}

.dark-style .accordion-button:not(.collapsed) {
  background-color: #1e2530;
  color: #e8edf4;
  box-shadow: inset 0 -1px 0 #2a3340;
}

.dark-style .accordion-button::after {
  filter: invert(1);
}

.dark-style code,
.dark-style kbd,
.dark-style pre,
.dark-style .form-control[readonly].font-monospace,
.dark-style .log-line {
  background-color: #12161d;
  color: #d7dee8;
  border-color: #2a3340;
}

.dark-style .partner-view-article {
  background: #171c24;
  border-color: #2a3340;
}

.dark-style .partner-view-article--rejected {
  background: #2a1c1c;
  border-color: #5a3030;
}

.dark-style .partner-view-empty {
  color: #8b97a8;
}

.dark-style .platform-stats-tabbed-card__tabs.nav-tabs {
  border-bottom-color: #2a3340;
}

.dark-style .platform-stats-tabbed-card__tabs.nav-tabs .nav-item .nav-link:not(.active) {
  background-color: transparent !important;
}

.dark-style .platform-stats-tabbed-card__tabs.nav-tabs .nav-link {
  color: #8b97a8;
}

.dark-style .platform-stats-tabbed-card__tabs.nav-tabs .nav-link:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: #e8edf4;
  border-color: #2a3340;
}

.dark-style .platform-stats-tabbed-card__tabs.nav-tabs .nav-link.active {
  color: #8ba4ff;
  background-color: rgba(105, 108, 255, 0.16) !important;
  border-color: rgba(105, 108, 255, 0.38);
}

.dark-style .table-sortable th.js-sort:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.dark-style .apexcharts-canvas .apexcharts-tooltip {
  background: #171c24;
  border-color: #2a3340;
  color: #e8edf4;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.4);
}

.dark-style .apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-title {
  background: #1e2530;
  border-color: #2a3340;
  color: #e8edf4;
}

.dark-style .apexcharts-legend-text {
  color: #8b97a8 !important;
}

.dark-style .apexcharts-yaxis-label,
.dark-style .apexcharts-xaxis-label,
.dark-style .apexcharts-yaxis-title text,
.dark-style .apexcharts-xaxis-title text {
  fill: #8b97a8 !important;
}

.dark-style .apexcharts-pie-label,
.dark-style .apexcharts-datalabels text {
  fill: #ffffff !important;
}

.dark-style .apexcharts-datalabel-label,
.dark-style .apexcharts-datalabel-value {
  fill: #e8edf4 !important;
}

.dark-style .apexcharts-gridline,
.dark-style .apexcharts-gridline-down {
  stroke: #2a3340 !important;
}

.dark-style .apexcharts-xaxis line,
.dark-style .apexcharts-yaxis line,
.dark-style .apexcharts-xaxis-tick {
  stroke: #2a3340 !important;
}

.dark-style .ck.ck-editor__main > .ck-editor__editable,
.dark-style .ck.ck-toolbar,
.dark-style .ck.ck-dropdown__panel,
.dark-style .ck.ck-reset_all {
  background: #12161d;
  color: #e8edf4;
  border-color: #2a3340;
}

.dark-style .ck.ck-editor__editable.ck-focused {
  border-color: #696cff !important;
  box-shadow: 0 0 0 0.15rem rgba(105, 108, 255, 0.2);
}

.dark-style .fc {
  --fc-page-bg-color: #171c24;
  --fc-neutral-bg-color: #1e2530;
  --fc-neutral-text-color: #8b97a8;
  --fc-border-color: #2a3340;
  --fc-today-bg-color: rgba(105, 108, 255, 0.16);
  --fc-page-text-color: #c5ced9;
  --fc-button-text-color: #e8edf4;
  --fc-button-bg-color: #1e2530;
  --fc-button-border-color: #2a3340;
  --fc-button-hover-bg-color: #252d3a;
  --fc-button-hover-border-color: #2a3340;
  --fc-button-active-bg-color: #252d3a;
  --fc-event-bg-color: #696cff;
  --fc-event-border-color: #696cff;
  --fc-event-text-color: #fff;
  --fc-more-link-text-color: #8ba4ff;
  --fc-list-event-hover-bg-color: rgba(255, 255, 255, 0.05);
  color: #c5ced9;
}

.dark-style .fc .fc-toolbar-title,
.dark-style .fc .fc-col-header-cell-cushion,
.dark-style .fc .fc-daygrid-day-number {
  color: #e8edf4;
}

.dark-style .fc .fc-daygrid-day-frame,
.dark-style .fc .fc-scrollgrid,
.dark-style .fc .fc-scrollgrid-section > td,
.dark-style .fc .fc-scrollgrid-section > th {
  background-color: #171c24;
}

.dark-style .fc .fc-day-today .fc-daygrid-day-frame {
  background-color: rgba(105, 108, 255, 0.16);
}

.dark-style .partner-calendar-day--past,
.dark-style .partner-calendar-day--past .fc-daygrid-day-frame {
  background-color: #12161d;
}

.dark-style .partner-calendar-day--past .fc-daygrid-day-number {
  color: #6f7c8c;
}

.dark-style .fc a {
  color: #8ba4ff;
}

.dark-style .authentication-wrapper.authentication-basic .authentication-inner .card {
  background-color: #171c24;
}

.dark-style .btn-google-signin {
  color: #e8edf4;
  background-color: #1e2530;
  border-color: #2a3340;
}

.dark-style .btn-google-signin:hover,
.dark-style .btn-google-signin:focus {
  color: #e8edf4;
  background-color: #252d3a;
  border-color: #2a3340;
}

.dark-style .ps__thumb-y,
.dark-style .ps__thumb-x {
  background-color: rgba(255, 255, 255, 0.22);
}
