body {
    margin: 0;
    padding: 0;
    font-family: "Sofia Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #F8F9FA;
}
.footer {
    margin-top: auto;
    text-align: left;
    position: relative;
    bottom: 0;
    width: 100%;
}
.footer p {
  padding: 16px;
}

/* Header styles */
.header {
    border-radius: 100px;
    margin: 24px 24px 0;
    padding: 16px;
}

/* Logo styles */
.logo {
    background-image: url(./../img/logo-light.svg);
    background-size: cover;
    width: 190px;
    height: 60px;
    margin-top: -13px;
    display: block; /* Added to make the logo visible */
}
.mobilelogo {
  background-image: url(./../img/logo-light.svg);
  background-size: cover;
  width: 190px;
  height: 60px;
  margin-top: -13px;
  display: block; 
}

/* Navigation bar styles */
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

/* Mobile menu toggle button styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    border-radius: 60px;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    height: 2px;
    width: 20px;
    margin: 2px 0;
    transition: 0.4s;
    border-radius: 2px;
}

/* Menu styles */
.menu {
    list-style: none;
    display: flex;
    margin-bottom: 12px;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 400;
    transition: 0.3s;
    line-height: 26px;
}

.menu a:hover {
    color: #ffd700;
}



/* Mobile current page */
.current-page {
    font-size: 20px;
    font-weight: 800;
    display: none;
    text-transform: uppercase;
    margin-left: 20px;
}

/* Theme toggle button styles */

.theme-toggle div {
    font-size: 0px;
    cursor: pointer;
}

#toggle-icon {
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 100px;
    width: 24px;
    height: 24px;
    padding: 18px;
}
/* Notifications */
#notifications-icon {
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 100px;
    width: 24px;
    height: 24px;
    padding: 18px;
    position: relative;
    cursor: pointer;
}

.notifications-dot {
    background-color: #9FE870;
    width: 7px;
    height: 7px;
    border-radius: 7px;
    position: absolute;
    right: 13px;
    top: 13px;
}
/* Exchange select */
.crypto-exchange {
    position: relative;
    cursor: pointer;
    padding: 11px;
}
#exchange-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
#exchange-icon img {
    width: 24px; 
    height: 24px;
    border-radius: 50%;
}

.exchange-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    border-radius: 28px;
    z-index: 1000;
    margin: 0;
    padding: 8px;
}

.exchange-menu li {
    list-style: none;
    margin-bottom: 3px;
    border-radius: 28px;
}
.exchange-menu li.current a,
.exchange-menu li.current a:hover {
  background: #9FE870!important;
  color: #1E241A;
}
.exchange-menu li img {
  width: 20px;
  height: 20px;
}
.exchange-menu li a {
    display: flex;
    align-items: center;
    justify-content: start;
    text-decoration: none;
    color: #333;
    border-radius: 50px;
    padding: 15px;
    gap: 10px;
}

.exchange-menu li a:hover {
    background-color: #f2f2f2;
}


/* User info styles */
.user-info {
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 7px;
}

.user-info-avatar {
    width: 46px;
    height: 46px;
}

.user-info-avatar img {
    width: 46px;
    height: 46px;
    border-radius: 46px;
}

#avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #512DA8;
  font-size: 15px;
  color: #fff;
  text-align: center;
  line-height: 45px;
}

.user-info-text {}

.user-info-topline {}

.user-info-bottomline {
    opacity: 0.5;
}

