* {
  padding: 0px;
  margin: 0px;
  /* outline: 1px solid red; */
  font-family: "Inter", "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
}

.Trade-Page {
  background-color: black;
}

.Trade-Page-header {
  background-color: #181a20eb;
  padding: px 20px;
}

.Trade-Page-header-nav {
  height: 100%;
}

.Trade-Page-header-nav-ul {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-left: 30px;
  height: 100%;
}

.Trade-Page-header-nav-ul li {
  list-style: none;
}

.Trade-Page-header-nav-ul li a {
  text-decoration: none;
  color: white;
}

.Trade-Page-header-nav-ul li a:hover {
  color: yellow;
}

/* profile-page */
.Trade-Page-header-profile {
  height: 100%;
}

.Trade-Page-header-profile-ul {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 30px;
}

.Trade-Page-header-profile-ul li {
  list-style: none;
}

.Trade-Page-header-profile-ul li a {
  text-decoration: none;
  color: white;
}

.Trade-Page-header-profile-ul li a i {
  font-size: 1.5rem;
}

.Trade-Page-header-profile-ul-li-flex {
  display: flex;
  align-items: center;
}

.Trade-Page-header-profile-ul-li-search {
  background: transparent;
  border: none;
  padding: 5px;
}

.Trade-Page-header-profile-ul-li-flex i {
  color: #9a9a9a9a;
}

.fa-magnifying-glass {
  font-size: 1.3rem;
}

.Trade-Page-header-profile-ul-li-profile-round i {
  color: yellow;
  display: flex;
  align-items: center;
  justify-self: center;
  height: 100%;
}

/* -------------------- */
/* Trade-Page-Content */
.Trade-Page-content {
  background-color: #161a1e;
  margin-top: 5px;
}

.Trade-Page-content .col-lg-8 {
  padding-right: 0px !important;
  padding-left: 0px !important;
}

.Trade-Page-content-order-header {
  color: white;
  margin-block: 10px;
  margin-left: 10px;
}

.Trade-Page-content-order-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#dropdownMenuButton {
  text-decoration: none;
  color: #eaecef;
}

.Trade-Page-content-order-header-left {
  display: flex;
  gap: 10px;
  margin-left: 10px;
}

.Trade-Page-content-order-header-left-img {
  width: 20px;
  cursor: pointer;
}

.Trade-Page-content-order-header-right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#kebabMenu {
  background: transparent;
  color: #848e9c;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
}

.Trade-Page-content-order-header-content-data {
  padding-left: 10px;
}

.Trade-Page-content-order-header-content-order-header {
  margin-top: 10px;
  font-size: 14px;
  color: #848e9c;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.order-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
  font-size: 12px;
}

.sell .price {
  color: #ff4d4f;
}

.Amount,
.Total {
  color: #b7bdc6;
}

.buy .price {
  color: #2ebd85;
}

#Trade-Page-content-order-header-content-price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 10px;
  font-family: "Inter", sans-serif;
}

#Trade-Page-content-order-header-content-price-box .price-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

#Trade-Page-content-order-header-content-price-box .price-red {
  color: #f6465d;
  font-size: 20px;
  font-weight: 600;
}

#Trade-Page-content-order-header-content-price-box .arrow-down {
  color: #f6465d;
  font-size: 16px;
}

#Trade-Page-content-order-header-content-price-box .price-subtext {
  color: #808080;
  font-size: 15px;
}

#Trade-Page-content-order-header-content-price-box .price-more {
  color: #808080;
  font-size: 12px;
  cursor: pointer;
}

/* ---------------------------- */
/* Trade-Page-content-Chart */
/* This makes the entire chart section fullscreen */
.Trade-Page-content-chart-header.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  background-color: #121212;
  overflow: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.Trade-Page-content-chart-header {
  display: flex;
}

/* Optional: disable scroll on the rest of the page */
body.no-scroll {
  overflow: hidden;
}

.Trade-Page-content-chart-tabs {
  display: flex;
  gap: 10px;
}

.Trade-Page-content-chart-tabs span {
  font-size: 14px;
  color: #9a9a9a;
  cursor: pointer;
}

.Trade-Page-content-chart-tabs .tab.active {
  border-bottom: 1px solid yellow;
  color: white;
}

.fullscreen-btn {
  background: none;
  color: #aaa;
  border: none;
  font-size: 20px;
  cursor: pointer;
  margin-left: auto;
}

.fullscreen-btn:hover {
  color: #fff;
}

.Trade-Page-content-chart-wrapper-tab-content {
  flex-grow: 1;
  margin-top: 10px;
}

