@import url("http://fonts.googleapis.com/css?family=Overpass:300,400,600,700&amp;display=swap");
@import url("bootstrap.min.css");
@import url("ionicons.min.css");
@import url("jquery.mCustomScrollbar.min.css");

body {
  font-family: "Overpass", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #18214d;
  background: #ffffff;
  font-weight: 400;
}

a,
a:hover {
  text-decoration: none;
  transition: 0.3s;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.mtb100 {
  margin: 100px 0;
}

.mtb15 {
  margin: 15px 0;
}

.mt15 {
  margin-top: 15px;
}

.mb15 {
  margin-bottom: 15px;
}

.navbar-nav {
  margin-left: auto;
  align-items: center;
}

.ml15 {
  margin-left: 15px;
}

.mr15 {
  margin-right: 15px;
}

.mb30 {
  margin-bottom: 30px;
}

.ptb70 {
  padding: 70px 0;
}

.pt70 {
  padding-top: 70px;
}

.pb40 {
  padding-bottom: 40px;
}

::-webkit-scrollbar {
  background: transparent;
  width: 3px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.07);
  border: solid rgba(88, 88, 88, 0.12) 2px;
  border-radius: 5px;
}

.dropdown-toggle::after {
  vertical-align: 1px;
}

thead tr th {
  padding: 8px 15px !important;
}

thead th {
  color: #758696;
  font-size: 13px;
  font-weight: 600;
  border: 0 !important;
}

tbody tr {
  color: #4a4a4a;
}

tbody tr:hover {
  background: #f6f8f9;
}

.input-group-text,
.form-control {
  border-radius: 5px;
}

.table tbody + tbody {
  border: none;
}

.heading {
  background: #f5f9fc;
  font-size: 14px;
  font-weight: 400;
  padding: 13px;
  margin: 0;
  color: #4a4a4a;
}

.green {
  color: #26de81;
}

.red {
  color: #ff231f;
}

.table td,
.table th {
  border-top: 1px solid #f0f3fa;
}

.light-bb,
.input-group-text {
  border: 1px solid #e0e3eb;
}

.dark-bb {
  border-bottom: 1px solid #2a2e39;
}

#darkDepthChart,
#lightDepthChart {
  width: 100%;
  height: 349px;
}

.sm-gutters {
  padding-left: 7.5px;
  padding-right: 7.5px;
}

.sm-gutters > .col,
.sm-gutters > [class*="col-"] {
  padding-right: 7.5px;
  padding-left: 7.5px;
}

.form-control::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #18214d59;
}

.form-control::-moz-placeholder {
  /* Firefox 19+ */
  color: #18214d59;
}

.form-control:-ms-input-placeholder {
  /* IE 10+ */
  color: #18214d59;
}

.form-control:-moz-placeholder {
  /* Firefox 18- */
  color: #18214d59;
}

.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: none;
}

.btn {
  font-weight: 600;
}

.btn-1,
.btn-2 {
  display: inline-block;
  background: transparent;
  color: #007bff;
  border: 1px solid #007bff;
  border-radius: 5px;
  padding: 9px 25px;
  margin-left: 15px;
}

.btn-1:hover,
.btn-2:hover {
  background: #0069d9;
  color: #fff;
  text-decoration: none;
}

.btn-2 {
  background: #007bff;
  color: #fff;
}

.bt-none {
  border-top: none !important;
}

@keyframes pulse {
  0% {
    opacity: 1;
    width: 7px;
    height: 7px;
    left: 0;
    top: 0;
  }

  95% {
    opacity: 0.1;
    left: -10.5px;
    top: -10.5px;
    width: 28px;
    height: 28px;
  }

  100% {
    opacity: 0;
    width: 7px;
    height: 7px;
    left: 0;
    top: 0;
  }
}

@keyframes slideIn {
  0% {
    transform: translateY(1rem);
    opacity: 0;
  }

  100% {
    transform: translateY(0rem);
    opacity: 1;
  }

  0% {
    transform: translateY(1rem);
    opacity: 0;
  }
}

header nav a {
  color: #18214d;
}

header nav a:hover {
  color: #007bff;
}

header .navbar-brand {
  padding: 0;
}

header .navbar-brand img {
  height: 35px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 1rem;
  padding-left: 1rem;
}

header nav .nav-item.active a {
  color: #007bff;
}

header .nav-link.btn {
  padding: 5px 0;
}

.circle-pulse {
  background: #0089ff;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  position: absolute;
  right: 12px;
  top: 12px;
}

.circle-pulse:after {
  background-color: #0089ff;
  content: "";
  display: table;
  border-radius: 50%;
  position: absolute;
  animation-name: pulse;
  animation-duration: 0.9s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
}

/* Стиль только для десктопа (от 992px и выше) */
@media (min-width: 992px) {
  .header-custom-icon .nav-link {
    line-height: 1;
    margin-top: 3px;
    padding: 8px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
  }

  .header-custom-icon .nav-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.05);
  }

  .header-custom-icon .nav-link i {
    color: #ffffff !important;
    font-size: 18px;
    line-height: 1;
    margin: 0;
    position: relative;
    top: 1px;
  }
}

.dropdown-item {
  color: #18214d;
  font-size: 14px;
}

.dropdown-item:focus,
.dropdown-item:active {
  background-color: #f8f9fa;
  color: #16181b;
}

.header-img-icon .nav-link.dropdown-toggle {
  padding-right: 0;
}

.header-custom-icon a:after,
.header-img-icon a:after {
  display: none;
}

.header-custom-icon .dropdown-menu,
.header-img-icon .dropdown-menu {
  padding: 0;
  margin-top: 8px;
}

.dropdown-menu {
  max-width: 280px;
  position: absolute;
  right: 0;
  left: auto;
  border-radius: 5px;
  margin-top: 12px;
  border: 1px solid #f2f4f9;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 14px -6px;
  animation-duration: 0.3s;
  animation-fill-mode: both;
  animation-name: slideIn;
}

.dropdown-menu::before {
  content: "";
  width: 13px;
  height: 13px;
  background: #fff;
  position: absolute;
  top: -8px;
  right: 5%;
  transform: rotate(45deg);
  border-top: 1px solid #f2f4f9;
  border-left: 1px solid #f2f4f9;
  z-index: -1;
}

.dropdown-menu p {
  color: #18214d;
  font-weight: 600;
}

.dropdown-menu a:hover {
  text-decoration: none;
}

.dropdown-menu a.text-muted:hover {
  color: #007bff !important;
}

.header-img-icon .nav-link img {
  width: 30px;
  height: 30px;
  transition: all 0.3s ease;
}

.header-img-icon .nav-link:hover img {
  transform: scale(1.05);
}

.header-custom-icon i {
  font-size: 20px;
  color: #758696;
}

.dropdown-header {
  padding: 12px 20px;
  font-size: 13px;
  border-bottom: 1px solid #f2f4f9;
}

.dropdown-body {
  padding: 5px;
  max-height: 290px;
  position: relative;
}
.dropdown-body .dropdown-item {
  display: flex;
  align-items: center;
  padding: 9px 16px;
}

.dropdown-body .dropdown-item .content {
  margin-left: 15px;
  width: 200px;
  white-space: normal;
}

.dropdown-item .icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
}

.dropdown-body .dropdown-item .content p {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
}

.dropdown-body .dropdown-item .content p.sub-text {
  font-size: 12px;
}

.dropdown-footer {
  padding: 10px 20px;
  border-top: 1px solid #f2f4f9;
  font-size: 14px;
}

.dropdown-item:nth-child(1) .icon {
  background: rgba(114, 124, 245, 0.1);
}

.dropdown-item:nth-child(1) .icon i {
  color: #727cf5;
}

.dropdown-item:nth-child(2) .icon {
  background: rgba(255, 51, 102, 0.1);
}

.dropdown-item:nth-child(2) .icon i {
  color: #ff5680;
}

.dropdown-item:nth-child(3) .icon {
  background: rgba(102, 209, 209, 0.1);
}

.dropdown-item:nth-child(3) .icon i {
  color: #66d1d1;
}

