@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap");

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: white !important; /* adjust text color as needed */
  background-color: transparent !important;
}
/* Total width */
::-webkit-scrollbar {
  width: 10px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

input[type="range"] {
  -webkit-appearance: none;
  /* margin: 10px 0; */
  width: 60%;
  background: transparent;
}
input[type="range"]:focus {
  outline: none;
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 14px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 1px #50555c;
  background: #50555c;
  border-radius: 14px;
  border: 0px solid #000000;
}
input[type="range"]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 0px solid #000000;
  height: 20px;
  width: 40px;
  border-radius: 12px;
  background: #3cc195;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -3px;
}
input[type="range"]:focus::-webkit-slider-runnable-track {
  background: #50555c;
}
input[type="range"]::-moz-range-track {
  width: 100%;
  height: 14px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 1px #50555c;
  background: #50555c;
  border-radius: 14px;
  border: 0px solid #000000;
}
input[type="range"]::-moz-range-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 0px solid #000000;
  height: 20px;
  width: 40px;
  border-radius: 12px;
  background: #4aecff;
  cursor: pointer;
}
input[type="range"]::-ms-track {
  width: 100%;
  height: 14px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type="range"]::-ms-fill-lower {
  background: #50555c;
  border: 0px solid #000000;
  border-radius: 28px;
  box-shadow: 1px 1px 1px #50555c;
}
input[type="range"]::-ms-fill-upper {
  background: #50555c;
  border: 0px solid #000000;
  border-radius: 28px;
  box-shadow: 1px 1px 1px #50555c;
}
input[type="range"]::-ms-thumb {
  margin-top: 1px;
  box-shadow: 0px 0px 0px #000000;
  border: 0px solid #000000;
  height: 20px;
  width: 40px;
  border-radius: 12px;
  background: #4aecff;
  cursor: pointer;
}
input[type="range"]:focus::-ms-fill-lower {
  background: #50555c;
}
input[type="range"]:focus::-ms-fill-upper {
  background: #50555c;
}