.Trade-Page-content-chart-wrapper-tv-chart-header {
  display: flex;
  justify-content: space-between;
}

.Trade-Page-content-chart-wrapper-tv-chart-header button {
  border: none;
  background-color: transparent;
  color: #848e9c;
  font-size: 12px;
}

.view-options button.active {
  color: yellow;
}

/* ------------------------------ */
.market-list-container {
  padding: 5px;
  border-radius: 6px;
}

#marketSearch {
  width: 100%;
  padding: 6px 10px;
  background: #2b2b2b;
  border: 1px solid #444;
  border-radius: 4px;
  color: #848e9c;
}

.market-tabs {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
}

.market-tabs .fav.active {
  color: yellow;
}

.market-tabs::-webkit-scrollbar {
  display: none;
}

.market-tabs .tab {
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
  color: #aaa;
  border-bottom: 2px solid transparent;
}

.market-tabs .tab.active {
  color: #fff;
  border-color: yellow;
}

.market-header-price {
  margin-right: 15px;
}

.market-header,
.market-row {
  display: flex;
  /* justify-content: space-between; */
  padding: 5px 0;
  font-size: 13px;
  border-bottom: 1px solid #2e2e2e;
}

.market-header {
  color: #848e9c;
  font-weight: bold;
  border-bottom: 2px solid #444;
  margin-top: 10px;
}

.market-row.active {
  background-color: #2b2b2b;
  border-left: 3px solid #666;
}

.col-pair {
  flex: 1.5;
  color: #848e9c;
}

.col-price,
.col-change {
  flex: 1;
  text-align: right;
  color: #848e9c;
}

.badge {
  background-color: rgba(255, 255, 0, 0.301);
  color: yellow;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 3px;
  margin-left: 5px;
}

.Trade-Page-content-chart-wrapper-time-selector {
  position: relative;
  display: inline-block;
}

.Trade-Page-content-chart-wrapper-tv-chart-header-content {
  display: flex;
  gap: 10px;
}

.Trade-Page-content-chart-wrapper-dropdown-toggle {
  background-color: #1e1e2f;
  color: #fff;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.Trade-Page-content-chart-wrapper-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: #1d1d2e;
  color: #fff;
  border: 1px solid #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  padding: 12px;
  z-index: 99;
  border-radius: 8px;
}

.Trade-Page-content-chart-wrapper-time-selector:hover .Trade-Page-content-chart-wrapper-dropdown-menu {
  display: block;
}

.Trade-Page-content-chart-wrapper-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  color: #ccc;
  margin-bottom: 8px;
}

.Trade-Page-content-chart-wrapper-edit-btn {
  background: none;
  border: none;
  color: #4a90e2;
  font-size: 13px;
  cursor: pointer;
}

.Trade-Page-content-chart-wrapper-section {
  margin-bottom: 10px;
}

.Trade-Page-content-chart-wrapper-section .Trade-Page-content-chart-wrapper-section-title {
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 13px;
  color: #aaa;
}

.Trade-Page-content-chart-wrapper-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.Trade-Page-content-chart-wrapper-buttons button {
  background-color: #383850;
  border: none;
  color: white;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 13px;
  cursor: pointer;
}

.Trade-Page-content-chart-wrapper-buttons button:hover {
  background-color: #505070;
}

hr {
  border: 0;
  border-top: 1px solid #444;
  margin: 12px 0;
}

.trade-table {
  width: 100%;
}

.trade-tables {
  height: 300px;
  overflow-y: hidden;
}

.trade-tables::-webkit-scrollbar {}

.trade-table-th {}

.trade-table th {
  color: #848e9c;
  font-size: 12px;
  text-align: left;
  /* or left or center, as you need */
  padding: 6px 0px;
}

.trade-table td {
  color: #b7bdc6;
  font-size: 12px;
  padding: 2px 0px;
}

.trade-table .green {
  color: #2ebd85;
}

.trade-table .red {
  color: #f6465d;
}

/* .tab-content {
  display: none;
} */

.tab-content.active {
  display: table;
}

.market-trades-wrapper {
  padding: 5px;
}

.market-trades-wrapper-tabs {
  display: flex;
  gap: 10px;
}

.market-trades-wrapper button {
  border: none;
  background: transparent;
  color: #aaa;
  font-size: 13px;
  padding-block: 10px;
}

.market-trades-wrapper button:hover {
  color: white;
}

.market-trades-wrapper button.active {
  border-bottom: 2px solid yellow;
}

.movers-list {
  display: none;
}

.movers-list.active {
  display: block;
}