.dropdown-item:nth-child(4) .icon {
  background: rgba(251, 188, 6, 0.1);
}

.dropdown-item:nth-child(4) .icon i {
  color: #fbbc06;
}

.dropdown-item:nth-child(5) .icon {
  background: rgba(16, 183, 89, 0.1);
}

.dropdown-item:nth-child(5) .icon i {
  color: #10b759;
}

.header-img-icon .dropdown-header {
  padding: 0px 20px;
}

.header-img-icon .profile-nav .nav-item .nav-link {
  font-size: 14px;
  padding: 5px 20px;
}

.header-img-icon .profile-nav .nav-item .nav-link:hover {
  color: #18214d;
  background-color: #f8f9fa;
}

.header-img-icon .profile-nav .nav-item .nav-link.red {
  color: #f74745;
}

.header-img-icon .profile-nav .nav-item .nav-link.red:hover {
  color: #f74745 !important;
}

.header-img-icon .dropdown-body {
  padding: 10px 0 0;
}

.header-img-icon .dropdown-header .name {
  font-size: 16px;
}

.header-img-icon .dropdown-header {
  padding: 20px 20px 0;
}

.header-img-icon .profile-nav .nav-item .nav-link i {
  margin-right: 15px;
}

.landing-hero h2 {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
}

.landing-hero {
  margin: 100px 0;
}

.landing-hero p {
  font-size: 16px;
  margin: 15px 0 40px;
}

.landing-hero input {
  padding: 26px 20px;
}

.landing-hero button {
  padding: 13px 20px;
}

.landing-info-one h2 {
  font-size: 30px;
  font-weight: 700;
}

.landing-info-one ul li i {
  color: #26de81;
  font-size: 22px;
  margin-right: 8px;
}

.landing-info-one ul li {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-top: 10px;
}

.landing-info-one p {
  margin: 15px 0 30px;
}

.landing-info-one-bg {
  background: url(../img/landing/dash-preview.png) no-repeat right 50%/48%;
}

.visible-mobile {
  display: none;
}

.landing-feature {
  text-align: center;
  border-top: 1px solid #e0e3eb;
  padding: 100px 0;
}

.landing-feature h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 50px;
}

.landing-feature-item {
  border: 1px solid #f2f4f9;
  box-shadow: #00000033 0px 2px 14px -6px;
  padding: 40px 20px;
  border-radius: 5px;
}

.landing-feature-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
}

.landing-feature-item h3 {
  font-size: 20px;
}

.landing-number {
  background: #007bff;
  text-align: center;
  color: #fff;
  padding: 40px 0;
}

.landing-number h2,
.landing-number p {
  margin: 0;
}

.landing-number h2 {
  font-size: 60px;
  font-weight: 700;
}

.landing-number p {
  color: #ffffffb0;
  font-size: 16px;
}

.landing-feature-item p {
  margin-top: 15px;
}

.landing-feature.landing-start {
  border: none;
}

.landing-start .landing-feature-item span {
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 120px;
  opacity: 0.07;
  line-height: 1;
  text-align: center;
}

.landing-sub {
  background: url(../img/landing/sub-bg.jpg) no-repeat center center/cover;
  padding: 100px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.landing-sub-content h2 {
  color: #fff;
  font-size: 36px;
}

.landing-sub:after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  background: #0000003d;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.landing-sub-content a {
  color: #fff;
  border: 1px solid #fff;
  display: inline-block;
  font-size: 22px;
  padding: 10px 30px;
  border-radius: 5px;
  margin-top: 30px;
}

.landing-sub-content a:hover {
  background: #0069d9;
  border: 1px solid #0069d9;
}

footer.landing-footer img {
  width: 80px;
}

footer.landing-footer ul li {
  display: inline-block;
}

footer.landing-footer ul li a {
  color: #18214d;
  margin-left: 25px;
}

footer.landing-footer {
  padding: 10px 0;
}

footer.landing-footer ul li a:hover {
  color: #007bff;
}

.landing-coin-price {
  padding: 100px 0 80px;
}

footer.landing-footer-two {
  background: #fafbfc;
  padding: 50px 0;
  border-top: 1px solid #e0e3eb;
}

footer.landing-footer-two img {
  width: 120px;
}

footer.landing-footer-two p {
  margin: 20px 0;
}

footer.landing-footer-two .social-icon li {
  display: inline-block;
}

footer.landing-footer-two .social-icon li a {
  color: #18214d;
  font-size: 25px;
  margin-right: 15px;
}

footer.landing-footer-two .social-icon li:last-child a {
  margin-right: 0;
}

footer.landing-footer-two h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

footer.landing-footer-two ul li a {
  color: #18214d;
  margin-top: 5px;
  display: block;
}

footer.landing-footer-two ul li a:hover {
  color: #007bff;
}

.market-pairs {
  border-radius: 2px;
  padding-top: 14px;
  border-radius: 2px;
}

.market-pairs .input-group {
  padding: 0 14px;
}

.market-pairs span {
  background: transparent;
}

.market-pairs input {
  border-color: #e0e3eb;
  border-left: 0;
  font-weight: 300;
}

.market-pairs input:focus {
  box-shadow: none;
  border-color: #e0e3eb;
}

.market-pairs .nav {
  margin-top: 14px;
  background: #f5f9fc;
}

.market-pairs .nav-link {
  color: #4a4a4a;
  padding: 10px 13px;
}

.market-pairs .nav-link.active {
  color: #007bff;
  background: transparent;
}

.table {
  margin-bottom: 0;
}

.table td {
  font-size: 13px;
  padding: 10px 18px;
}

.market-pairs tbody tr td i {
  color: #75869696;
}

#STAR i {
  color: #007bff;
}

.market-pairs thead tr th,
.market-pairs tbody tr td {
  cursor: pointer;
  font-weight: 400;
}

.market-pairs tbody {
  height: 700px;
  overflow-y: auto;
  display: block;
}

.no-fluid .market-pairs tbody {
  height: 700px;
}

.market-pairs table,
.market-pairs tr {
  width: 100%;
  table-layout: fixed;
}

.market-pairs tr {
  float: left;
  clear: both;
  overflow: hidden;
}

.market-pairs thead th,
.market-pairs tbody td {
  width: 50%;
}

.order-book table,
.order-book tr,
.order-book td,
.order-book th {
  width: 100%;
  table-layout: fixed;
}

.order-book tr {
  float: left;
  clear: both;
  overflow: hidden;
}

.order-book .table thead th {
  font-weight: 400;
  font-size: 12px;
}

.order-book thead tr {
  border-bottom: 1px solid #e0e3eb;
}

.order-book tbody tr,
.order-book tbody td {
  border: none;
}

.order-book {
  border: 1px solid #e0e3eb;
  border-radius: 2px;
}

.red-bg-80,
.red-bg-60,
.red-bg-40,
.red-bg-20,
.red-bg-10,
.red-bg-8,
.red-bg-5,
.red-bg,
.green-bg-80,
.green-bg-60,
.green-bg-40,
.green-bg-20,
.green-bg-10,
.green-bg-8,
.green-bg-5,
.green-bg {
  position: relative;
}

.red-bg-80:after,
.red-bg-60:after,
.red-bg-40:after,
.red-bg-20:after,
.red-bg-10:after,
.red-bg-8:after,
.red-bg-5:after,
.red-bg:after {
  position: absolute;
  content: "";
  background: #de262663;
  right: 0;
  top: 0;
  width: 280px;
  height: 45px;
}

.red-bg-60:after {
  width: 240px;
}

.red-bg-40:after {
  width: 200px;
}

.red-bg-20:after {
  width: 160px;
}

.red-bg-10:after {
  width: 120px;
}

.red-bg-8:after {
  width: 80px;
}

.red-bg-5:after {
  width: 50px;
}

.red-bg:after {
  width: 30px;
}

.green-bg-80:after,
.green-bg-60:after,
.green-bg-40:after,
.green-bg-20:after,
.green-bg-10:after,
.green-bg-8:after,
.green-bg-5:after,
.green-bg:after {
  position: absolute;
  content: "";
  background: #26de8163;
  right: 0;
  top: 0;
  width: 280px;
  height: 45px;
}