.user-info-toggle {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* Content styles */
.content {
    margin: 20px;
}

/* Widget container styles */
.widget-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Widget panel styles */
.widget-panel {
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
}
.widget-panel .widget-close-button {
  position: absolute;
  right: 13px;
  top: 13px;
  opacity: 0.1;
  transition: opacity 0.3s;
}
.widget-panel:hover .widget-close-button {
  opacity: 1;
}

.widget-panel:hover .widget-panel-wrapper {
    box-shadow: 0px 0px 10px #ebebeb;
}

.widget-panel-wrapper {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 16px;
}

.widget-panel.active .widget-shortcontent {
  margin-bottom: 0px;
}
.widget-shortcontent .decr,
.widget-shortcontent .incr {
  font-size: 16px;
}

.widget-compareto {
  font-size: 14px;
  font-weight: 300;
  margin: 5px 0 10px 0;
}
.widget-panel .widget-shortcontent .decr,
.widget-panel .widget-shortcontent .incr,
.widget-panel .widget-compareto {
  opacity: 0;
}

.widget-panel .widget-shortcontent table .decr,
.widget-panel .widget-shortcontent table .incr,
.widget-panel.active .widget-shortcontent .decr,
.widget-panel.active .widget-shortcontent .incr,
.widget-panel.active .widget-compareto {
  opacity: 1;
  transition: opacity 0.3s;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
}
.counter {
  background: #9FE870;
  color: #1E241A;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  display: inline-block;
  padding: 5px 0;
  min-width: 26.5px;
  text-align: center
}

.widget-currency {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.7;
}

.widget-value {
    font-size: 28px;
    font-weight: 600;
    display: flex;
}

/* Active widget styles */
.widget-panel.active .widget-panel-wrapper {}

/* Widget content styles */
.widget-content {
    display: none;
}

.widget-panel.active .widget-content {
    display: block;
}

/* Tables styling */
.cell-img {
    display: flex;
    align-items: center;
}

.cell-img img {
    width: 20px;
    margin-right: 10px;
}

/* Widget container-wide styles */
.widget-container-wide {
    width: 100%;
    box-sizing: border-box;
}





/* Asset table styles */
.dataTables_wrapper {
    overflow-x: auto; 
}
table.dataTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table.dataTable thead th, 
table.dataTable tfoot th {
  font-weight: 400!important;
  opacity: 0.8;
}
table.dataTable thead th.sorting_asc, 
table.dataTable tfoot th.sorting_asc,
table.dataTable thead th.sorting_desc, 
table.dataTable tfoot th.sorting_desc {
  font-weight: 600!important;
  opacity: 1;
}

table.dataTable th,
table.dataTable td {
    padding: 8px;
    text-align: left;
}
table.dataTable th:first-child,
table.dataTable td:first-child {
    padding-left: 0px;
}

table.dataTable th {
    background-color: #f2f2f2;
}
.incr {
  color: #34C759;
  white-space: nowrap;
}
.decr {
  color: #FF3B30;
  white-space: nowrap;
}
.incr .arrow {
  background-image: url(./../img/ico-up.svg);
  background-size: cover;
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-bottom: -3px;
}
.decr .arrow {
  background-image: url(./../img/ico-down.svg);
  background-size: cover;
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-bottom: -3px;
}
.dt-right {
  text-align: right!important;
  padding-right: 30px!important;
}
th.dt-right {
  padding-right: 30px!important;
}
table.dataTable.no-footer {
  border: none!important;
}
#assets_table th {
  background: transparent;
}
table.dataTable.hover>tbody>tr:hover>*, table.dataTable.display>tbody>tr:hover>*,
table.dataTable.stripe>tbody>tr.odd>*, 
table.dataTable.display>tbody>tr.odd>* {
  box-shadow: none!important;
}
table.dataTable.display>tbody>tr.even>.sorting_1, table.dataTable.order-column.stripe>tbody>tr.even>.sorting_1,
table.dataTable.display>tbody>tr.odd>.sorting_1, table.dataTable.order-column.stripe>tbody>tr.odd>.sorting_1 {
  box-shadow: none!important;
}
table.dataTable thead>tr>th.sorting_asc:before, table.dataTable thead>tr>th.sorting_desc:after, table.dataTable thead>tr>td.sorting_asc:before, table.dataTable thead>tr>td.sorting_desc:after {
  opacity: 1!important;
  color: #34C759;
}
table.dataTable thead>tr>th.sorting:before, table.dataTable thead>tr>th.sorting:after, table.dataTable thead>tr>th.sorting_asc:before, table.dataTable thead>tr>th.sorting_asc:after, table.dataTable thead>tr>th.sorting_desc:before, table.dataTable thead>tr>th.sorting_desc:after, table.dataTable thead>tr>th.sorting_asc_disabled:before, table.dataTable thead>tr>th.sorting_asc_disabled:after, table.dataTable thead>tr>th.sorting_desc_disabled:before, table.dataTable thead>tr>th.sorting_desc_disabled:after, table.dataTable thead>tr>td.sorting:before, table.dataTable thead>tr>td.sorting:after, table.dataTable thead>tr>td.sorting_asc:before, table.dataTable thead>tr>td.sorting_asc:after, table.dataTable thead>tr>td.sorting_desc:before, table.dataTable thead>tr>td.sorting_desc:after, table.dataTable thead>tr>td.sorting_asc_disabled:before, table.dataTable thead>tr>td.sorting_asc_disabled:after, table.dataTable thead>tr>td.sorting_desc_disabled:before, table.dataTable thead>tr>td.sorting_desc_disabled:after {
  font-size: .6em!important;
}

/* Buttons styling */

