
/*-------------------------------------------------------------------------------------------------------------*/





   /*==================================================================================*/
   .dsj-bottom-section{
  background:#0b0f17;
  /*margin-top:15px;*/
  border-radius:8px;
  overflow:hidden;
 
}

/* TAB HEADER */
.dsj-tab-header{
  display:flex;
  background:#0f1522;
  border-bottom:1px solid #1c2333;
}

.dsj-tab{
  padding:12px 18px;
  background:none;
  border:none;
  color:#aaa;
  font-size:14px;
  cursor:pointer;
}

.dsj-tab.active{
  color:#ffc107;
  border-bottom:2px solid #ffc107;
}

/* CONTENT */
.dsj-tab-content{
  padding:10px;
}

.dsj-tab-pane{
  display:none;
}

.dsj-tab-pane.active{
  display:block;
}

/* TABLE */
.dsj-table-wrap{
  overflow-x:auto;
}

.dsj-table{
  width:100%;
  border-collapse:collapse;
  min-width:1100px;
}

.dsj-table th,
.dsj-table td{
  padding:10px;
  border-bottom:1px solid #1c2333;
  font-size:13px;
  white-space:nowrap;
}

.dsj-table th{
  color:#888;
  text-align:left;
}

.green{color:#00ff9c;}
.red{color:#ff4d4f;}

.dsj-empty{
  color:#777;
  padding:20px;
  text-align:center;
}

/* RESPONSIVE */
@media(max-width:768px){
  .dsj-tab-header{
    overflow-x:auto;
  }
  .dsj-tab{
    white-space:nowrap;
  }
}

   /*==================================================================================*/
  
.dsj-bottom-layout{
  display:grid;
  grid-template-columns: 1fr 260px;
  gap:0px;
}


/*.dsj-bottom-left{*/
/*  background:#0b0f17;*/
/*  border-radius:8px;*/
/*  border: 1px solid #80808073;*/
/*}*/

 
.dsj-assets-card{
  background:#0f1522;
  /*border-radius:8px;*/
  padding:15px;
  height:fit-content;
  border: 1px solid #80808073;
  /*width: 80%;*/
}

.dsj-assets-title{
  font-size:15px;
  margin-bottom:15px;
  color:#fff;
}

.dsj-assets-btn{
  width:100%;
  padding:10px;
  margin-bottom:10px;
  background:#1c2333;
  border:none;
  border-radius:6px;
  color:#ccc;
  font-size:14px;
  cursor:pointer;
  transition:0.2s;
}

.dsj-assets-btn:hover{
  background:#00b67a;
  color:#fff;
}


@media(max-width:992px){
  .dsj-bottom-layout{
    grid-template-columns:1fr;
  }

  .dsj-assets-card{
    order:-1; 
  }
}


/*==========================================================================*/

   body {
    background: #0b0f1a;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
}

.trading-wrapper {
    padding: 15px;
}


.chart-section {
    background: #0f1624;
    border-radius: 8px;
    padding: 10px;
    min-height: 520px;
}

#tradingview_btcusdt {
    height: 500px;
    width: 100%;
}


.trade-section {
    padding-left: 10px;
}

.trade-box {
    background: #111827;
    border-radius: 8px;
    padding: 15px;
}


.trade-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    border-bottom: 1px solid #1f2937;
    padding-bottom: 8px;
}