.green-bg-60:after {
  width: 240px;
}

.green-bg-40:after {
  width: 200px;
}

.green-bg-20:after {
  width: 160px;
}

.green-bg-10:after {
  width: 120px;
}

.green-bg-8:after {
  width: 80px;
}

.green-bg-5:after {
  width: 50px;
}

.green-bg:after {
  width: 30px;
}

.ob-heading span {
  color: #4a4a4a;
  display: block;
  font-size: 12px;
  font-weight: 400;
}

.ob-heading td {
  padding: 5px 12px;
  cursor: default;
}

.ob-heading tr {
  border-top: 1px solid #f0f3fa !important;
  border-bottom: 1px solid #f0f3fa !important;
}

.ob-heading tr:hover {
  background: #fff;
}

.ob-heading td:first-child {
  width: 65%;
}

.order-book tbody {
  display: block;
  overflow-y: auto;
  height: 211px;
}

tbody.ob-heading {
  height: inherit;
}

.market-trade input {
  border: 1px solid #e0e3eb;
  font-weight: 300;
}

.market-trade input:focus {
  box-shadow: none;
  border-color: #e0e3eb;
}

.market-trade {
  border: 1px solid #e0e3eb;
  border-radius: 2px;
}

.market-trade .tab-content {
  overflow-y: auto;
  padding: 14px;
}

.market-trade .nav {
  padding: 14px 14px 0;
}

.market-trade .nav .nav-item .nav-link.active {
  background: #fff;
  color: #007bff;
}

.market-trade .nav .nav-item .nav-link {
  color: #4a4a4a;
  padding: 0;
}

.market-trade .input-group-text {
  background: #eff2f6;
  color: #4a4a4a;
  font-weight: 300;
}

.market-trade .input-group {
  margin-bottom: 14px;
}

.market-trade .nav-item {
  margin-right: 30px;
}

.market-trade-list li a {
  background: #eff2f6;
  color: #4a4a4a;
  font-weight: 300;
  padding: 3px 15px;
  border-radius: 5px;
}

.market-trade-list li {
  display: inline-block;
  margin-right: 7px;
  margin-bottom: 7px;
}

.market-trade-list li:last-child {
  margin-right: 0;
}

.market-trade-buy .market-trade-list li a:hover {
  text-decoration: none;
  background: #26a69a;
  color: #fff;
}

.market-trade-sell .market-trade-list li a:hover {
  text-decoration: none;
  background: #ef5350;
  color: #fff;
}

.market-trade button.buy,
.market-trade button.sell {
  background: #26de81;
  color: #fff;
  text-transform: uppercase;
  padding: 10px;
  margin-top: 30px;
  width: 100%;
  box-shadow: 0px 0px 15px 0px #26de81ad;
}

.market-trade button.sell {
  background: #ff231f;
  box-shadow: 0px 0px 15px 0px #ff231fad;
}

.market-trade p {
  margin: 5px 0;
  font-size: 13px;
  color: #4a4a4a;
}

.market-trade p span {
  float: right;
}

.market-trade-list {
  margin-bottom: 23px;
}

.market-trade-item {
  width: 100%;
}

.market-trade-buy,
.market-trade-sell {
  width: 100%;
}

.market-trade-buy {
  padding: 0 15px 0 0;
}

.market-trade-sell {
  padding: 0 0 0 15px;
  border-left: 1px solid #e0e3eb;
}

.market-history .nav {
  background: #f5f9fc;
}

.market-history .nav-link {
  color: #4a4a4a;
  padding: 10px 13px;
}

.market-history .nav-link.active {
  color: #007bff;
  background: transparent;
}

.market-history thead tr th,
.market-history tbody tr td {
  cursor: pointer;
  font-weight: 400;
}

.market-history tbody {
  height: 315px;
  overflow-y: auto;
  display: block;
}

.market-history table,
.market-history tr,
.market-history td,
.market-history th {
  width: 100%;
  table-layout: fixed;
}

.market-history tr {
  float: left;
  clear: both;
  overflow: hidden;
}

.market-history {
  border: 1px solid #e0e3eb;
  border-radius: 2px;
}

.market-news {
  border: 1px solid #e0e3eb;
  border-radius: 2px;
}

.market-news li a {
  color: #4a4a4a;
  font-size: 11px;
  display: block;
  text-decoration: none;
}

.market-news li:hover {
  background: #f6f8f9;
}

.market-news li strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
  color: #4a4a4ac7;
}

.market-news li span {
  display: block;
  margin-top: 5px;
}

.market-news li {
  border-bottom: 1px solid #f0f3fa;
  padding: 10px 13px;
}

.market-news li:last-child {
  border: 0;
}

.market-news ul {
  height: 348px;
  overflow-y: auto;
}

.market-order th {
  width: 13%;
}

.no-data {
  position: absolute;
  right: 48%;
  top: 48%;
  text-align: center;
  color: #b9c2ca;
}

.no-data i {
  font-size: 100px;
  display: block;
  line-height: 0px;
  color: #dce1e5;
}

/* Карточки сделок как на скриншоте */
.market-order {
  background: transparent;
  border: none;
}

.trade-card {
  background: #1e222d;
  border-radius: 5px;
  padding: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
  color: #ffffff;
  font-family: "Overpass", sans-serif;
}

.trade-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.trade-pair {
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  margin: 0;
}

.trade-datetime {
  font-size: 14px;
  color: #6b7280;
  margin-top: 5px;
}

.trade-id-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trade-id {
  font-size: 14px;
  color: #6b7280;
}

.trade-type-badge {
  background: #26de81;
  color: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.trade-type-badge.sell {
  background: #ff231f;
}

.trade-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.trade-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trade-label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 400;
}

.trade-value {
  font-size: 14px;
  color: #ffffff;
  font-weight: 400;
  text-align: right;
}

.trade-value.status {
  color: #26de81;
}

/* Стили для кнопок действий в стиле сайта */
.trade-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  padding: 6px 12px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 1px solid;
  font-family: "Overpass", sans-serif;
}

.action-btn.edit-btn {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.action-btn.edit-btn:hover {
  background: #0056b3;
  border-color: #0056b3;
  color: white;
  text-decoration: none;
}

.action-btn.close-btn {
  background: #ff231f;
  color: white;
  border-color: #ff231f;
}

.action-btn.close-btn:hover {
  background: #dc1f1a;
  border-color: #dc1f1a;
  color: white;
  text-decoration: none;
}

.markets-chart > div {
  width: 110%;
  margin-left: -16px;
}

.markets-container {
  position: relative;
  overflow: hidden;
  height: 159px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.04);
  border-radius: 5px;
  margin-bottom: 30px;
}

.markets-chart {
  position: absolute;
  top: 40px;
  width: 100%;
  left: 0;
}

.markets-content span.green,
.markets-content span.red {
  position: absolute;
  right: 0;
  background: #26a69a;
  color: #fff;
  top: 15px;
  padding: 3px 12px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  font-weight: 600;
}

.markets-content span.red {
  background: #ef5350;
}

.markets-content h2 {
  font-size: 14px;
  top: 14px;
  position: absolute;
  left: 15px;
  color: #4a4a4a;
}

.markets-content p {
  position: absolute;
  top: 32px;
  left: 15px;
  font-size: 16px;
}

.markets-pair-list tr {
  cursor: pointer;
}

.markets-pair-list th,
.markets-pair-list td {
  padding: 15px !important;
  width: 16%;
  font-size: 14px;
}

.markets-pair-list tbody tr td i {
  color: #75869696;
}

.markets-pair-list .nav-link.active {
  color: #007bff;
  background: transparent;
}

.markets-pair-list .nav-link {
  color: #4a4a4a;
}

.markets-pair-list .nav {
  background: #f5f9fc;
  padding: 7px 0;
}

.markets-pair-list th {
  font-weight: 400;
}

.markets-pair-list td img {
  width: 18px;
  vertical-align: text-top;
  margin-right: 5px;
}