.btn {
  border-radius: 100px;
  padding: 15px 20px;
  text-align: center;
  border: none;
  font-family: "Sofia Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 16px;
  cursor: pointer;
}
.btn-action {
  background-color: #9FE870;
  color: #1E241A;
}
.btn-google {
  background-color: url(./../img/ico-google.svg);
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid #ddd;
}
.btn-action:hover {
  background-color: #80e142;
  color: #1E241A;
}


.btn-wide {
  width: 100%;
}

/* Form control styling */

.form-control {
  background-color: #fff;
  border: 1px solid #c9cbce;
  border-radius: 6px;
  font-weight: 400;
  letter-spacing: -.011em;
  line-height: 150%;
  padding: 12px 16px 10px;
  transition: border-color .15s ease-in-out;
  width: calc(100% - 40px);
  font-family: "Sofia Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  margin-bottom: 20px;
}

.form-control:not(.disabled,:disabled):focus-visible {
  border: 1px solid #1E241A;
  box-shadow: inset 0 0 0 1px #1E241A;
  outline: 0;
}
.form-control.error {
  border: 1px solid #FF0000;
  box-shadow: inset 0 0 0 1px #FF0000;
  outline: 0;
}
.error-message {
  color: #FF0000;
  margin-top: -10px;
  margin-bottom: 20px;
}



label {
  font-family: "Sofia Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  margin: 5px 0;
  display: block;
}

.swiper-wrapper {
  gap: 0px;
  padding-bottom: 40px;
}
.widget-container-carousel {
  margin-left: -20px!important;
  margin-right: -20px!important;
  padding-left: 20px!important;
  padding-right: 20px!important;
  position: relative;
}
.swiper-slide {
  padding-right: 20px;
}
.swiper-slide:last-child {
  padding-right: 0;
}
.swiper-pagination {
  bottom: 30px!important;
}
.swiper-pagination-bullet-active {
  background: #9FE870!important;
}




/* Media query for desktop */
@media (min-width: 1100px) {
    .widget-panel {
        width: 49.4%;
    }
    .widget-container-wide .widget-panel {
        width: 100%;
    }
    .menu .current a {
        font-weight: 800;
    }
    
    .menu .current a:after {
        content: '';
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background-color: #9FE870;
    }
    .widget-container-center .widget-panel {
      margin: 0 auto;
      width: 360px;
    }
    .widget-container-carousel {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 20px; 
    }
    
    .widget-container-carousel .widget-panel {
        flex: 1;
    }
    .swiper-wrapper {
      gap: 20px;
    }
    .swiper-slide {
      padding-right: 0;
    }
    #exchange-icon {
      width: 38px;
      height: 38px;
    }
}




/* Responsive styles for small screens */

  @media screen and (max-width: 1100px) {
    /* Mobile menu overlay styles */
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

    .header {
        border-radius: 100px;
        margin: 16px 16px 0;
        padding: 10px;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 200px;
        position: absolute;
        top: 94px;
        left: 32px;
        margin: 0;
        text-align: left;
        padding: 0;
        background-color: #fff;
        border-radius: 28px;
        z-index: 2;
        padding: 8px;
    }
    .dark-theme .menu {
      background-color: #2B3823;
    }

    .menu.active {
        display: flex;
    }
    .menu a {
      padding: 10px 20px;
      display: block;
      line-height: 25px;
    }
    .menu.active .current a {
        background: #9FE870;
        border-radius: 50px;
        font-weight: normal;
    }
    
    .dark-theme .menu.active .current a {
      color: #1E241A;
    }

    .menu li {
        margin: 0px 0;
    }

    .menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        z-index: 2;
    }
    
    #notifications-icon,
    #toggle-icon {
        padding: 11px;
        width: 20px;
        height: 20px;
    }

    .notifications-dot {
        right: 7px;
        top: 7px;
    }

    .current-page {
        margin-left: 10px;
    }

    .user-info {
        padding: 0;
    }

    .user-info-avatar img {
        width: 42px;
        height: 42px;
    }

    .user-info-avatar {
        width: 42px;
        height: 42px;
    }

    .current-page {
        display: block;
    }

    .logo {
        display: none;
    }

    .user-info-text {
        display: none;
    }

    .user-info-toggle {
        display: none;
    }
    .widget-container-center .widget-panel {
      margin: 0 auto;
      width: 100%;
    }
    
}

/* Responsive styles for ultra small screens */
@media screen and (max-width: 400px) {
  .current-page {
    display: none;
  }
}

/* @media screen and (max-width: 768px) { */




/* Dark theme styles */
.dark-theme {
    background-color: #474747;
    color: #fff;
}

.dark-theme .menu-toggle {
    background-color: #2B3823;
}