.trade-buttons button {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.btn-success {
    background: #16a34a;
    border: none;
}

.btn-secondary {
    background: #374151;
    border: none;
}

/* Form */
.trade-group label {
    font-size: 13px;
    color: #9ca3af;
}

.form-control {
    background: #3d3f47b8;
    border: 1px solid #1f2937;
    color: #fff;
}

.form-control:focus {
    background: #020617;
    color: #fff;
    border-color: #2563eb;
}

/* Quick Amount */
.quick-amount {
    display: flex;
    gap: 5px;
}

.quick-amount button {
    flex: 1;
    background: #1f2937;
    color: #fff;
    border: none;
    padding: 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* Buy Button */
.btn-primary {
    background: #2563eb;
    border: none;
    font-weight: 600;
}

/* Loader */
.custom-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #1f2937;
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

   @media (max-width: 768px) {

  
    .trading-wrapper {
        padding: 8px;
    }

   
    .chart-section {
        padding: 5px;
        min-height: auto;
        border-radius: 6px;
    }

    #tradingview_btcusdt {
        height: 260px;  
    }

    .trade-section {
        padding-left: 0;
        margin-top: 10px;
    }

    .trade-box {
        padding: 12px;
        border-radius: 6px;
    }

    .trade-header {
        font-size: 14px;
        padding-bottom: 6px;
    }

    .trade-buttons button {
        font-size: 14px;
        padding: 10px;
    }

    .trade-group label {
        font-size: 12px;
    }

    .form-control {
        height: 38px;
        font-size: 14px;
    }
    .quick-amount {
        gap: 4px;
    }

    .quick-amount button {
        padding: 8px 0;
        font-size: 11px;
    }

   
    .btn-primary {
        padding: 10px;
        font-size: 15px;
    }

    .custom-spinner {
        width: 30px;
        height: 30px;
        border-width: 3px;
    }
}

.time-period-desc {
    white-space: nowrap;      
    overflow: hidden;
    text-overflow: ellipsis;  
}


#date,
#reachcountdown,
.time-period-value {
    white-space: nowrap;     
    overflow: hidden;
    text-overflow: ellipsis;
}
 
   /*===================================================================================*/
   .time-period-container {
    background: linear-gradient(180deg, #0c1624, #0a1220);
    padding: 14px 18px;
    border-radius: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

/* Dropdown */
.time-period-label select {
    background: #0f1b2d;
    border: 1px solid #1e2f4f;
    color: #fff;
    border-radius: 6px;
    padding: 6px 10px;
}

/* Info Row */
.time-period-display {
    display: flex;
    gap: 20px;
    margin-top: 12px;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Each Box */
.time-period-item {
    flex: 1;
    min-width: 180px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 12px 14px;
    text-align: center;
}

/* Label */
.time-period-desc {
    font-size: 12px;
    color: #8fa3c8;
    margin-bottom: 4px;
}

/* Value */
.time-period-value {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

/* Price */
.time-period-item p {
    font-size: 14px;
    margin: 0;
    color: #dbe4ff;
}

/* Countdown Highlight */
.countdown-highlight {
    color: #ff4d4f;
    font-weight: 700;
}

/* Mobile */
@media (max-width: 768px) {
    .time-period-display {
        gap: 12px;
    }

    .time-period-item {
        min-width: 100%;
    }
}

   /*===================================================================================*/
   
        /* SECTION */
.dsj-trade-section{
  background:#0b0f17;
  color:#fff;
  /*padding:15px;*/
  font-family:Arial, sans-serif;
}

/* TOP BAR */
.dsj-top-bar{
  display:flex;
  /* justify-content:space-between; */
  align-items:center;
  border-bottom:1px solid #1c2333;
  padding-bottom:10px;
  gap: 30px;
}

.dsj-pair strong{
  color:#00ff9c;
  display:block;
  font-size:18px;
}

.dsj-info{
  display:flex;
  gap:30px;
}

.dsj-info small{
  color:#888;
  font-size:12px;
}

.dsj-info p{
  font-size:10px;
  margin-top:2px;
}

.dsj-info .highlight p{
  color:#ffc107;
}

/* MAIN */
.dsj-main{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:0px;
  margin-top:15px;
}

/* CHART */
.dsj-chart{
  background:#0f1522;
  /*border-radius:8px;*/
  padding:10px;
  border: 1px solid #80808066;
}

.dsj-chart-header{
  display:flex;
  gap:15px;
  margin-bottom:10px;
}

.dsj-chart-header span{
  font-size:13px;
  color:#aaa;
  cursor:pointer;
}

.dsj-chart-header .active{
  color:#ffc107;
}

.dsj-chart-box{
  height:380px;
  background:#0b0f17;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* TRADE PANEL */
.dsj-trade-panel{
  background:#0f1522;
  /*border-radius:8px;*/
  padding:15px;
  border: 1px solid #80808073;
}

.dsj-trade-panel h4{
  margin-bottom:12px;
}

.dsj-buttons{
  display:flex;
  gap:10px;
}

.dsj-buttons button{
  flex:1;
  padding:10px;
  border:none;
  border-radius:6px;
  color:#fff;
  cursor:pointer;
}

.call{background:#00b67a;}
.put{background:#3a3f4b;}

.dsj-field{
  margin-top:12px;
}

.dsj-field label{
  font-size:12px;
  color:#aaa;
}

.dsj-field input,
.dsj-field select{
  width:100%;
  padding:8px;
  background:#0b0f17;
  border:1px solid #1f2a44;
  color:#fff;
  border-radius:6px;
  margin-top:5px;
}

.dsj-percent{
  display:flex;
  gap:8px;
  margin-top:10px;
}

.dsj-percent button{
  flex:1;
  background:#1f2a44;
  border:none;
  color:#fff;
  padding:6px;
  border-radius:5px;
}

.dsj-buy{
  width:100%;
  margin-top:15px;
  padding:12px;
  background:#00b67a;
  border:none;
  border-radius:8px;
  font-size:16px;
  cursor:pointer;
}

/* RESPONSIVE */
@media(max-width:992px){
  .dsj-main{
    grid-template-columns:1fr;
  }
}

  /*=============================================second section start=========================================*/
  .dsj-same-width {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.dsj-two-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  /*gap: 16px;*/
}

.dsj-card-left,
.dsj-card-right {
  background: #111;
  /*border-radius: 12px;*/
  padding: 16px;
  box-shadow: 0 0 0 1px #1f1f1f;
  border: 1px solid #80808073;
}

@media (max-width: 900px) {
  .dsj-two-card {
    grid-template-columns: 1fr;
  }
}

  /*=============================================second section end=========================================*/
  /* ===============================
   COMMON WIDTH (SAME AS TOP)
================================ */
.dsj-bottom-section {
  max-width: 1500px;
  /*margin: 24px auto;*/
  /*padding: 0 16px;*/
  padding: 0 0px;
  box-sizing: border-box;
  margin-top: -6.5%;
}

/* ===============================
   TWO CARD LAYOUT
================================ */
.dsj-bottom-layout {
  display: grid;
  grid-template-columns: 1fr 311px;
  /*gap: 2px;*/
  align-items: flex-start;
}

/* ===============================
   LEFT CARD (TABS + TABLE)
================================ */
.dsj-bottom-left {
  background:#0b0f1a;
  /*border-radius: 12px;*/
  padding: 16px;
  box-shadow: 0 0 0 1px #1f1f1f;
border: 1px solid #80808073;
}

/* ===============================
   TAB HEADER
================================ */
.dsj-tab-header {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #222;
  padding-bottom: 10px;
  /*margin-bottom: 16px;*/
}

.dsj-tab {
  background: transparent;
  border: 0;
  color: #aaa;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.dsj-tab:hover {
  background: #1b1b1b;
  color: #fff;
}

.dsj-tab.active {
  background: #1f1f1f;
  color: #00e1a0;
}

/* ===============================
   TAB CONTENT
================================ */
.dsj-tab-content {
  width: 100%;
}

.dsj-tab-pane {
  display: none;
}

.dsj-tab-pane.active {
  display: block;
}

/* ===============================
   TABLE
================================ */
.dsj-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.dsj-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.dsj-table th,
.dsj-table td {
  padding: 10px 12px;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid #222;
  color: #ddd;
  white-space: nowrap;
}

.dsj-table th {
  color: #888;
  font-weight: 500;
  background: #0b0f1a;
}

.dsj-table tr:hover td {
  background: #181818;
}

/* ===============================
   STATUS COLORS
================================ */
.green {
  color: #00e1a0;
}

.red {
  color: #ff4d4f;
}

/* ===============================
   EMPTY STATE
================================ */
.dsj-empty {
  text-align: center;
  color: #666;
  padding: 40px 0;
  font-size: 14px;
}

/* ===============================
   RIGHT CARD (ASSETS)
================================ */
.dsj-assets-card {
  background: #0b0f1a;
  /*border-radius: 12px;*/
  padding: 16px;
  box-shadow: 0 0 0 1px #1f1f1f;
  border: 1px solid #80808073;
}

.dsj-assets-title {
margin-bottom: 12px;
  font-size: 12px;
  color: #fff;
}

/* ===============================
   ASSETS BUTTONS
================================ */
.dsj-assets-btn {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  background: #0b0f1a;
  border: 1px solid #2a2a2a;
  color: #acacac;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.dsj-assets-btn:hover {
  background: #00e1a0;
  color: #000;
  border-color: #00e1a0;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .dsj-bottom-layout {
    grid-template-columns: 1fr;
  }

  .dsj-table {
    min-width: 100%;
  }
}


/*-------------------------------------------------------------------*/


/* ===============================
   EXTRA SMALL DEVICES (320px)
================================ */
@media (max-width: 480px) {

  body {
    font-size: 13px;
  }
  .dsj-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 0;
  }

  .dsj-info {
    width: 84%;
    flex-direction: column;
    gap: 0px;
    margin: 17px;
  }

  .dsj-info > div {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  /* ===== MAIN GRID ===== */
  .dsj-main {
    grid-template-columns: 1fr;
  }

  /* ===== CHART ===== */
  .dsj-chart {
    padding: 8px;
  }

  .dsj-chart-box {
    height: 220px;
  }

  .dsj-chart-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* ===== TRADE PANEL ===== */
  .dsj-trade-panel {
    padding: 12px;
  }

  .dsj-buttons {
    flex-direction: column;
  }

  .dsj-buttons button {
    width: 100%;
    padding: 12px;
    font-size: 14px;
  }

  .dsj-field input,
  .dsj-field select {
    font-size: 14px;
    padding: 10px;
  }

  .dsj-percent {
    flex-wrap: wrap;
  }

  .dsj-percent button {
    flex: 1 1 48%;
  }

  /* ===== TIME PERIOD BAR ===== */
  .time-period-display {
    flex-direction: column;
    gap: 10px;
  }

  .time-period-item {
    min-width: 100%;
    padding: 10px;
  }

  /* ===== SECOND SECTION GRID ===== */
  .dsj-bottom-layout,
  .dsj-two-card {
    grid-template-columns: 1fr;
  }

  .dsj-bottom-left,
  .dsj-assets-card {
    padding: 12px;
  }

  /* ===== TABS ===== */
  .dsj-tab-header {
    flex-wrap: wrap;
    gap: 6px;
  }

  .dsj-tab {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* ===== TABLE FIX ===== */
  .dsj-table-wrap {
    overflow-x: auto;
  }

  .dsj-table {
    min-width: 700px;
  }

  .dsj-table th,
  .dsj-table td {
    font-size: 12px;
    padding: 8px;
  }

  /* ===== ASSETS BUTTONS ===== */
  .dsj-assets-btn {
    padding: 12px;
    font-size: 14px;
  }
}

/* ===============================
   ULTRA SMALL (<=360px SAFETY)
================================ */
@media (max-width: 360px) {

  .dsj-chart-box {
    height: 200px;
  }

  .dsj-buy {
    font-size: 14px;
    padding: 10px;
  }

  .time-period-value {
    font-size: 14px;
  }
}

/* ===============================
   MOBILE TABLE SCROLL
================================ */
@media (max-width: 768px) {

  /* Wrapper scrollable */
  .dsj-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Table width fix */
  .dsj-table {
    min-width: 900px;
    border-collapse: collapse;
  }

  /* Scrollbar styling (optional) */
  .dsj-table-wrap::-webkit-scrollbar {
    height: 6px;
  }

  .dsj-table-wrap::-webkit-scrollbar-track {
    background: #0b0f1a;
  }

  .dsj-table-wrap::-webkit-scrollbar-thumb {
    background: #1f2a44;
    border-radius: 10px;
  }
}
/*==============================================================================*/
/* ===============================
   INVITED ME – CENTER FORM
=================================*/

#betForm{
  display:flex;
  /*flex-direction:column;*/
 /* align-items:center;*/
 /*justify-content: space-around;*/
 /* padding:60px 0 40px;*/
}

/* INPUT BOX */
#betForm #code{
  max-width:200px;
  height:44px;
  background:#1b2332;
  border:1px solid #2a3346;
  border-radius:none !important;
  color:#cfd6e4;
  font-size:14px;
  padding:10px 14px;
  /*margin-bottom:18px;*/
}

/* PLACEHOLDER */
#betForm #code::placeholder{
  color:#7f8aa3;
  font-size:13px;
}

/* FOCUS */
#betForm #code:focus{
  outline:none;
  border-color:#3b82f6;
  background:#1b2332;
  box-shadow:none;
}

/* CONFIRM BUTTON */
#betForm .btn-primary{
  width:140px;
  height:44px;
  background:#f5b24a;
  border:none;
  /*border-radius:4px;*/
  color:#000;
  font-size:14px;
  font-weight:600;
  transition:0.25s;
}

#betForm .btn-primary:hover{
  background:#e6a23c;
}

/* ===============================
   MOBILE RESPONSIVE
=================================*/

@media(max-width:576px){

  #betForm{
    padding:40px 15px;
  }

  #betForm #code{
    width:100%;
  }

  #betForm .btn-primary{
    width:100%;
  }
}
.theadclass{
    font-size: 10px;
  color: #f5b24a;
}
.tbodyclass{
    font-size: 10px;
  color: #acacac;
}
/*==============================================================================*/