.markets-pair-list .load-more {
  border: 1px solid #e0e3eb;
  display: inline-block;
  padding: 11px 30px 8px;
  color: #4a4a4a;
  margin-top: 50px;
  transition: 0.3s;
}

.markets-pair-list .load-more i {
  margin-left: 10px;
}

.markets-pair-list .load-more:hover {
  background: #007bff;
  color: #fff;
  border: 1px solid #007bff;
}

.markets-item {
  margin-bottom: 30px;
}

.markets-capital-item {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 14px -6px;
  padding: 40px 0 0 0;
  text-align: center;
  border-radius: 5px;
  border: 1px solid #f2f4f9;
  height: 311px;
  margin-bottom: 30px;
}

.markets-capital-chart {
  margin-left: -10px;
}

.markets-capital-item img {
  width: 25px;
  margin-top: -3px;
  margin-right: 2px;
}

.markets-capital-item h4 {
  margin-top: 16px;
  margin-bottom: 15px;
  font-size: 20px;
}

.markets-capital-item h2 {
  font-size: 26px;
}

.markets-capital-details h3 {
  font-size: 18px;
  margin-bottom: 40px;
}

.market-capital-ticker .markets-capital-item {
  height: 96.2%;
  margin-bottom: 5px;
}

.form-access form {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 14px -6px;
  border-radius: 5px;
  padding: 30px;
  border: 1px solid #f2f4f9;
  min-width: 350px;
}

.form-access .form-group input {
  border: 1px solid #e0e3eb;
  height: 45px;
  color: #18214d;
  font-size: 14px;
}

.form-access .form-group input:focus {
  box-shadow: none;
}

.form-access a:hover {
  text-decoration: none;
}

.form-access span {
  text-align: center;
  display: block;
  font-size: 22px;
  margin-bottom: 15px;
  margin-top: -5px;
  font-weight: 600;
}

.form-access .text-right {
  margin-top: -5px;
  font-weight: 600;
}

.form-access button {
  width: 100%;
  padding: 12px;
  font-weight: 600;
  margin-top: 20px;
}

.form-access .custom-control-label::before,
.form-access .custom-control-label::after {
  top: 2px;
}

.form-access .custom-control-label::before {
  border: #cbd2df solid 1px;
}

.form-access h2 {
  font-size: 14px;
  text-align: center;
  margin-top: 20px;
}

.form-access h2 a {
  font-weight: 600;
}

.error-page h2 {
  font-size: 250px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1;
}

.error-page p {
  font-size: 16px;
  margin-bottom: 40px;
}

.error-page a {
  border: 1px solid #e0e3eb;
  display: inline-block;
  padding: 11px 30px 8px;
  color: #4a4a4a;
  transition: 0.3s;
}

.error-page a:hover {
  background: #007bff;
  color: #fff;
  border: 1px solid #007bff;
}

.error-page a i {
  margin-left: 10px;
}

.technical-analysis .tradingview-widget-container {
  margin-bottom: 30px;
}

.symbol-info .tradingview-widget-container {
  margin-bottom: 15px;
}

.markets-overview .tradingview-widget-container {
  margin-bottom: 30px;
}

.settings .card {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 14px -6px;
  border-radius: 5px;
  border: none;
  margin-bottom: 15px;
}

.settings-nav {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 14px -6px;
  border-radius: 5px;
}

.settings-nav .nav-link {
  border-radius: 0;
  text-transform: uppercase;
  color: #18214d;
  font-weight: 600;
  margin: 2px 0;
  padding: 10px 20px;
}

.settings-nav .nav-link i {
  margin-right: 10px;
}

.settings .card-title {
  font-size: 16px;
  margin-bottom: 30px;
}

.settings-profile .col-md-6 {
  margin-bottom: 20px;
}

.settings-profile input,
.settings-profile select {
  border: 1px solid #e0e3eb;
  border-radius: 5px;
  font-size: 14px;
  height: 45px;
}

.settings-profile input[type="submit"] {
  background: #007bff;
  color: #fff;
  font-weight: 600;
  padding: 10px 25px;
  height: inherit;
  font-size: 16px;
  margin-top: 10px;
}

.settings-profile input[type="submit"]:hover {
  background-color: #0069da;
}

.settings-profile .custom-file {
  display: inline-block;
  width: 20%;
  margin-left: 20px;
}

.settings-profile .custom-file label {
  border: 1px solid #e0e3eb;
}

.settings-profile .custom-file label:after {
  background: #007bff;
  color: #fff;
  font-weight: 600;
}

.settings .wallet .nav-pills img {
  width: 40px;
  height: 40px;
  margin-right: 15px;
}

.settings .wallet .nav-pills h2 {
  margin-bottom: 0;
  line-height: 1;
  color: #18214d;
  font-size: 22px;
}

.settings .wallet .nav-pills p {
  margin-bottom: 0;
  color: #18214d;
}

.settings .wallet .nav-pills a.active {
  background: #0f7dff;
}

.settings .wallet .nav-pills a {
  border-top: 1px solid #f0f3fa;
  padding: 15px;
}

.settings .wallet .nav-pills a:first-child,
.settings-nav .nav-link:first-child {
  border-top: 0;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

.settings .wallet .nav-pills a:last-child,
.settings .settings-nav .nav-link:last-child {
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.settings .wallet .nav-pills h3 {
  color: #18214d;
  margin-bottom: 0;
}

.settings .wallet .nav-pills {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 14px -6px;
  border-radius: 5px;
}

.settings .wallet .nav-pills a {
  border-radius: 0;
}

.settings .wallet .nav-pills a.active h2,
.settings .wallet .nav-pills a.active h3,
.settings .wallet .nav-pills a.active p {
  color: #ffffff;
}

.settings .wallet .tab-content li i {
  font-size: 22px;
  color: #0f7dff;
  background: rgba(15, 125, 255, 0.13);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  text-align: center;
  line-height: 45px;
  margin-right: 15px;
}

.settings .wallet .tab-content h2 {
  margin-bottom: 0;
  font-size: 18px;
}

.settings .wallet .tab-content h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.settings .wallet .tab-content li:first-child {
  border-bottom: 1px solid #f0f3fa;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.btn-dep-green {
  background: #26de81;
  color: #ffffff;
  box-shadow: 0px 0px 15px 0px #26de81ad;
  padding: 12px 20px;
}

.btn-dep-green:hover {
  color: white;
  box-shadow: 0px 0px 25px 0px #26de81ad;
}

.btn-dep-green:focus {
  box-shadow: none;
}

.settings .wallet .tab-content button.green {
  background: #26de81;
  color: #ffffff;
  box-shadow: 0px 0px 15px 0px #26de81ad;
}

.settings .wallet .tab-content button.green:hover {
  box-shadow: none;
}

.settings .wallet .tab-content button.red {
  background: #ff231f;
  box-shadow: 0px 0px 15px 0px #ff231fad;
  color: #ffffff;
}

.settings .wallet .tab-content button.red:hover {
  box-shadow: 0px 0px 20px 0px #ff231fad;
}

.settings .wallet .tab-content button {
  padding: 12px 20px;
}

.settings .wallet .tab-content button:focus {
  box-shadow: none;
}

.settings .wallet .tab-content ul {
  margin: 0 0 40px;
}

.settings .wallet-address input {
  padding: 25px 15px;
  font-size: 14px;
}

.settings .wallet-address .input-group-prepend button {
  padding: 13px 20px;
  border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}

.settings .wallet-address input {
  border: 1px solid #e0e3eb;
}

.settings .wallet-history i {
  margin-left: 14px;
}

.settings .wallet-address .input-group {
  padding-top: 30px;
}

.settings .wallet .tab-content h2.wallet-title {
  color: #18214d;
  font-size: 16px;
}

.settings-notification li {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #f0f3fa;
  align-items: center;
}

.settings-notification li:first-child {
  padding-top: 0;
}

.settings-notification li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.settings-notification li span {
  color: #18214d59;
}

.settings-notification li p {
  margin-bottom: 0;
}

.settings .custom-control-label {
  cursor: pointer;
}

.wallet-history .ion-md-trash {
  font-size: 16px;
  cursor: pointer;
}

.wallet-history {
  overflow-x: auto;
}

#dark,
#dark header {
  background: #131722;
}

#dark header nav a {
  font-weight: 600;
  color: #ffffff;
}