.market-trades-wrapper-tabs-button {
  padding: 4px 10px;
  margin: 0 4px;
  border: none;
  background: transparent;
  color: #aaa;
  cursor: pointer;
}

.market-trades-wrapper-tabs-button.active {
  color: #fff;
  border-bottom: 2px solid #009688;
}

.top-movers-span-faq {
  color: white;
  font-size: 12px;
}

.top-movers-span {
  color: white;
  border-bottom: 2px solid yellow;
  font-size: 12px;
}

.top-movers-header-flex {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.top-movers-header-flex-dropdown i {
  color: #5f6f85;
}

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

.mover-row span {
  color: #5c5c5c;
  font-size: 12px;
}

.mover-row-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Optional: pushes left/right */
  align-items: center;
  /* Optional: vertical alignment */
}

.mover-row-flex .green {
  color: #2ebd85;
}

.Trade-page-content-log {
  background-color: #1e2329;
  padding: 10px;
  border-radius: 10px;
  margin: 50px auto;
  width: 100%;
}

.nav-tabs .nav-link {
  color: #848e9c;
  border: none;
  font-size: 14px;
}

.nav-tabs .nav-link.active {
  background-color: transparent;
  border-bottom: 2px solid #fcd535;
  color: white;
}

.order-tabs .btn {
  color: #848e9c;
  background: none;
  border: none;
  margin-right: 15px;
  font-size: 14px;
}

.order-tabs .btn.active {
  color: white;
}

.form-control,
.form-select {
  background-color: #0b0e11;
  border: 1px solid #2b3139;
  color: white;
}

.form-label {
  color: #848e9c;
  font-size: 12px;
}

.submit-btn {
  width: 100%;
  margin-top: 15px;
  padding: 10px;
  border: none;
  color: white;
  font-weight: bold;
}

.buy-btn {
  background-color: #0ecb81;
}

.sell-btn {
  background-color: #f6465d;
}

.hidden {
  display: none;
}

.amount-info {
  display: flex;
  justify-content: space-between;
  color: #848e9c;
  font-size: 12px;
  margin-top: 10px;
}

.range-bar {
  background: #2b3139;
  height: 6px;
  border-radius: 3px;
  margin: 10px 0;
}

.form-section {
  margin-top: 20px;
  display: none;
}

.form-section.active {
  display: block;
}

.form-section-flex-box1 {
  display: flex;
  gap: 10px;
}

.form-section-flex-box1 button {
  font-size: 12px;
  border: none;
  background: transparent;
  color: #848e9c;
}

.form-section-flex-box1 button.active {
  background-color: #eaecef54;
  color: white;
  padding: 2px 4px;
  border-radius: 10px;
}

.form-section .row>* {
  margin-top: 0px !important;
}

.Trade-page-content-log .nav-link {
  padding: 2px 0.5rem !important;
}

.Trade-page-content-log-inc {
  position: relative;
}

.Trade-page-content-log-inc-text {
  position: absolute;
  color: white;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 12px;
  display: flex;
  gap: 10px;
  font-weight: 500;
}

.form-section .input-group {
  margin-top: 1rem;
}

.Trade-page-checklist {
  display: flex;
  align-items: center;
  gap: 5px;
}

.Trade-page-checklist input {
  background: transparent;
}

.Trade-page-checklist p {
  color: #848e9c;
  margin-bottom: 0px !important;
  font-size: 14px;
}

.form-control:focus {
  background-color: transparent;
  box-shadow: none;
  border-color: #848e9c;
  color: #fff;
}

.market-header-sell .pair_price {
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
}

.pair-icon {
  width: 30px;
}

.market-header .fa-arrow-up {
  transform: rotate("45deg");
}

.inc-dec-buttons {
  display: flex;
  flex-direction: column;
}

.inc-dec-buttons button {
  background-color: transparent;
  font-size: 14px;
  border: none;
}

.last_price_highlight {
  font-size: 1.2rem;
}

.order-row .price,
.order-row .Amount,
.order-row .Total {
  flex: 1 1 0%;
}

.order-row .Amount,
.order-row .Total {
  text-align: end;
}

.order-row {
  position: relative;
}

.order-row.sell .quantity_progress_bar {
  background: #ff4d4f2b;
}

.order-row.buy .quantity_progress_bar {
  background: #2ebd8524;
}

.order-row .quantity_progress_bar {
  position: absolute;
  right: 0;
  height: 100%;
}

table[data-tab="marketTrades"] tbody tr td:nth-child(3),
table[data-tab="marketTrades"] thead tr th:nth-child(3) {
  text-align: end;
}