/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.trade-section {
  width: 100%;
  /*background: #0e1621;*/
  /*padding: 20px;*/
  color: #fff;
  font-family: Arial, sans-serif;
  margin-top: -7%;
}

.trade-wrapper {
  display: flex;
  gap: 0px;
  
}

/* LEFT CARD */
.trade-card {
 flex: 3.7;
  background: #131c2b;
  /*border-radius: 10px;*/
 border: 1px solid #80808073;
  padding: 15px;
}

/* TIMEFRAME */
.trade-timeframe {
  display: flex;
  gap: 19px;
  margin-bottom: 10px;
}
.containertime {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 10px;
  color: gray;
}

.left,
.right {
  flex: 1;
}

.right {
  text-align: right;
}

.text-danger {
  color: #dc2626; /* red */
  font-weight: 500;
}

.text-success {
  color: #16a34a; /* green */
  font-weight: 500;
}

.trade-timeframe span {
  padding: 4px 1px;
  /*background: #1f2a3d;*/
  border-radius: 6px;
  cursor: pointer;
  font-size: 10px;
  color: #848e9c;
}

.trade-timeframe .active {
  background: #aa833a70;
  padding: 3px;
  color: gold;
}

/* CHART */
.trade-chart-box {
  position: relative;
  height: 500px;
  width:100% !important;
  background: #0b1320;
  border-radius: 10px;
  overflow: hidden;
}