#dark header nav a:hover {
  color: #007bff;
}

#dark header nav a.btn:hover {
  color: #ffffff;
}

#dark header nav .nav-item.active a {
  color: #007bff;
}

#dark .market-pairs {
  background: #131722;
}

#dark tr {
  background: #131722;
}

#dark .market-pairs .table td,
#dark .market-pairs .table th,
#dark .landing-feature {
  border-top: 1px solid #2a2e39;
}

#dark .market-history .table td,
#dark .market-history .table th {
  border-top: 1px solid #2a2e39;
}

#dark .order-book thead tr {
  border-bottom: 1px solid #2a2e39;
}

#dark .order-book,
#dark .market-history,
#dark .market-news,
#dark .landing-feature-item {
  border: 1px solid #2a2e39;
}

#dark tbody tr:hover {
  background: #2a2e39;
}

#dark .form-control::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #69727a;
}

#dark .form-control::-moz-placeholder {
  /* Firefox 19+ */
  color: #69727a;
}

#dark .form-control:-ms-input-placeholder {
  /* IE 10+ */
  color: #69727a;
}

#dark .form-control:-moz-placeholder {
  /* Firefox 18- */
  color: #69727a;
}

#dark tbody tr {
  color: #ffffff;
}

#dark thead th,
#dark .market-pairs .nav-link {
  color: #4f5966;
}

#dark .market-pairs .nav-link.active,
#dark #STAR i {
  color: #ffffff;
}

#dark .green {
  color: #26de81;
}

#dark .red {
  color: #ff231f;
}

#dark .market-pairs .nav {
  background: #1c2030;
}

#dark .market-pairs input,
#dark .market-pairs span {
  border-color: #2a2e39;
  background: #2a2e39;
}

#dark .market-pairs input {
  color: #ffffff;
}

#dark .heading {
  background: #1c2030;
  color: #ffffff;
}

#dark .ob-heading tr {
  border-top: 1px solid #2a2e39 !important;
  border-bottom: 1px solid #2a2e39 !important;
}

#dark .ob-heading tr:hover {
  background: #131722;
  cursor: default;
}

#dark .ob-heading span {
  color: #4f5966;
}

#dark .dropdown-menu {
  background: #131722;
  box-shadow: 0 0 10px 0 #131722;
  border: 1px solid #2a2e39;
}

#dark .dropdown-item:focus,
#dark .dropdown-item:hover {
  background-color: #2a2e39;
  color: #ffffff;
}

#dark .market-history .nav {
  background: #1c2030;
}

#dark .market-history .nav-link.active {
  color: #ffffff;
}

#dark .market-history .nav-link {
  color: #4f5966;
}

#dark .red-bg-80:after,
#dark .red-bg-60:after,
#dark .red-bg-40:after,
#dark .red-bg-20:after,
#dark .red-bg-10:after,
#dark .red-bg-8:after,
#dark .red-bg-5:after,
#dark .red-bg:after {
  background: #ff231f63;
}

#dark .market-news {
  background: #131722;
}

#dark .market-news li {
  border-bottom: 1px solid #2a2e39;
}

#dark .market-news li:hover {
  background: #2a2e39;
}

#dark .market-news li strong,
#dark .market-news li a {
  color: #c5cbce;
}

#dark .market-order {
  background: #131722;
}

#dark .no-data i,
#dark .no-data {
  color: #2a2e39;
}

#dark .market-trade {
  border: 1px solid #2a2e39;
  background: #131722;
}

#dark .market-trade .nav .nav-item .nav-link.active {
  background: transparent;
  color: #ffffff;
}

#dark .market-trade .nav .nav-item .nav-link {
  color: #4f5966;
}

#dark .market-trade p {
  color: #c5cbce;
}

#dark .market-trade-list li a {
  background: #2a2e39;
  color: #ffffff;
}

#dark .market-trade input {
  border: 1px solid #2a2e39;
  background: #2a2e39;
  color: #ffffff;
}

#dark .market-trade .input-group-text {
  background: #2a2e39;
  color: #ffffff;
  border-color: #2a2e39;
}

#dark .market-trade-buy .market-trade-list li a:hover {
  background: #26de81;
  color: #fff;
}

#dark .market-trade-sell .market-trade-list li a:hover {
  background: #ff231f;
  color: #fff;
}

#dark #darkDepthChart {
  background: #131722;
}

#dark .markets {
  background: #131722;
}

#dark .table td,
#dark table th {
  border-top: 1px solid #2a2e39;
}

#dark .markets-pair-list .nav {
  background: #1c2030;
}

#dark .markets-pair-list .nav-link.active,
#dark #STAR i {
  color: #ffffff;
}

#dark thead th,
#dark .markets-pair-list .nav-link {
  color: #4f5966;
}

#dark .markets-pair-list .load-more {
  border: 1px solid #2a2e39;
  color: #ffffff;
}

#dark .markets-pair-list .load-more:hover {
  color: #fff;
  border: 1px solid #007bff;
}

#dark .markets-content h2,
#dark .markets-content p {
  color: #ffffff;
}

#dark .markets-content span.green,
#dark .markets-content span.red {
  color: #fff;
}

#dark .market-trade-sell {
  border-left: 1px solid #2a2e39;
}

#dark .markets-container {
  background: #1e222d;
}

#dark .sign-up-form h3 {
  border-top: 0;
  margin-top: 0;
  padding-top: 15px;
}

#dark header nav .nav-item.active a.btn:hover {
  color: #fff;
}

#dark .custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #007bff;
  background-color: #007bff;
}

#dark .dropdown-menu::before {
  background: #131722;
  border-top: 1px solid #2a2e39;
  border-left: 1px solid #2a2e39;
}

#dark .dropdown-menu p {
  color: #ffffff;
}

#dark .dropdown-header {
  border-bottom: 1px solid #2a2e39;
}

#dark .dropdown-footer {
  border-top: 1px solid #2a2e39;
}

#dark .header-img-icon .profile-nav .nav-item .nav-link:hover {
  background-color: #2a2e39;
  color: #ffffff;
}

#dark .form-control,
#dark .settings-profile select {
  background-color: #2a2e39;
  border: 1px solid #2a2e39;
  color: #69727a;
}

#dark .form-access form {
  padding: 30px;
  border-radius: 5px;
  min-width: 350px;
  box-shadow: 0 0 10px 0 #131722;
  border: 1px solid #2a2e39;
}

#dark .form-access h2,
#dark .form-access {
  color: #ffffff;
}

#dark .form-access .custom-control-label::before {
  border: #2a2e39 solid 1px;
}

/* Language Selector Styles */
.language-selector .language-btn {
  background: transparent;
  border: 1px solid #2a2e39;
  color: #69727a;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  min-width: 70px;
  height: 40px;
}

.language-selector .language-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #2a2e39;
  color: #69727a;
}

.language-selector .language-btn:focus {
  box-shadow: 0 0 0 2px rgba(42, 46, 57, 0.25);
  outline: none;
}

.language-selector .flag-icon {
  width: 20px;
  height: 15px;
  background-size: 100% 100%;
  background-position: center;
  border-radius: 2px;
  display: inline-block;
  overflow: hidden;
  background-repeat: no-repeat;
}

.language-selector .lang-code {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.language-dropdown {
  background: #1e222d;
  border: 1px solid #2a2e39;
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 160px;
  margin-top: 8px;
}

.language-dropdown .language-item {
  padding: 10px 16px;
  color: #69727a;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
}

.language-dropdown .language-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #69727a;
}

.language-dropdown .language-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: #69727a;
  font-weight: 600;
}

.language-dropdown .language-item .lang-name {
  font-size: 14px;
}