body {
  background-color: #1a1a1d;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

.sidebar {
  height: 100%;
  min-height: 100vh;
  background-color: #26272b;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding-top: 1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.sidebar-logo {
  font-size: 28px;
  color: #ccc;
  text-align: center;
  margin-bottom: 1rem;
}

.nav-item {
  display: flex;
  align-items: center;

  margin-bottom: 1px;

  color: #ccc;
  cursor: pointer;
  text-decoration: none;
}

.nav-item:hover {
  color: #fff;
}

.nav-item .nav-icon {
  font-size: 20px;
  margin-right: 1rem;
}

.marketwatch {
  background-color: #263749;
  padding: 0.5rem;
  color: #ccc;
  font-size: 12px;
  border-right: 1px solid #263749;
  position: relative;

  min-height: 100vh;
}

.marketwatch-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.marketwatch-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.marketwatch-toggle {
  position: absolute;
  top: 50%;
  right: 0px;
  width: 2.5px;
  height: 100%;
  background-color: #26272b;
  border-left: 1px solid #34363b;
  cursor: pointer;
  z-index: 1000;
  transform: translateY(-50%);
}

.marketwatch-toggle:hover {
  background-color: #4aecff;
}
.marketwatch-toggle::before {
  content: "";
  position: absolute;
  top: calc(50% - 10px);
  left: 50%;
  /* border: solid #ccc; */
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;

  /* transform: translate(-50%, -50%) rotate(135deg); */
  -webkit-transform: translate(-50%, -50%) rotate(135deg);
}
/*.marketwatch-toggle::after {
    content: "";
    position: absolute;
    top: calc(50% - 10px);
    left: 50%;
    width: 20px;
    height: 20px;
   border: 1px solid #ccc;
    border-radius: 50%;
  transform: translate(-50%, -50%);
    background: #26272b;
    z-index: -1;
}
*/

.main-header {
  color: #ccc;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

#chart-container {
  height: 500px;
}
.offcanvas {
  height: 30%;
  top: 0;
}

.rotate-135 {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}
.marketwatch.hidden + .marketwatch-toggle::before {
  transform: rotate(135deg);
}

.akorddugme {
  background-color: #202d3e !important;
  border: none;
  color: white;
  margin-bottom: 3px;
  border-radius: inherit !important;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 42px;
  padding: 3px;
  padding-left: 20px;
  --bs-accordion-border: transparent;
  padding-right:10px;
}

.akordstavka {
  border: none;
}

.accordion-button::after {
  background-image: none !important;
  content: "\f107" !important;
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  color: #4aecff !important;
  font-size: 1.5em !important; /* Adjust the size of the arrow */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.accordion-button:not(.collapsed)::after {
  content: "\f107" !important;
  color: white !important;
}

.accordion-button:focus {
  outline: none !important;
}
.accordion-button:active,
.accordion-button:focus {
  color: inherit; /* Change to the desired color if 'inherit' does not work */
}

.accordion-button:focus {
  box-shadow: none;
  color: white !important;
}

.accordion-button:not(.collapsed) {
  color: white !important;
}

.accordion-body {
  color: white;
  background-color: #202d3e !important;
}

.accordion-header {
  border: none !important;
  box-shadow: none !important;
}

.accordion {
  --bs-accordion-border-color: transparent;
  --bs-accordion-bg: none;
}

.accordion-body {
  margin-bottom: 3px;
}

.akorddugme:not(.collapsed) {
  margin-bottom: 0px;
}

.akorddugme:hover {
  background-color: #263749 !important;
}

.offcanvas {
  border: 1px solid #3cc195 !important;
  background-color: #1a2330 !important;
}

.container-fluid {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.container-fluid > .row {
  flex-grow: 1;
}

.container-fluid > .row > .col-md-12 {
  display: flex;
  flex-direction: column;
}
.marketwatch {
  flex-grow: 1;
}
.my-custom-row {
  align-items: flex-start;
}

.marketwatch-container {
  min-height: 100vh;
}

.chart-container-wrapper {
  /* Adjust this as needed */
  height: 100%;
  overflow-y: auto;
}

.sidebar-logo-container {
  background-color: #1a202c; /* Change the color to match your design */
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #2d3748; /* Change the color to match your design */
}

.sidebar-logo {
  font-size: 1.5em;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.marketwatch-search {
  margin: 10px 0;
}
.sidebar-logo-container {
  display: flex;
  align-items: center;
  padding: 15px;
  background: transparent; /* Darker background for the logo area */
}

.sidebar-logo {
  font-size: 24px;
  color: #fff;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-toggler {
  margin-right: 10px;
}

.logo {
  height: 35px; /* Adjust as needed */
  margin-right: 10px;
  padding-left: 25px;
  padding-right: 15px;
}

.navbar-logo {
  font-size: 20px; /* Adjust as needed */
  color: #fff;
}

.logo-container {
  display: flex;
  align-items: center;
  background-color: #263749; /* You can change this to your preferred color */
  padding: 10px;
  border-bottom-right-radius: 30px;
  box-shadow: 4px 4px 20px 1px rgba(14, 15, 26, 0.502);
  margin-bottom: 5px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%234aecff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler {
  border: none;
}

.news-toggle {
  position: absolute;
  top: 50%;
  /* left: -18px; /* Adjust the value as needed */
  z-index: 1 !important;
  width: 2.5px;
  height: 100%;
  background-color: #26272b;
  border-right: 1px solid #34363b;
  cursor: pointer;
  z-index: 1000;
  transform: translateY(-50%);
}

.news-toggle:hover {
  background-color: #4aecff;
}

.news-toggle::before {
  /*content: '';*/
  position: absolute;
  top: calc(50% - 8px);
  left: -5px;
  width: 10px;
  height: 10px;
  border: 2px solid #ccc;
  border-top-left-radius: 2px;
  transform: rotate(45deg);
  background-color: #26272b;
  z-index: -1;
}

.news-toggle::after {
  /*content: '';*/
  position: absolute;
  top: calc(50% - 2px);
  left: -3px;
  width: 6px;
  height: 2px;
  background-color: #ccc;
  z-index: -1;
}

.news-marketwatch {
  position: relative;
}

.marketwatch.hidden + .marketwatch-toggle::before,
.news-marketwatch.hidden + .news-toggle::before {
  transform: rotate(135deg);
}

.marketwatch.hidden,
.news-marketwatch.hidden {
  display: none;
}

.tradingview-widget-container {
  height: 100vh !important;
}

.tradingview-widget-copyright {
  display: none !important;
}

.buttons-container {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #263749;
  border-bottom-left-radius: 20px;
  box-shadow: 4px 4px 20px 1px rgba(14, 15, 26, 0.502);
  margin-bottom: 5px;
}

.buttons-container button {
  margin-left: 10px;
  background-color: transparent;
  color: #fff;
  border: 1px solid #3cc195;
  border-radius: 0px;
  /* padding: 8px 16px; */
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: bold;
  justify-content: space-between;
}

.btn.show {
  width: 100%;
  margin-left: 0;
  background-color: transparent;
  color: #fff;
  border: 1px solid #3cc195;
  border-radius: 5px;

  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: bold;
  justify-content: space-between;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #01e4ff;
  background-color: transparent;
}
.buttons-container button:hover {
  background-color: #3cc195;
  color: #263749;
}

.buttons-container button:focus {
  outline: none;
}

.buttons-container button:active {
  transform: translateY(1px);
}

.footer p {
  margin-bottom: 0;
}

.footer-buttons .btn {
  margin-right: 10px;
}

.footer-buttons .btn:last-child {
  margin-right: 0;
}

.footer {
  background-color: #263749;
  color: #fff;
  width: 100%;
  font-size: 16px;
  margin-top: auto;
  position: fixed;
  bottom: 0;
  border-top: 1px solid #131920 !important;
}

.container-fluid {
  z-index: 1;
}

.footer {
  z-index: 2;
  border-left: none;
  border-right: none;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-buttons .btn {
  margin-right: 10px;
}

.tab-content {
  background-color: #263749;
  color: #fff;
  padding: 20px;
}

.nav-tabs {
  justify-content: center;
  border: none;
}

.nav-tabs .nav-link {
  margin-right: 10px;
  margin-left: 10px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  background: rgba(8, 174, 215, 0.4) !important;
  background: var(--brand49);
  color: #eee;
  color: var(--brand1);
  border-bottom-color: #01e4ff !important;
  border-bottom-color: var(--brand36);
  border-top: none;
  border-right: none;
  border-left: none;
  border-radius: 0%;
}

.nav-link {
  color: #ffffff;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  isolation: isolate;
  border-color: transparent;
  color: #01e4ff;
}

.tab-content {
  text-align: center;
}

.sajdb {
  margin-top: 15%;
  font-size: 20px;
  font-family: "Open Sans";
}

#sidebar {
  width: 300px !important;
}

.nav-icon {
  display: inline-block;
  width: 30px; /* Adjust this value to fit your largest icon */
  text-align: center; /* To center the icons */
}

.symbol {
  display: inline-block;
  margin-left: 5px;
}

.price-wrapper {
  display: flex;
  align-items: center;
}

.price-label {
  margin-right: 5px;
}

.price {
  font-weight: bold;
  border: 1px solid #4aecff;
  padding: 2px 5px;
  border-radius: 4px;
}

.table {
  table-layout: fixed;
  width: 100%;
}

.symbol {
  display: inline-block;
  margin-left: 5px;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.price-label {
  font-weight: bold;
}

.price {
  font-weight: bold;
  border: 1px solid #4aecff;
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-group {
  display: flex;
  align-items: center;
  margin-right: 5px;
}

.btn-group .dropdown-toggle {
  padding: 0.25rem 0.5rem;
}

.dropdown-menu {
  min-width: 100%;
  text-align: center;
  left: auto !important;
  right: 0;
  border-radius: 0px;
  border: 1px solid #3cc195;
  background-color: #263749;
}

.dropdown-menu.show {
  top: calc(100% + 5px);
}

.dropdown-item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
  color: white;
}

.accordion-body {
  padding: 0 !important;
  user-select: none;
}

.my-table td {
  padding: 10px; /* Adjust the padding as needed */
}

.symbol-td {
  width: 20%; /* Adjust the width for symbol column */
  transition: transform 0.2s;
  cursor: pointer !important;
  user-select: none;
  color: #c6d2db !important;
}

.symbol-td:hover {
  transform: scale(1.1);
  color: white !important;
}

.buy-td {
  width: 25%; /* Adjust the width for buy price column */
  text-align: right;
  color: #ffffff !important;
  font-weight: 500 !important;
}

.boba:hover .buy-td span {
  border: 1.5px solid;
  border-color: #3cc195;
  border-radius: 100px !important;
  padding: 5px;
  color: #3cc195;
}

.sell-td {
  width: 25%; /* Adjust the width for buy price column */
  text-align: left;
  color: #ffffff !important;
  font-weight: 500;
}

.boba:hover .sell-td span {
  border: 1.5px solid;
  border-color: red;
  border-radius: 100px;
  padding: 5px;
  color: #f94c4c;
}

.change-td {
  width: 15%; /* Adjust the width for buy price column */
}
.other-td {
  width: 15%; /* Adjust the width for other columns */
}

.mslika {
  height: 20px;
  border-radius: 50%;
}
.marsirina {
  padding-left: 0px !important;
}

@media (min-width: 768px) {
  .marsirina {
    width: 20% !important;
  }
  .charsirina {
    width: 60% !important;
  }
}

@media (max-width: 768px) {
  .marsirina {
    padding-right: 0px;
  }

  .navbar-brand {
    display: none;
  }
  .marketwatch {
    min-height: fit-content;
  }

  .news-section {
    max-height: 220px;
    overflow: scroll;
    padding-right: 0px;
  }
  .offcanvas {
    height: 250px;
  }

  .popup {
    width: 100%;
    left: 0;
    margin-left: 0;
    top: 25% !important;
  }
}

.option-icon {
  height: 20px;
  width: 20px;
  margin-right: 5px;
  vertical-align: middle;
}

.custom-button {
  background-color: #3a3b3c;
  border: none;
  border-radius: 0 30px 30px 0 !important; /* this will create a rounded border only on the right */
  display: flex;
  align-items: center;
  padding: 0;
  color: #ffffff;
  padding-right: 10px;
}

.img-container {
  border-right: 2px solid #ffffff;
  border-radius: 5px 0 0 5px !important; /* this will create a rounded border only on the left of the img-container */
}

.profcur {
  width: 45px;
  height: 45px;
  object-fit: cover; /* this will prevent the image from being distorted */
}

.currency-name {
  padding-left: 10px;
  font-size: 16px;
}

.custom-button:hover {
  background-color: #4b4c4d;
}

.image-bg {
  display: block;
  width: 45px;
  height: 45px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-right: 1px solid #3cc195;
}

.name-container {
  margin-left: 10px;
}

.dropdown-item {
  overflow: visible !important;
  padding: 0px !important;
  margin-bottom: 5px !important;
}

.dropdown-divider {
  border-top: 1px solid #3cc195 !important;
}

.modaldva {
  border-radius: 0px;
  color: white;
  margin-bottom: 50px;
  text-align: right !important;
}

.modaldva:focus {
  color: white !important;
  background-color: transparent !important;
}

.modaltri {
  border-radius: 0px !important;
  border: 1px solid #3cc195 !important;
  background-color: #263749 !important;
}

.inputdva {
  background-color: transparent !important;
  border: transparent;
  color: white;
  opacity: 0.8;
  text-align: left !important;
  -webkit-box-shadow: inset 0 0 0 2px #354759;
    box-shadow: inset 0 0 0 2px #354759;
    margin-right: 45px;
    border-radius: 0;
    
}

.inputdva:focus {
  background-color: transparent !important;
  color: white !important;
}

.labelzaimput {
  margin-right: 15px;
  opacity: 0.6;
  width: 100px;
  max-width: 100px;
  min-width: 100px;
}

.modaldv {
  border-radius: 0px;
  color: white;
  margin-bottom: 25px;
  text-align: right !important;
}

.settdugme {
  font-size: 14px !important;
}

.hidden {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .table-mobs {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    table-layout: auto !important;
    display: block;
    padding-left: 4% !important;
    padding-right: 4% !important;
  }

  .news-section {
    padding-left: 0px;
  }
}

.newsirina {
  padding-right: 0px !important;
}

@media (min-width: 768px) {
  .newsirina {
    width: 20% !important;
  }
}

@media (max-width: 768px) {
  .newsirina {
    padding-left: 0px;
  }

  .snewm {
    display: none;
  }

  .phun {
    width: auto !important;
  }
  /*.snewd {
    display: block !important;
  }*/
  #sidebar {
    width: 100% !important;
  }
}

@keyframes flashBuy {
  0% {
    background-color: green;
    transform: scale(1) !important;
  }
  50% {
    background-color: limegreen;
    transform: scale(1.1) !important;
  }
  100% {
    background-color: green;
    transform: scale(1) !important;
  }
}

@keyframes flashSell {
  0% {
    background-color: red;
    transform: scale(1) !important;
  }
  50% {
    background-color: tomato;
    transform: scale(1.1) !important;
  }
  100% {
    background-color: red;
    transform: scale(1) !important;
  }
}

.flashBuy {
  animation: flashBuy 1s !important;
}

.flashSell {
  animation: flashSell 1s !important;
}

.greenb {
  margin-left: 10px;
  background-color: transparent;
  color: #fff;
  border: 1px solid #3cc195;
  border-radius: 0px;
  /* padding: 8px 16px; */
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
}


/*Pagination */
.page-link {
  background-color: transparent !important;
  color: #fff !important;
  border: 1px solid #3cc195 !important;
  border-radius: 0px !important;
  /* padding: 8px 16px; */
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: background-color 0.3s, color 0.3s !important;
  font-family: "Open Sans", sans-serif !important;
  font-weight: bold !important;

}

.disabled>.page-link {
  background-color: transparent !important;
  color: #fff !important;
  border: 1px solid #3cc195 !important;
  border-radius: 0px !important;
  /* padding: 8px 16px; */
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: background-color 0.3s, color 0.3s !important;
  font-family: "Open Sans", sans-serif !important;
  font-weight: bold !important;
  opacity: 0.6 !important;

}

.paginate_button {

  padding-right: 0 !important;
  padding-left: 0 !important;
}

.paginate_button:hover {
  background-color: transparent !important;
  background: transparent !important;
  border: transparent !important;
}

/*End of Pagination */

.modal-footer {
  border-top: 1px solid #3cc195;
  background-color: #263749 !important;
}

.modal-content {
  border: 1px solid #3cc195;
  border-radius: 0;
  background-color: #263749 !important;
}

.penmod:focus {
  color: white !important;
  text-align: center !important;
  background: transparent !important;
}

.penmod {
  color: white !important;
  text-align: center !important;
}

.maraligment {
  float: left;
  width: 50%;
}

.snewd {
  display: none;
}

.secundo .news-section {
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.left-container {
  display: flex;
  align-items: center;
}

.center-container {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.btn-close {
  --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234aecff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 0 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}

.btn-warning:hover {
  background-color: #08aed7 !important;
}

.nointer {
  pointer-events: none;
}

/* Mobile Footerino */

/* CSS for desktop and larger devices */
.footer .container .row {
  flex-wrap: nowrap;
}

/* CSS for mobile and smaller devices */
@media (max-width: 768px) {
  .footer .container .row {
    overflow-x: auto;
    white-space: nowrap;
    align-items: center; /* Align items along the X-axis */
  }

  .footer .col-md-2,
  .footer .col-md-4,
  .footer .col-md-6 {
    flex: 0 0 auto;
    display: inline-flex; /* Changed to inline-flex */
    align-items: center; /* Align inner items along the X-axis */
    width: auto;
  }

  .footer .nav-tabs {
    display: inline-flex;
    flex-wrap: nowrap; /* Prevent wrapping within the nav */
    align-items: center; /* Align items along the X-axis */
  }

  .footer .nav-item {
    display: inline-flex; /* Changed to inline-flex */
    align-items: center; /* Align inner items along the X-axis */
  }

  .footer .nav-link {
    white-space: nowrap; /* Prevent wrapping within the link */
  }
}

/* CSS for mobile and smaller devices */
@media (max-width: 768px) {
  body {
    margin-bottom: 60px; /* Adjust to the height of your footer */
  }

  .footer {
    position: fixed; /* Fix the footer to the bottom */
    bottom: 0; /* Align it to the bottom of the viewport */
    left: 0; /* Align it to the left of the viewport */
    right: 0; /* Align it to the right of the viewport */
    height: 60px; /* Set to the height of your footer */
    z-index: 1000; /* Ensure it appears above other content */
  }
}

.dataTables_length {
  display: none !important;
}

.table-dark td {
  border-top: 1px solid #3cc195;
  border-bottom: 1px solid #3cc195;
}

.table-dark td:first-child {
  border-left: 1px solid #3cc195;
}

.table-dark td:last-child {
  border-right: 1px solid #3cc195;
}

.spacer td {
  border: none !important;
}

.table-dark th {
  text-align: center !important;
}

.table-dark tr {
  background-color: #202d3e !important;
}

.triangle-up {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 10px solid green;
  display: inline-block;
}

.triangle-down {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 10px solid red;
  display: inline-block;
}


.tradingview-widget-container {

  margin-bottom: 5vh !important;
}
/* market scroll */

/* Styling for the marketwatch-section */
.marketwatch-section {
  overflow-y: auto; /* Enable vertical scrolling */
 height: 100vh;    /* Adjust this if needed */
  direction: rtl;   /* Change the direction to right-to-left to move the scrollbar to the left */
}

@media (max-width: 768px) {

  .marketwatch-section {
   
   height: 100%;    /* Adjust this if needed */
  
  }

  .pagination {

    margin-bottom: 150px !important;
  }

}

/* Style for the actual scrollbar */
.marketwatch-section::-webkit-scrollbar {
  width: 4px; /* Width of the scrollbar */
}

.marketwatch-section::-webkit-scrollbar-track {
  background-color: transparent; /* Transparent track */
}

.marketwatch-section::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent black */
  border-radius: 2px; /* Rounded corners */
}

.marketwatch-section::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5); /* Darker color on hover */
}

/* This is to reset the text direction inside the marketwatch-section */
.marketwatch-section > * {
  direction: ltr;
  padding-left: 0px;
}

.dataTables_paginate{
  padding-bottom: 35px;
}