#tradingview_chart {
  width: 100%;
  height: 100%;
}

/* LOADING */
#chart-loading {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.6);
  z-index: 10;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top: 4px solid #2f80ed;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* RIGHT CARD */
.order-card {
  flex: 1;
  background: #131c2b;
  /*border-radius: 10px;*/
  padding: 20px;
  font-size: 11px;
  border: 1px solid #80808073;
}

.order-title {
  margin-bottom: 15px;
  font-size: 13px;
}

/* CALL PUT */
.order-buttons {
 display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 10px;
}

.btn-call {
  flex: 1;
  background: #00a870;
  border: none;
  padding: 10px;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}

.btn-put {
  flex: 1;
  background:#686868;
  border: none;
  padding: 10px;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}

/* FORM */
.order-field {
  margin-bottom: 15px;
}

.order-field label {
  font-size: 13px;
  display: block;
  margin-bottom: 5px;
  color: #848e9c;
}

.order-field select,
.order-field input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: none;
  background: #1f2a3d;
  color: #ddaf26;
}

/* PERCENT */
.order-percent {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.order-percent button {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  background: #1f2a3d;
  border: none;
  color:#848e9c;
  cursor: pointer;
}

/* BUY */
.order-buy {
  width: 100%;
  padding: 6px;
  background:#00a870!important;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .trade-wrapper {
    flex-direction: column;
  }

  .trade-chart-box {
    height: 520px;
  }
  .margin{
      margin-top:9%;
  }
}
@media (max-width: 300px) {
  .trade-wrapper {
    flex-direction: column;
  }
.dsj-pair{
    margin-top: 20%;
} 
  .trade-chart-box {
    height: 520px;
  }
  .margin{
      margin-top:9%;
  }
}