/* Flag Icons */
.flag-icon-gb { background-image: url('https://flagcdn.com/gb.svg'); }
.flag-icon-ru { background-image: url('https://flagcdn.com/ru.svg'); }
.flag-icon-cn { background-image: url('https://flagcdn.com/cn.svg'); }
.flag-icon-jp { background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyMCAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjIwIiBoZWlnaHQ9IjE1IiBmaWxsPSJ3aGl0ZSIvPgo8Y2lyY2xlIGN4PSIxMCIgY3k9IjcuNSIgcj0iNCIgZmlsbD0iI0JDMDAyRCIvPgo8L3N2Zz4K'); }
.flag-icon-de { background-image: url('https://flagcdn.com/de.svg'); }
.flag-icon-kz { background-image: url('https://flagcdn.com/kz.svg'); }
.flag-icon-es { background-image: url('https://flagcdn.com/es.svg'); }
.flag-icon-fr { background-image: url('https://flagcdn.com/fr.svg'); }
.flag-icon-he { background-image: url('https://flagcdn.com/il.svg'); }
.flag-icon-pt { background-image: url('https://flagcdn.com/pt.svg'); }

/* Dark theme adjustments */
#dark .language-dropdown {
  background: #131722;
  border-color: #2a2e39;
}

#dark .language-dropdown .language-item {
  color: #fff;
}

#dark .language-dropdown .language-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

#dark .language-selector .language-btn {
  border-color: #2a2e39;
  color: #69727a;
}

#dark .language-selector .language-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #2a2e39;
  color: #69727a;
}
  background-color: #2a2e39;
}

#dark .error-page a {
  border: 1px solid #2a2e39;
  color: #ffffff;
}

#dark .error-page a:hover {
  border: 1px solid #007bff;
  background: #007bff;
  color: #ffffff;
}

#dark .error-page h2,
#dark .error-page p {
  color: #c5cbce;
}

#dark .wallet .nav-pills a {
  border-top: 1px solid #2a2e39;
}

#dark .wallet-history {
  border-top: none;
}

#dark .wallet .nav {
  background: #1e222d;
}

#dark .wallet h2,
#dark .wallet h3,
#dark .wallet h4,
#dark .wallet p {
  color: #ffffff;
}

#dark .wallet button.green,
#dark .wallet button.red,
#dark .wallet .nav-pills a.active h2,
#dark .wallet .nav-pills a.active h3,
#dark .wallet .nav-pills a.active p {
  color: #ffffff;
}

#dark .wallet .tab-content li:first-child {
  border-bottom: 1px solid #2a2e39;
}

#dark .wallet-history tr {
  background: #1e222d;
}

#dark .wallet-address input,
#dark .wallet-address input:focus {
  border: 1px solid #2a2e39;
  background: #2a2e39;
  box-shadow: none;
  color: #ffffff;
}

#dark .depth-chart-inner {
  border: 1px solid #2a2e39;
}

#dark .markets-capital-item {
  box-shadow: 0 0 10px 0 #131722;
  border: 1px solid #2a2e39;
}

#dark .markets-capital-item h2,
#dark .markets-capital-item h4 {
  color: #fff;
}

#dark .settings .card {
  background: #1e222d;
}

#dark .settings .card-title {
  color: #fff;
}

#dark .settings-nav {
  background: #1e222d;
}

#dark .settings-nav .nav-link {
  color: #ffffff;
}

#dark .settings-notification li {
  border-bottom: 1px solid #2a2e39;
}

#dark .settings-notification li:last-child {
  border-bottom: 0;
}

#dark .settings-notification p {
  color: #ffffff;
}

#dark .settings-notification span {
  color: #4f5966;
}

#dark .settings label {
  color: #fff;
}

#dark .settings .custom-file-label {
  background: #2a2e39;
  border: 1px solid #2a2e39;
  color: #616d75;
}

#dark .settings-profile input[type="submit"] {
  border: 1px solid #007bff;
}

#dark .btn-1:hover,
#dark .btn-2:hover,
#dark .landing-hero,
#dark .landing-info-one,
#dark .landing-feature,
#dark footer.landing-footer ul li a {
  color: #fff;
}

#dark .landing-info-one-bg {
  background: url(../img/landing/dash-preview-dark.png) no-repeat right 50%/48%;
}

#dark .landing-feature-item img {
  filter: invert(1);
}

#dark footer.landing-footer-two {
  background: #2a2e39;
  color: #fff;
  border-color: #2a2e39;
}

#dark footer.landing-footer-two ul li a {
  color: #ffffffbd;
}

#dark footer.landing-footer-two ul li a:hover {
  color: #007bff;
}

@media only screen and (max-width: 1434px) {
  .market-pairs tbody {
    height: 695px;
  }

  .no-fluid .market-pairs tbody {
    height: 815px;
  }

  .settings-profile .custom-file {
    width: 25%;
  }
}

@media only screen and (max-width: 1300px) {
  .market-pairs tbody {
    height: 740px;
  }

  .no-fluid .market-pairs tbody {
    height: 755px;
  }
}

@media only screen and (max-width: 1200px) {
  .markets-capital-item {
    height: 289px;
  }
}

@media only screen and (max-width: 991px) {
  footer.landing-footer-two h3 {
    margin-top: 30px;
  }

  .tradingview-tecnical-analys {
    margin-top: 50px;
  }

  .btn-1,
  .btn-2 {
    text-align: center;
  }

  .mtb100 {
    margin: 50px 0;
  }

  .landing-hero {
    margin: 50px 0;
  }

  .landing-number p {
    margin-bottom: 40px;
  }

  .landing-number {
    padding: 40px 0 0;
  }

  .tradingview-gain-and-loser {
    margin-bottom: 50px;
  }

  .landing-feature {
    padding: 50px 0 30px;
  }

  .landing-sub {
    padding: 50px 0;
  }

  .landing-sub-content h2 {
    font-size: 26px;
  }

  .landing-number h2 {
    font-size: 40px;
  }

  .visible-mobile {
    display: block;
    margin-top: 50px;
  }

  .landing-hero h2 {
    font-size: 36px;
  }

  .landing-feature-item {
    margin-bottom: 30px;
  }

  .landing-info-one-bg,
  #dark .landing-info-one-bg {
    background: none;
  }

  .settings-nav {
    margin-bottom: 15px;
  }

  .settings-profile .custom-file {
    width: 35%;
  }
}

@media only screen and (max-width: 918px) {
  .market-history tbody {
    height: 274px;
  }
}

@media only screen and (max-width: 792px) {
  .market-pairs tbody {
    height: 699px;
  }
}