table[data-tab="marketTrades"] thead tr th:nth-child(2),
table[data-tab="marketTrades"] tbody tr td:nth-child(2){
  text-align: center;
}

.chart_container .nav-tabs {
  border-bottom: none;
}

#tradingview_chart,
#depth_chart {
  height: 500px;
}

#depth_chart .amcharts-main-div text {
  fill: #ccc;
  color: #ccc;
}

.trade_form_container nav .nav-tabs,
.market-trades-wrapper nav .nav-tabs,
.available_tradepairs nav .nav-tabs {
  border-bottom: none;
}

.available_tradepairs{
  min-height: 250px;
}

.market-row {
  cursor: pointer;
  padding-inline: 5px;
}

.market-row:hover {
  background-color: #1e2329;
}

.inc-dec-buttons,
.inc-dec-buttons button {
  border: 1px solid #848e9c;
}

.inc-dec-buttons button {
  color: #848e9c;
  font-size: 9px;
}

.Trade-page-content-log-inc {
  display: none;
}

.number_input_1 .input-group-text{
  cursor: default;
}

.number_input_1 span {
  background-color: rgb(30, 35, 41) !important;
  color: rgb(132, 142, 156) !important;
  border: none;
}

.number_input_1 input {
  background-color: rgb(30, 35, 41);
  border: none;
  /* direction: rtl; */
  text-align: right;
  caret-color: #848e9c;
  padding: 0px;
}

.number_input_1 input.form-control:focus{
  border: none;
}

.number_input_1{
  border:1px solid #2b3139;
  border-radius: 5px;
  box-sizing: border-box;
}

.number_input_1.focused{
  /* border: 1px solid #F0B90B; */
    border: 1px solid #848e9c;
}

.order-row.sell,
.order-row.buy{
  cursor: pointer;
}

.balance-selector > div  { 
    border: 1px solid #252525; 
    text-align: center; 
    padding: 3px 18px; 
    background: #252525; 
    margin-left: 4px; 
    cursor: pointer; 
    font-size: 12px; 
    border-radius: 5px; 
    line-height: 20px;
} 

.balance-selector > div:first-child  { 
    margin-left: 0px;
} 

.balance-selector > div  { 
    padding: 1px 18px; 
    font-size: 11px;
} 

.balance-selector div{
  background-color: #848e9c;
  color: #212529;
}

.balance-selector > div:hover  { 
    background-color: #F0B90B; 
    color: #000;
} 

.balance_selector {
  flex: 1 1 0%;
}
#marketRows{
  max-height: 250px;
  overflow-y: auto;
}

/* Variables only apply to scroll-bar-theme-1 container */
.scroll-bar-theme-1 {
  --scroll-bar-theme-1-track: #0f1112;
  --scroll-bar-theme-1-thumb: #2f363b;
  --scroll-bar-theme-1-thumb-hover: #4a5156;
  --scroll-bar-theme-1-width: 12px;
}

/* ----- WebKit browsers ----- */
.scroll-bar-theme-1::-webkit-scrollbar {
  width: var(--scroll-bar-theme-1-width);
  height: var(--scroll-bar-theme-1-width);
}
.scroll-bar-theme-1::-webkit-scrollbar-track {
  background: var(--scroll-bar-theme-1-track);
}
.scroll-bar-theme-1::-webkit-scrollbar-thumb {
  background-color: var(--scroll-bar-theme-1-thumb);
  border-radius: 999px;
  border: 3px solid var(--scroll-bar-theme-1-track);
}
.scroll-bar-theme-1::-webkit-scrollbar-thumb:hover {
  background-color: var(--scroll-bar-theme-1-thumb-hover);
}
.scroll-bar-theme-1::-webkit-scrollbar-corner {
  background: var(--scroll-bar-theme-1-track);
}

/* ----- Firefox ----- */
.scroll-bar-theme-1 {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-bar-theme-1-thumb) var(--scroll-bar-theme-1-track);
}

.trade_form .number_input_1{
  background: #0b0e11 !important;
}
.trade_form .number_input_1 > *{
  background-color: inherit !important;
}
.trade_form .number_input_1 > :nth-child(3){
  color: #fff !important;
}
.available_tradepairs > nav > div{
  overflow-x: auto;
  overflow-y: hidden;
}

#marketRows .noData{
  color: #848e9c;
  font-size: 13px;
  text-align: center;
  margin: 30px;
}

.trade_form_container > nav{
  border-bottom: 1px solid #dee2e6;
}

.market-header > :nth-child(2) > div > div {
  white-space: nowrap;
}