
  .bg-dark{
    background: rgb(15, 21, 30) !important;
  }

  .swipe-container {
    position: relative;
    background: #292929;
    border-radius: 50px;
    height: 42px;
    overflow: hidden;
    user-select: none;
  }

  .swipe-text {
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 42px;
    text-align: center;
    color: #666;
    font-weight: bold;
    pointer-events: none;
    font-size: 13px;
  }

  .swipe-button {
    position: absolute;
    top: 0;
    left: 0;
    height: 42px;
    width: 42px;
    background: #459d74;
    border-radius: 50%;
    cursor: grab;
    transition: background 0.3s;
  }

  .swipe-button:active {
    cursor: grabbing;
  }

  .swipe-success {
    background: #4caf50;
    color: #fff !important;
  }

  .swipe-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 42px;
    width: 0;
    background: #489c4c5c;
    border-radius: 50px;
    transition: width 0.1s linear;
    z-index: 1;
  }

  /* Buy Style (Green) */
  .buy .swipe-button { background: #459d74; }

  .buy .swipe-text { color: #86e99d; }

  /* Sell Style (Red) */
  .sell .swipe-button { background: #dc3545; }
  .sell .swipe-fill { background: #9c48485c; }

  .sell .swipe-text { color: #ff5867; }

  /* Disabled state */
  .swipe-container .disabled { opacity: 0.6; pointer-events: none; }

  .swipe-container.disabled .swipe-button,
  .swipe-container.disabled .swipe-fill {
    background: #4f4a4a !important;
    box-shadow: none;
  }
  .swipe-container.disabled .swipe-text {
    color: #777 !important;
  }

  #buy-per{
    color:#0cb28bbd !important;font-weight:bold !important;
  }

  #sell-per{
    color:#ff0000c4 !important;font-weight:bold !important;
  }

#orderbook-tab {
  display: grid;
  grid-template-columns: 1fr; /* 4 equal columns */
}


.coin-block[data-loaded="false"] {
  display: none;
}
  .coin-block.active {
  background-color: #343a40;
  color: white;
}

  .btnsINR.active {
    background-color: #ac9900d9;
    color: white;
    margin-bottom: 10px;
  }

  .btnsUSDT.active {
    background-color: #ac9900d9;
    color: white;
    margin-bottom: 10px;
  }
    .coin-container {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .coin-block {
        width: 100%;
        padding: 6px 8px;
        border: 1px solid #282828;
        border-radius: 10px;
        background-color: transparent;
        text-align: left;
        margin-bottom:-10px;
    }

    .orderbook-container {
      width: 100%;
      font-size: 12px;
      font-family: Arial, sans-serif;
    }
    .orderbook-header,
    .orderbook-row {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      padding: 4px 8px;
      text-align: center;
    }

   
    .orderbook-header {
      font-weight: bold;
      background: #111;
    }
    .orderbook-row {
      border-bottom: 1px solid #111;
    }
    .orderbook-row.bid {
      color: green;
    }
    .orderbook-row.ask {
      color: red;
    }   

    .orderbook-cell {
      padding: 4px 8px;
      font-size: 14px;
      text-align: right;
      display: inline-block;
      width: 25%;
    }

    .bid {
      color: #089981;
      text-align: center !important;
    }

    .ask {
      color: #f23645;
      text-align: center !important;
    }

    .orderbook-row {
      display: flex;
      justify-content: space-between;
    }

  .tab-btn {
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    background: transparent;
    margin-right: 5px;
    color:white;
    border:1px solid #202122;
    font-size: 12px;
    width: 46%;
  }

  .tab-btn.active {
    background: #1a1a1a !important;
    color: #fff;
  }
  .tab-contents {
    margin-top: 10px;
  display: none; /* hide all by default */
}
.tab-contents.active {
  display: block; /* show only active */
}

input[type=range] {
    height: 6px;
    appearance: none;
    width: 100%;
    background: linear-gradient(to right, #0d6efd 0%, #dee2e6 0%);
    border-radius: 5px;
    outline: none;
  }

  input[type=range]::-webkit-slider-thumb {
    appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #0d6efd;
    cursor: pointer;
    border: 2px solid white;
    margin-top: -6px;
  }

  input[type=range]::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #0d6efd;
    cursor: pointer;
    border: 2px solid white;
  }

  .btn-outline-secondary{
    border: 1px solid #545659;
  }

  #qtyModalBtn{
    border-top-right-radius: 10px;border-bottom-right-radius: 10px;font-size: 12px;background: transparent;border:1px solid #36393c
  }

  .qtyInputs{
    background:transparent;border-top-left-radius: 10px;border-bottom-left-radius: 10px;border:1px solid #36393c;width:30%;
  }

  .marketPriceInput{
    background:#4d343429;border-radius: 10px;border:2px dotted #594d4d;width:100%;display: inline-block;
  }

  #quantitySlider{
    height: 1px !important;
  }

  .bg-success{
    background:rgba(7, 108, 42, 0.79) !important;color:#0cd70c
  }

  .bg-danger{
    background:rgba(108, 8, 8, 0.66) !important;color:#e61f1f
  }

  #tpslMarginBtnsProfit button{
    font-size: 11px !important;
    margin:2px 2px;
  }
  #tpslMarginBtnsLoss button{
    font-size: 11px !important;
    margin:2px 2px;
  }

  .form-control:focus {
  background-color: #463c3c00;
  box-shadow: none;
}

/* Active state */
.btn-success-custom-order {
  background-color: #13715f !important;
  border: 1px solid #13715f !important;
  color: #fff !important;
}

/* Inactive or disabled state */
.btn-disabled-custom-order {
  background-color: #4240404d !important;
  border: 1px solid rgb(21, 21, 21) !important;
  color: #fff !important;
}

/* Active state */
.btn-success-custom {
  background-color: #13715f !important;
  border: 1px solid #13715f !important;
  color: #fff !important;
}

/* Inactive or disabled state */
.btn-disabled-custom {
  background-color: #4240404d !important;
  border: 1px solid rgb(21, 21, 21) !important;
  color: #fff !important;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    position: absolute;
    top:50%;
    left:50%;
}

.loader .dot {
    width: 12px;
    height: 12px;
    background: #3498db;
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.loader .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loader .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    to {
        opacity: 0.3;
        transform: translateY(-8px);
    }
}

@media screen and (max-width: 700px){

  .table > :not(caption) > * > * {
    padding: .25rem .25rem;
    background-color: var(--bs-table-bg);
    font-size: 12px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
    min-width: 131px;
  }
  #toWalletBox{
    width:111px;font-size: 12px;padding: 10px 8px;
  }
  #fromWalletBox{
    width:133px;font-size: 12px;padding: 10px 8px;
  }

}

@media screen and (min-width: 701px){

  #toWalletBox{
    width:111px;font-size: 15px;padding: 10px 8px;
  }
  #fromWalletBox{
    width:133px;font-size: 15px;padding: 10px 8px;
  }
}