@media only screen and (max-width: 768px) {
  footer.landing-footer {
    text-align: center;
  }

  footer.landing-footer img {
    margin-bottom: 10px;
  }

  footer.landing-footer .d-flex {
    display: block !important;
  }

  .settings-profile .custom-file {
    width: 45%;
  }

  /* === МОБИЛЬНЫЙ HEADER === */
  header.dark-bb {
    padding: 0;
    background: #131722;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  header .navbar {
    padding: 15px;
    min-height: 64px;
    align-items: center;
  }

  /* Логотип */
  header .navbar-brand {
    padding: 0;
    margin-right: auto;
    display: flex;
    align-items: center;
  }

  header .navbar-brand img {
    height: 32px;
    width: auto;
  }

  /* Контейнер для мобильных иконок */
  .d-lg-none.d-flex {
    align-items: center;
    height: 40px; /* Выравниваем по высоте кнопок */
    gap: 8px; /* Равномерный отступ между элементами */
  }

  /* Дополнительное выравнивание для navbar */
  @media (max-width: 991.98px) {
    .navbar-brand {
      line-height: 1;
    }

    .navbar {
      flex-wrap: nowrap;
    }

    /* Убираем лишние отступы у иконок */
    .header-custom-icon {
      margin: 0 !important;
    }

    .header-custom-icon .nav-link {
      margin: 0 !important;
      margin-top: 0 !important; /* Переопределяем десктопный margin-top: 6px */
      line-height: 1 !important; /* Переопределяем десктопный line-height: 0 */
    }
  }

  /* Burger кнопка */
  header button.navbar-toggler {
    border: none;
    padding: 0;
    background: rgba(
      255,
      255,
      255,
      0.1
    ); /* Такой же фон как у иконки планеты */
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-left: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  header button.navbar-toggler:hover {
    background: rgba(0, 123, 255, 0.2);
    transform: scale(1.05);
  }

  header button.navbar-toggler i {
    font-size: 20px;
    color: #ffffff;
    transition: all 0.3s ease;
    margin: 0;
    line-height: 1;
  }

  header button.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
  }

  /* Мобильное меню - ПОЛНОЭКРАННОЕ БЕЗ ОТСТУПОВ */
  .navbar-collapse {
    background: #131722;
    margin: 0 !important;
    padding: 20px 15px;
    border-top: 1px solid #2a2e39;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100vh - 64px) !important;
    overflow-y: auto;
    z-index: 1050;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  /* Показываем меню на весь экран */
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Навигационные элементы */
  .navbar-nav {
    align-items: stretch;
  }

  .navbar-nav .nav-link {
    padding: 12px 15px;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    min-height: 48px; /* Touch target */
  }

  /* Иконки в навигации */
  .header-custom-icon .nav-link {
    justify-content: center;
    margin: 8px 0;
  }

  .header-custom-icon .nav-link i {
    font-size: 20px;
    color: #ffffff;
    transition: all 0.3s ease;
  }

  .header-custom-icon .nav-link:hover i {
    color: #007bff;
    transition: all 0.2s ease;
  }

  /* Hover эффект убран по просьбе пользователя */
  .wallet-history .table tbody tr:hover {
    background: #2a2e39 !important;
  }

  .wallet-history .table tbody td:hover {
    background: #2a2e39 !important;
  }

  /* Мобильное меню на всю ширину */
  .navbar-collapse {
    width: 100%;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Профиль пользователя */
  .header-img-icon {
    padding-top: 10px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .header-img-icon .nav-link {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .header-img-icon .nav-link img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 12px;
  }

  /* Dropdown меню для мобильных */
  .header-img-icon .dropdown-menu,
  .header-img-icon .dropdown-menu.show,
  #dark .header-img-icon .dropdown-menu,
  #dark .header-img-icon .dropdown-menu.show {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    left: -15px !important;
    right: -15px !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .header-img-icon .dropdown-menu::before,
  #dark .header-img-icon .dropdown-menu::before {
    display: none !important;
  }

  /* Дополнительные стили для полного растягивания */
  .navbar-nav .dropdown-menu,
  .navbar-nav .dropdown-menu.show,
  #dark .navbar-nav .dropdown-menu,
  #dark .navbar-nav .dropdown-menu.show {
    width: 100vw !important;
    max-width: 100vw !important;
    left: -15px !important;
    right: -15px !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    position: static !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .header-img-icon .dropdown-header {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 20px;
    border: none;
  }

  .header-img-icon .dropdown-header .name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
  }

  .header-img-icon .dropdown-header .email {
    color: #a0a6b0;
    font-size: 14px;
  }

  .header-img-icon .profile-nav .nav-item .nav-link {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 8px;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    color: #ffffff;
    display: flex;
    align-items: center;
  }

  .header-img-icon .profile-nav .nav-item .nav-link:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
  }

  .header-img-icon .profile-nav .nav-item .nav-link.red {
    color: #ff6b6b;
  }

  .header-img-icon .profile-nav .nav-item .nav-link.red:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b !important;
  }

  .header-img-icon .profile-nav .nav-item .nav-link i {
    margin-right: 12px;
    font-size: 18px;
    width: 20px;
    text-align: center;
  }

  /* Анимация появления меню */
  .navbar-collapse.collapsing,
  .navbar-collapse.show {
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Мобильные иконки в header - МАКСИМАЛЬНАЯ СПЕЦИФИЧНОСТЬ */
  @media (max-width: 991.98px) {
    .d-lg-none .header-custom-icon {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .d-lg-none .header-custom-icon .nav-link,
    header .d-lg-none .header-custom-icon .nav-link,
    nav .d-lg-none .header-custom-icon .nav-link {
      padding: 8px !important;
      border-radius: 8px !important;
      background: rgba(255, 255, 255, 0.1) !important;
      transition: all 0.3s ease !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      width: 40px !important;
      height: 40px !important;
      margin: 0 !important;
      margin-top: 0 !important; /* УБИРАЕМ margin-top: 6px */
      line-height: 1 !important; /* УБИРАЕМ line-height: 0 */
    }
  }

  .d-lg-none .header-custom-icon .nav-link:hover {
    background: rgba(0, 123, 255, 0.2);
    transform: scale(1.05);
  }

  .d-lg-none .header-custom-icon .nav-link i {
    font-size: 18px;
    color: #ffffff;
    margin: 0;
    line-height: 1;
  }

  /* Имя пользователя в мобильном header */
  .header-img-icon .nav-link span {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
  }

  /* Улучшенная анимация dropdown */
  .header-img-icon .dropdown-menu {
    animation: fadeInDown 0.3s ease-out;
  }

  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Responsive adjustments */
  @media (max-width: 480px) {
    header .navbar {
      padding: 10px 12px;
    }

    header .navbar-brand img {
      height: 28px;
    }

    .navbar-collapse {
      margin: 0 -12px;
      padding: 10px;
    }

    .header-img-icon .profile-nav .nav-item .nav-link {
      padding: 12px;
      font-size: 15px;
    }
  }

  /* Темная тема для мобильного header */
  #dark header button.navbar-toggler i {
    color: #ffffff;
  }

  #dark header button.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  #dark .d-lg-none .header-custom-icon .nav-link {
    background: rgba(255, 255, 255, 0.1);
  }

  #dark .d-lg-none .header-custom-icon .nav-link:hover {
    background: rgba(0, 123, 255, 0.2);
  }

  .navbar-collapse .dropdown.menu-avatar-icon {
    margin-top: 10px;
  }

  .no-fluid .market-pairs {
    margin-bottom: 15px;
  }

  .no-fluid .order-book {
    margin-top: 15px;
  }

  .circle-pulse {
    left: 27px;
    right: inherit;
  }

  .dropdown-menu::before {
    right: inherit;
    left: 5%;
  }

  .wallet .nav {
    margin-bottom: 30px;
  }

  .wallet-address img {
    margin-top: 40px;
  }

  #dark header button.navbar-toggler i {
    color: #c5cbce;
  }

  .market-order-item {
    padding: 5px 5px;
    overflow: hidden;
  }

  .market-order-item li {
    font-size: 12px;
  }

  .markets-capital-item {
    height: 304px;
  }

  /* === МОБИЛЬНЫЕ БЛОКИ BUY/SELL === */
  .d-flex.justify-content-between {
    flex-direction: column !important;
    gap: 15px;
  }

  .market-trade-buy,
  .market-trade-sell {
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 15px;
  }

  .market-trade-buy {
    order: 1;
  }

  .market-trade-sell {
    order: 2;
    border-left: none !important;
    border-top: 1px solid #2a2e39;
    padding-top: 15px !important;
  }

  /* Стили для форм внутри блоков */
  .market-trade-buy form,
  .market-trade-sell form {
    width: 100%;
  }

  /* Кнопки BUY/SELL на всю ширину */
  .market-trade button.buy,
  .market-trade button.sell {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
  }

  /* === МОБИЛЬНЫЕ КНОПКИ DEPOSIT/WITHDRAWAL === */
  .card-body .d-flex.justify-content-between {
    flex-direction: column !important;
    gap: 12px;
  }

  .card-body .btn.green,
  .card-body .btn.red {
    width: 100% !important;
    margin: 0 !important;
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
  }

  .card-body .btn.green {
    background: #28a745;
    color: white;
  }

  .card-body .btn.green:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  }

  .card-body .btn.red {
    background: #dc3545;
    color: white;
  }

  .card-body .btn.red:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  }
}

/* === КАРТОЧКИ ТРАНЗАКЦИЙ ДЛЯ ВСЕХ УСТРОЙСТВ === */
.wallet-history .table {
  border: none;
  background: transparent;
}