.dark-theme .menu-toggle span {
    background-color: #ffffff;
}

.dark-theme .logo {
    background-image: url(./../img/logo-dark.svg);
    background-size: cover;
}

.dark-theme .header {
    background-color: #1E241A;
}

.dark-theme .menu a {
    color: #ffffff;
}

.dark-theme #toggle-icon {
    background-color: #2B3823;
    background-image: url(./../img/sun.svg);
}

.dark-theme #notifications-icon {
    background-color: #2B3823;
    background-image: url(./../img/bing-dark.svg);
}

.dark-theme .crypto-exchange {
  background-color: #2B3823;
  border-radius: 50px;
}
.dark-theme .crypto-exchange:hover,
.dark-theme .menu-toggle:hover,
.dark-theme .user-info:hover,
.dark-theme #notifications-icon:hover,
.dark-theme #toggle-icon:hover {
    background-color: #384B2B;
    cursor: pointer;
    cursor: hand;
}

.dark-theme .user-info {
    background-color: #2B3823;
}

.dark-theme .user-info-toggle {
    background-image: url(./../img/dots-dark.svg);
}

.dark-theme .widget-panel-wrapper {
    background-color: #1E241A;
}

.dark-theme .widget-panel:hover .widget-panel-wrapper {
    box-shadow: 0px 0px 10px #1E241A;
}
.dark-theme table.dataTable.row-border>tbody>tr>th, 
.dark-theme table.dataTable.row-border>tbody>tr>td, 
.dark-theme table.dataTable.display>tbody>tr>th, 
.dark-theme table.dataTable.display>tbody>tr>td {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: none;
  border-left: none;
  border-right: none;
}
.dark-theme table.dataTable>thead>tr>th, 
.dark-theme table.dataTable>thead>tr>td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dark-theme .widget-panel .widget-close-button {
  background-image: url(./../img/ico-dark-arrow-square-down.svg);
  width: 24px;
  height: 24px;
  background-size: cover;
}
.dark-theme .widget-panel.active .widget-close-button {
  background-image: url(./../img/ico-dark-arrow-square-up.svg);
  width: 24px;
  height: 24px;
  background-size: cover;
}
.dark-theme .exchange-menu {
  background-color: #2B3823;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.dark-theme .exchange-menu li a {
  color: #fff;
}
.dark-theme .exchange-menu li.current a  {
  color: #1E241A;
}
.dark-theme .exchange-menu li a:hover {
  background-color: #1E241A;
}




/* Light theme styles */
.light-theme {
    background-color: #F8F9FA;
    color: #1E241A;
}

.light-theme .menu-toggle {
  background-color: #F8F9FA;
}
.light-theme .menu-toggle span {
background-color: #1E241A;
}
.light-theme .logo {
  background-image: url(./../img/logo-light.svg);
  background-size: cover;
}
.light-theme .header {
  background-color: #ffffff;
}
.light-theme .menu a {
  color: #1E241A;
}
.light-theme #toggle-icon {
  background-color: #F8F9FA;
  background-image: url(./../img/moon.svg);
}
.light-theme #notifications-icon {
  background-color: #F8F9FA;
  background-image: url(./../img/bing-light.svg);
}
.light-theme .menu-toggle:hover,
.light-theme .user-info:hover,
.light-theme #notifications-icon:hover,
.light-theme #toggle-icon:hover {
  background-color: #F4F4F4;
  cursor: pointer; 
  cursor: hand; 
}
.light-theme .user-info {
  background-color: #F8F9FA;
}
.light-theme .user-info-toggle {
  background-image: url(./../img/dots-light.svg);
}

.light-theme table.dataTable.row-border>tbody>tr>th, 
.light-theme table.dataTable.row-border>tbody>tr>td, 
.light-theme table.dataTable.display>tbody>tr>th, 
.light-theme table.dataTable.display>tbody>tr>td {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.light-theme table.dataTable th {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-top: none;
  border-left: none;
  border-right: none;
}
.light-theme .widget-panel .widget-close-button {
  background-image: url(./../img/ico-light-arrow-square-down.svg);
  width: 24px;
  height: 24px;
  background-size: cover;
}
.light-theme .widget-panel.active .widget-close-button {
  background-image: url(./../img/ico-light-arrow-square-up.svg);
  width: 24px;
  height: 24px;
  background-size: cover;
}
.light-theme .crypto-exchange {
  background-color: #F8F9FA;
  border-radius: 50px;
}
.light-theme .crypto-exchange:hover {
  background-color: #F4F4F4;
  cursor: pointer;
  cursor: hand;
}
.light-theme .exchange-menu {
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}