@media (max-width: 1300px) {
  .trade-chart-box {
    height: 520px;
  }
}


#mybetlist{
    color:white;
}


/*--------------------------------------*/
/* =========================
   MOBILE RESPONSIVE
   ========================= */
@media (max-width: 768px) {

  /* MAIN LAYOUT */
  .dsj-bottom-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* LEFT & RIGHT CARD FULL WIDTH */
  .dsj-card-left,
  .dsj-card-right {
    width: 100%;
  }

  /* TAB HEADER SCROLL */
  .dsj-tab-header {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 10px;
    padding-bottom: 5px;
  }

  .dsj-tab-header::-webkit-scrollbar {
    display: none;
  }

  .dsj-tab {
    flex: 0 0 auto;
    font-size: 13px;
    padding: 8px 12px;
  }

  /* TABLE RESPONSIVE */
  .dsj-table-wrap,
  .table_r {
    overflow-x: auto;
  }

  table {
    min-width: 900px;
    font-size: 12px;
  }

  th,
  td {
    padding: 6px 8px;
    white-space: nowrap;
  }

  /* INVITE FORM */
  #betForm input {
    width: 100%;
  }

  /* MODAL */
  .popup-modal {
    margin: 10px;
  }

  /* ASSETS CARD */
  .dsj-assets-card {
    text-align: center;
  }

  .dsj-assets-btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px) {

  .dsj-tab {
    font-size: 12px;
    padding: 6px 10px;
  }

  table {
    font-size: 11px;
  }

  .dsj-assets-title {
    font-size: 16px;
  }
}