.wallet-history .table thead {
  display: none;
}

.wallet-history .table tbody tr {
  display: flex;
  align-items: center;
  background: #2a2e39;
  border-radius: 12px;
  padding: 16px;
  border: none;
  transition: all 0.2s ease;
}

/* Отключаем hover эффект для карточек транзакций */
.wallet-history .table tbody tr:hover {
  background: #1e222d !important;
  background-color: #1e222d !important;
}

.wallet-history tbody tr:hover {
  background: #1e222d !important;
  background-color: #1e222d !important;
}

/* Максимальная специфичность для отключения hover */
#dark .wallet-history .table tbody tr:hover,
#dark .wallet-history tbody tr:hover,
.wallet-history .table.table tbody tr:hover {
  background: #1e222d !important;
  background-color: #1e222d !important;
}

.wallet-history .table tbody tr {
  pointer-events: auto;
}

.wallet-history .table tbody tr:hover {
  background: #1e222d !important;
  background-color: #1e222d !important;
  color: inherit !important;
}

.wallet-history .table tbody td {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  padding: 0;
  color: #ffffff;
}

/* Отключаем hover эффект для TD элементов */
.wallet-history .table tbody td:hover {
  background: #1e222d !important;
  background-color: #1e222d !important;
}

.wallet-history tbody td:hover {
  background: #1e222d !important;
  background-color: #1e222d !important;
}

/* Максимальная специфичность для TD hover */
#dark .wallet-history .table tbody td:hover,
#dark .wallet-history tbody td:hover,
.wallet-history .table.table tbody td:hover {
  background: #1e222d !important;
  background-color: #1e222d !important;
}

/* Контейнер для иконки статуса */
.wallet-history .table tbody td:nth-child(3) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 15px;
  flex-shrink: 0;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
}

/* Стили для Ionic иконок */
.wallet-history .table tbody td:nth-child(3) i {
  font-size: 25px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #8b949e !important;
  color: #ffffff;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Контейнер карточки */
.wallet-history .table tbody tr {
  min-height: 70px;
  align-items: flex-start;
  padding: 16px;
  position: relative;
}

/* Первая колонка - название операции (рядом с иконкой статуса) */
.wallet-history .table tbody td:nth-child(1) {
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  flex: 1;
  padding-left: 65px; /* Отступ после иконки статуса */
  padding-top: 2px; /* Выравниваем с верхом иконки */
}

/* Вторая колонка - дата (под названием операции) */
.wallet-history .table tbody td:nth-child(2) {
  position: absolute;
  left: 81px; /* После иконки статуса + отступ */
  top: 38px; /* Уровень под текстом операции */
  font-size: 13px;
  color: #8b949e;
  font-weight: normal;
}

/* Четвертая колонка - сумма (по центру иконки) */
.wallet-history .table tbody td:nth-child(4) {
  position: absolute;
  right: 16px;
  top: 26px; /* Центр иконки: 16px padding + 2px + 20px/2 = 28px, корректируем до 26px */
  font-size: 18px;
}

/* Если нет транзакций */
.wallet-history .table tbody tr td[colspan="4"] {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  color: #8b949e;
  font-style: italic;
  background: #2a2e39;
  border-radius: 12px;
  width: 100%;
  position: static;
}

html.theme-dark .tv-embed-widget-wrapper__body {
  background-color: #1e222d;
  border-bottom: 1px solid #353843;
}

.modal-content {
  border-radius: 5px;
  box-shadow: 0 0 10px 0 #131722;
  border: 1px solid #2a2e39;
  background-color: #131722;
  color: #fff;
}

.modal-header {
  border-bottom: 1px solid #2a2e39;
}

.modal-footer {
  border-top: 1px solid #2a2e39;
}

.close {
  color: #fff;
}

.close:hover {
  color: #f6f8f9;
}

.dopoption {
  margin-bottom: 14px;
}

.p-info {
  color: #fff;
}

.upload-box {
  width: 100%;
  border: 2px dashed #6c757d;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #adb5bd;
  background-color: #2a2e39;
  cursor: pointer;
  margin-bottom: 20px;
}

.upload-box.dragover {
  background-color: #495057;
  color: #ffffff;
}

.support-box {
  width: 100%;
  border: 2px dashed #6c757d;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #adb5bd;
  background-color: #2a2e39;
  cursor: pointer;
  margin-bottom: 20px;
}

.chat-box {
  max-height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 8px;
}

.chat-header {
  margin-bottom: 15px;
  color: #fff;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  max-width: 70%;
  padding: 10px;
  border-radius: 8px;
  word-wrap: break-word;
  color: #fff;
}

.message p {
  margin: 0;
}

.support {
  align-self: flex-start;
  background-color: #007bff;
}

.support-reply {
  align-self: flex-end;
  background-color: #343a40;
}

.timestamp {
  font-size: 12px;
  color: #bbb;
  display: block;
  margin-top: 5px;
}

#currentChatSendMessage {
  margin-top: 15px;
}

#currentChatSendMessage button {
  width: 100%;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: 600;
}

#currentChatSendMessage textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Стили для кнопки "Закончить диалог" */
#endDialogModal {
  color: #fff;
}

/* КРИТИЧЕСКИ ВАЖНО - МОБИЛЬНОЕ МЕНЮ НА ВСЮ ШИРИНУ - МАКСИМАЛЬНАЯ СПЕЦИФИЧНОСТЬ */
@media (max-width: 991.98px) {
  body#dark
    nav.navbar
    .navbar-nav
    .nav-item.dropdown.header-img-icon
    .dropdown-menu,
  body#dark
    nav.navbar
    .navbar-nav
    .nav-item.dropdown.header-img-icon
    .dropdown-menu.show,
  #dark
    nav.navbar
    .navbar-nav
    .nav-item.dropdown.header-img-icon
    .dropdown-menu,
  #dark
    nav.navbar
    .navbar-nav
    .nav-item.dropdown.header-img-icon
    .dropdown-menu.show {
    width: calc(100vw - 30px) !important;
    max-width: calc(100vw - 30px) !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 5px !important;
    margin-right: 15px !important;
    position: static !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Выравнивание ширины кнопки dropdown с открытым меню */
  body#dark
    nav.navbar
    .navbar-nav
    .nav-item.dropdown.header-img-icon
    .dropdown-toggle,
  #dark
    nav.navbar
    .navbar-nav
    .nav-item.dropdown.header-img-icon
    .dropdown-toggle {
    width: calc(100vw - 30px) !important;
    max-width: calc(100vw - 30px) !important;
    margin-left: 5px !important;
    margin-right: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
  }

  /* Мобильный header ТОЛЬКО для неавторизованных пользователей */
  .navbar-collapse .navbar-nav:has(.btn-1, .btn-2) {
    padding: 0 15px !important;
  }

  .navbar-collapse .navbar-nav .btn-1,
  .navbar-collapse .navbar-nav .btn-2 {
    display: block !important;
    width: 100% !important;
    margin: 8px 0 !important;
    padding: 12px 20px !important;
    text-align: center !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
  }

  .navbar-collapse .navbar-nav .btn-1 {
    background: transparent !important;
    border: 2px solid #007bff !important;
    color: #007bff !important;
  }

  .navbar-collapse .navbar-nav .btn-1:hover {
    background: #007bff !important;
    color: #ffffff !important;
  }

  .navbar-collapse .navbar-nav .btn-2 {
    background: #007bff !important;
    border: 2px solid #007bff !important;
    color: #ffffff !important;
  }

  .navbar-collapse .navbar-nav .btn-2:hover {
    background: #0056b3 !important;
    border-color: #0056b3 !important;
  }
}

/* Отступ снизу для profile-nav только на десктопе */
@media (min-width: 992px) {
  .profile-nav {
    padding-bottom: 10px !important;
  }

  /* Отступ снизу для email в dropdown меню только на десктопе */
  .dropdown-menu .email {
    margin-bottom: 1rem !important;
  }
}

.text-muted {
  color: #69727a !important;
}