/*.trade-action-bar {*/
/*  display:flex;*/
/*  gap:10px;*/
/*}*/

/*.trade-btn {*/
/*  padding:8px 16px;*/
/*  border-radius:6px;*/
/*  font-size:14px;*/
/*  cursor:pointer;*/
/*}*/

/*.trade-btn.yellow {*/
/*  background:#f6c25c;*/
/*  border:none;*/
/*  color:#000;*/
/*}*/

/*.trade-btn.outline {*/
/*  background:transparent;*/
/*  border:1px solid #f6c25c;*/
/*  color:#f6c25c;*/
/*}*/

/* Popup */
/*.trade-popup {*/
/*  background:#0b1220;*/
/*  color:#fff;*/
/*  border-radius:10px;*/
/*}*/

/*.trade-popup-header {*/
/*  padding:14px;*/
/*  font-size:18px;*/
/*  border-bottom:1px solid #2a3553;*/
/*  position:relative;*/
/*}*/

/*.trade-popup-header .close {*/
/*  position:absolute;*/
/*  right:15px;*/
/*  top:10px;*/
/*  cursor:pointer;*/
/*}*/

/*.trade-popup-body {*/
/*  padding:15px;*/
/*}*/

/*.trade-popup-footer {*/
/*  padding:15px;*/
/*  border-top:1px solid #2a3553;*/
/*  text-align:right;*/
/*}*/

.followup-row{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:nowrap;   /* ek hi row me rakhega */
}

/* input width control */
.followup-input{
  max-width:260px;
  background:#0b1220;
  border:1px solid #2a3553;
  color:#fff;
  font-size: 10px;
}

/* buttons */
.trade-btn{
  padding:8px 16px;
  border-radius:6px;
  font-size:14px;
  white-space:nowrap; /* text break nahi hoga */
}

.trade-btn.yellow{
  background:#f6c25c;
  border:none;
  color:#000;
  font-size: 10px;
}

.trade-btn.outline{
  background:transparent;
  border:1px solid #f6c25c;
  color:#f6c25c;
  font-size: 10px;
}

/* responsive (mobile) */
@media(max-width:768px){
  .followup-row{
    flex-wrap:wrap;
  }
  .followup-input{
    max-width:100%;
    flex:1 1 100%;
  }
}

/*================================================*/

/* modal container */
.fu-modal{
  background:#030922;
  border-radius:10px;
  overflow:hidden;
}

/* header */
.fu-header{
  padding:16px 20px;
  font-size:18px;
  border-bottom:1px solid #e6e6e6;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.fu-close{
  font-size:26px;
  cursor:pointer;
  color:#999;
}

/* body */
.fu-body{
  padding:22px;
}

/* input group */
.fu-group{
  margin-bottom:18px;
}

/* dark inputs */
.fu-input{
  width:100%;
  height:48px;
  background:linear-gradient(90deg,#28292d2b,#040c2c);
  border:1px solid #101a45;
  border-radius:6px;
  padding:0 14px;
  color:#fff;
  font-size:15px;
}

/* placeholder */
.fu-input::placeholder{
  color:#a8b0d4;
}

/* focus border (blue) */
.fu-input:focus{
  outline:none;
  border:2px solid #2f80ff;
}

/* remove select arrow bg */
.fu-input option{
  background:#02061a;
  color:#fff;
}

/* confirm button */
.fu-confirm{
  width:100%;
  height:48px;
  background:#ffc107;
  border:none;
  border-radius:6px;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  margin-top:10px;
}
/* =========================
   MOBILE RESPONSIVE (Follow-up Modal)
========================= */

@media (max-width: 768px){

  /* modal width full */
  #followUpModal .modal-dialog{
    max-width:100%;
    margin:10px;
  }

  .fu-modal{
    border-radius:8px;
  }

  /* header */
  .fu-header{
    padding:14px 16px;
    font-size:16px;
  }

  .fu-close{
    font-size:24px;
  }

  /* body padding */
  .fu-body{
    padding:16px;
  }

  /* inputs height smaller */
  .fu-input{
    height:44px;
    font-size:14px;
    padding:0 12px;
  }

  /* button */
  .fu-confirm{
    height:44px;
    font-size:15px;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px){

  #followUpModal .modal-dialog{
    margin:6px;
  }

  .fu-header{
    font-size:15px;
  }

  .fu-input{
    height:42px;
  }

  .fu-confirm{
    height:42px;
  }
}

/*======================================================================*/
.fu-dark-modal{
  background:#2a2f36;
  color:#fff;
  border-radius:8px;
  font-size: 10px;
}

/* HEADER */
.fu-dark-header{
  padding:14px 18px;
  font-size:16px;
  display:flex;
  justify-content:space-between;
  border-bottom:1px solid #3a4048;
}

.fu-close{
  cursor:pointer;
  font-size:22px;
  color:#aaa;
}

/* BODY */
.fu-dark-body{
  padding:18px;
}

/* FIELD */
.fu-field{
  margin-bottom:14px;
}

.fu-field label{
  display:block;
  font-size:13px;
  margin-bottom:6px;
  color:#cfd3dc;
}

.fu-field input,
.fu-field select{
  width:100%;
  height:44px;
  background:#323840;
  border:1px solid #3f4650;
  border-radius:4px;
  padding:0 12px;
  color:#fff;
}

.fu-field input::placeholder{
  color:#9aa1ac;
}

/* SECTION */
.fu-section-title{
  margin-top:18px;
  font-size:14px;
  font-weight:600;
}

.fu-sub-title{
  font-size:13px;
  margin:8px 0;
  color:#cfd3dc;
}

/* TOGGLE */
.fu-toggle{
  display:flex;
  border:1px solid #3f4650;
  border-radius:4px;
  overflow:hidden;
  margin-bottom:14px;
}

.fu-toggle div{
  flex:1;
  text-align:center;
  padding:10px;
  cursor:pointer;
  background:#2a2f36;
}

.fu-toggle .active{
  background:#f3c262;
  color:#000;
  font-weight:600;
}

/* RANGE */
.fu-range{
  display:flex;
  align-items:center;
  gap:10px;
}

.fu-range-box{
  flex:1;
}

.fu-range-box span{
  display:block;
  font-size:12px;
  color:#cfd3dc;
  margin-bottom:4px;
}

.fu-range-box input{
  width:100%;
  height:40px;
  background:#323840;
  border:1px solid #3f4650;
  color:#fff;
  padding:0 10px;
}

.dash{
  margin-top:18px;
}

/* AVAILABLE */
.fu-available{
  display:flex;
  justify-content:space-between;
  font-size:13px;
  margin-top:10px;
  color:#cfd3dc;
}

/* CONFIRM */
.fu-confirm-btn{
  margin-top:16px;
  width:100%;
  height:46px;
  background:#f3c262;
  border:none;
  border-radius:4px;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
}
@media(max-width:768px){
  .modal-dialog{
    margin:10px;
  }
  .fu-dark-body{
    padding:14px;
  }
  .fu-range-box input{
      padding:3px;
  }
}



.trade-header,
.trade-row {
  display: grid;
  grid-template-columns:
    1.5fr 1fr 1fr 1.2fr 1fr 0.8fr 2fr 1fr 1fr 0.8fr 1fr;
  gap: 10px;
  padding: 12px;
  align-items: center;
}

.trade-header {
  color: #8b90a0;
  border-bottom: 1px solid #1f2636;
}

.trade-row {
  border-bottom: 1px solid #1f2636;
}

.status.open { color: #2ecc71; }
.direction.put { color: #ff4d4f; font-weight: 600; }
.profit { color: #2ecc71; font-weight: 600; }




