 /* .main-header {
   height: 70px;
   background: rgba(15, 25, 50, 0.6);
   backdrop-filter: blur(12px);
   border-bottom: 1px solid rgba(255, 255, 255, 0.08);
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 12px 40px;
   font-family: "Segoe UI", sans-serif;
   
   position: fixed;
   z-index: 1000;
   
   box-shadow:
     0 10px 30px rgba(0, 0, 0, 0.5),
     0 0 40px rgba(0, 150, 255, 0.05);
   
   top: 0;
   left: 0;
   width: 100%;
   z-index: 1000;
   padding: 12px 40px;

   display: flex;
   justify-content: space-between;
   align-items: center;
 } */

 .main-header {
   height: 70px;
   background: rgba(15, 25, 50, 0.6);
   backdrop-filter: blur(12px);
   border-bottom: 1px solid rgba(255, 255, 255, 0.08);

   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 12px 40px;

   position: fixed;

   top: 0;
   left: 0;
   width: 100%;
   z-index: 1000;

   box-shadow:
     0 10px 30px rgba(0, 0, 0, 0.5),
     0 0 40px rgba(0, 150, 255, 0.05);
 }


 .main-header::before {
   content: "";
   position: absolute;
   inset: 0;
   background: linear-gradient(120deg,
       rgba(255, 255, 255, 0.05),
       transparent);
   pointer-events: none;
   z-index: 0;
 }


 .main-header:hover {
   border-bottom: 1px solid rgba(0, 200, 255, 0.4);
 }

 /* .logo {
   display: flex;
   align-items: center;
   font-size: 20px;
   font-weight: 700;
   cursor: pointer;
   background: rgba(255, 255, 255, 0.05);
   padding: 6px 14px;
 } */
 .logo {
   display: flex;
   align-items: center;
   font-size: 20px;
   font-weight: 700;
   cursor: pointer;
   padding: 0;
   height: auto;

   border-radius: 10px;


 }

 .logo-trade {
   color: #22c55e;
 }

 .logo-inr {
   color: #3b82f6;
   margin-left: 5px;
 }

 .nav-links {
   display: flex;
   gap: 35px;
   color: white;
   font-size: 15px;
   font-weight: 500;

 }

 .nav-links span {
   cursor: pointer;
   transition: 0.3s;
 }

 /* .nav-links span:hover {
   color: #60a5fa;
 } */


 .nav-links span {
   cursor: pointer;
   position: relative;
   transition: all 0.3s ease;
 }

 .nav-links span:hover {
   background: rgba(255, 255, 255, 0.05);
   border-radius: 8px;
   color: #00e5ff;
   text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
 }

 /* underline animation */
 .nav-links span::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: -4px;
   width: 0%;
   height: 2px;
   background: #00e5ff;
   transition: 0.3s;
 }

 .nav-links span:hover::after {
   width: 100%;
 }

 .header-right {
   display: flex;
   align-items: center;
   gap: 20px;
   position: relative;
 }

 /* .profile-icon {
   color: #facc15;
   font-size: 24px;
   cursor: pointer;
   transition: 0.3s;
 }

 .profile-icon:hover {
   color: #ffffff;
 } */
 .profile-icon {
   color: #facc15;
   font-size: 24px;
   cursor: pointer;
   transition: 0.3s;
 }

 .profile-icon:hover {
   color: #ffffff;
   text-shadow: 0 0 10px rgba(250, 204, 21, 0.8);
 }




 .theme-toggle {
   width: 42px;
   height: 22px;
   background: #2d3350;
   border-radius: 20px;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   color: white;
   font-size: 12px;
 }

 /* Dropdown */

 /* .profile-dropdown {
   position: absolute;
   top: 65px;
   right: 0;
   width: 240px;
   background: linear-gradient(145deg, #0f172a, #111827);
   border-radius: 10px;
   padding: 15px 0;
   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
   color: white;
   z-index: 1000;
   animation: fadeIn 0.2s ease-in-out;
 } */

 .profile-dropdown {
   position: absolute;
   top: 65px;
   right: 0;
   width: 240px;

   background: rgba(15, 25, 50, 0.8);
   backdrop-filter: blur(12px);

   border-radius: 12px;
   padding: 15px 0;

   border: 1px solid rgba(255, 255, 255, 0.08);

   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
   color: white;
 }



 .dropdown-header {
   padding: 0 20px 12px 20px;
   border-bottom: 1px solid #1f2937;
 }

 .dropdown-title {
   font-size: 13px;
   color: #9ca3af;
   margin: 0;
 }

 .user-email {
   font-size: 14px;
   font-weight: 600;
   color: #facc15;
   margin: 4px 0 0 0;
 }

 .dropdown-item {
   padding: 12px 20px;
   font-size: 14px;
   display: flex;
   align-items: center;
   gap: 12px;
   cursor: pointer;
   transition: 0.2s;
 }

 .dropdown-item:hover {
   background: #1f2937;
   color: #60a5fa;
 }

 .logout:hover {
   color: #ef4444;
 }



 .transactions-submenu {
   padding-left: 25px;
   background: rgba(255, 255, 255, 0.03);
 }

 .submenu-item {
   padding: 8px 0;
   font-size: 14px;
   cursor: pointer;
 }

 .submenu-item:hover {
   color: #7c5cff;
 }

 .nav-item-with-dropdown {
   position: relative;
 }

 .nav-transactions-dropdown {
   position: absolute;
   animation: dropdownFade 0.25s ease;
   top: 100%;
   margin-top: 10px;
   left: 0;
   background: rgba(15, 25, 50, 0.95);
   backdrop-filter: blur(12px);
   border: 1px solid rgba(255, 255, 255, 0.08);
   /* border-radius: 8px; */
   padding: 10px;
   border-radius: 14px;
   /* padding: 10px; */
   min-width: 220px;
   z-index: 2000;
   box-shadow:
     0 15px 35px rgba(0, 0, 0, 0.6),
     0 0 20px rgba(0, 150, 255, 0.1);

 }

 @keyframes dropdownFade {
   from {
     opacity: 0;
     transform: translateY(-8px);
   }

   to {
     opacity: 1;
     transform: translateY(0);
   }
 }


 .nav-transactions-dropdown div {
   padding: 12px 12px;
   border-radius: 8px;
   cursor: pointer;
   display: flex;
   align-items: center;
   gap: 10px;

   transition: all 0.25s ease;
 }

 .nav-transactions-dropdown div:hover {
   background: linear-gradient(135deg,
       rgba(0, 229, 255, 0.15),
       rgba(0, 229, 255, 0.05));

   transform: translateX(6px);
   /* 👈 slide feel */
   box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);

   color: #00e5ff;
 }


 .nav-transactions-dropdown div:not(:last-child) {
   border-bottom: 1px solid rgba(255, 255, 255, 0.05);
 }

 .nav-transactions-dropdown div:active {
   transform: scale(0.96);
 }



 .logo img {
   height: 40px;
   /* max-width: 140px; */
   max-width: none;
   object-fit: contain;
 }

 /* 🔥 NEW PREMIUM LOGO */
 .logo-img {
   height: 52px;
   /* 👈 बड़ा size */
   width: auto;
   object-fit: contain;
   transition: 0.3s;
 }



 .logo-img:hover {
   transform: scale(1.08);
   filter: drop-shadow(0 0 10px rgba(255, 200, 0, 0.6));
 }


 @keyframes fadeIn {
   from {
     opacity: 0;
     transform: translateY(-5px);
   }

   to {
     opacity: 1;
     transform: translateY(0);
   }
 }



 /* =========================
   MOBILE RESPONSIVE
========================= */



 @media (max-width: 768px) {

   .main-header {
     flex-direction: row;
     /* 🔥 FIX: column hatao */
     align-items: center;
     justify-content: space-between;
     padding: 12px 15px;
     flex-wrap: wrap;
     /* overflow: hidden; */
     /* allow wrap */
   }

   /* LOGO */
   .logo {
     height: 34px;
     font-size: 16px;
   }

   /* NAV + ICON SAME LINE */
   /* .nav-links {
     display: flex;
     align-items: center;
     gap: 12px;
     font-size: 13px;
     flex-wrap: wrap;
   } */

   /* .nav-links {
     position: fixed;
     top: 70px;
     left: 0;
     width: 100%;
     height: calc(100vh - 70px);

     background: rgba(15, 25, 50, 0.95);
     backdrop-filter: blur(10px);

     display: none;
     flex-direction: column;
     align-items: flex-start;

     padding: 20px 16px;

     gap: 14px;

     overflow-y: auto;
     z-index: 2000;

     box-sizing: border-box;
   } */
   /* .nav-links {
     position: fixed;
     top: 70px;
     left: -100%;


     width: 75%;

     height: calc(100vh - 70px);

     background: rgba(15, 25, 50, 0.98);
     backdrop-filter: blur(12px);

     display: flex;
     flex-direction: column;

     padding: 20px;
     gap: 12px;

     transition: left 0.35s ease;
     z-index: 3000;

     border-right: 1px solid rgba(255, 255, 255, 0.1);
     box-shadow: 20px 0 40px rgba(0, 0, 0, 0.6);
     will-change: left;
     transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
   } */
   .nav-links {
     display: none;
   }

   /* .nav-links.active {
     left: 0;
     
   } */

   .mobile-overlay {
     position: fixed;
     top: 70px;
     left: 0;

     width: 100%;
     height: calc(100vh - 70px);

     background: rgba(0, 0, 0, 0.5);
     z-index: 2500;
   }

   .nav-links span {
     width: 100%;
     padding: 14px 10px;
     border-bottom: 1px solid rgba(255, 255, 255, 0.08);
   }

   /* 🔥 IMPORTANT */
   .header-right {
     display: flex;
     align-items: center;
     margin-left: 10px;
   }

   .profile-icon {
     font-size: 20px;
   }
 }



 /* =========================
   EXTRA SMALL DEVICES
========================= */

 @media (max-width: 480px) {
   .main-header {
     padding: 12px 15px;
   }

   .logo {
     font-size: 16px;
   }

   .nav-links {
     font-size: 13px;
     gap: 10px;
   }

   .dropdown-item {
     padding: 10px 15px;
     font-size: 13px;
   }

   .user-email {
     font-size: 13px;
   }
 }



 /* HAMBURGER ICON */
 .hamburger {
   display: none;
   font-size: 22px;
   color: white;
   cursor: pointer;
 }

 /* MOBILE VIEW */
 @media (max-width: 768px) {

   /* SHOW HAMBURGER */
   .hamburger {
     display: block;
   }

   /* HIDE NORMAL MENU */
   /* .nav-links {
     position: fixed;

     top: 70px;
     left: 0;
     width: 100%;
     height: calc(100vh - 70px);
     
     background: rgba(15, 25, 50, 0.95);
     backdrop-filter: blur(10px);

     flex-direction: column;
     align-items: flex-start;

     padding: 15px;
     gap: 10px;

     display: none;
     overflow-y: auto;
     
     z-index: 2000;
   } */

   /* SHOW WHEN ACTIVE */
   .nav-links.active {
     display: flex;
   }

   .nav-links span {
     width: 100%;
     padding: 14px 10px;
     border-bottom: 1px solid rgba(255, 255, 255, 0.08);
   }

   .nav-item-with-dropdown {
     width: 100%;
   }

   .main-header {
     justify-content: space-between;
   }
 }











 /* ......keval mobile ke liey ..... */

 /* 🔥 MOBILE OVERLAY */
 .mobile-menu-overlay {
   position: fixed;
   top: 60px;
   /* header height */
   left: 0;
   width: 100%;
   height: calc(100vh - 60px);

   background: rgba(10, 20, 40, 0.95);
   backdrop-filter: blur(10px);

   z-index: 999;
   padding: 20px;
 }

 /* GRID */
 .mobile-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 18px;
 }

 /* CARD */
 .mobile-card {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;

   background: rgba(255, 255, 255, 0.05);
   border-radius: 14px;
   padding: 16px;

   font-size: 22px;
   color: white;
   transition: 0.3s;
 }

 .mobile-card span {
   font-size: 12px;
   margin-top: 6px;
   color: #ccc;
 }

 .mobile-card:hover {
   transform: scale(1.05);
   background: rgba(0, 229, 255, 0.1);
 }

 @media (min-width: 769px) {
   .mobile-menu-overlay {
     display: none;
   }
 }.hero {
  height: 75vh;
  background: radial-gradient(circle at top,
      #1e293b,
      #020617);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 140px;
  text-align: center;
  position: relative;
  /* padding: 20px; */
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 20px 40px;
  }
}

.hero h1 {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.2;
}

.hero h1 span {
  color: #facc15;
  /* yellow */
}

.hero p {
  margin-top: 20px;
  max-width: 600px;
  font-size: 15px;
  opacity: 0.8;
}

.hero button {
  margin-top: 40px;
  padding: 12px 36px;
  background: transparent;
  border: 1px solid white;
  border-radius: 30px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.hero button:hover {
  background: white;
  color: black;
}

.news {
  position: absolute;
  bottom: 30px;
  right: 40px;
  font-size: 14px;
  color: #facc15;
  cursor: pointer;
}






















































/* ================= MOBILE (<= 768px) ================= */
@media (max-width: 768px) {

  .hero {
    height: 75vh;
    /* 🔥 important */
    padding: 100px 20px 60px;
    /* header space + spacing */
  }

  .hero h1 {
    font-size: 28px;
    /* smaller heading */
    line-height: 1.3;
  }

  .hero p {
    font-size: 13px;
    max-width: 100%;
  }

  .hero button {
    padding: 10px 24px;
    font-size: 13px;
  }

  .news {
    position: static;
    /* 🔥 fix overlap issue */
    margin-top: 30px;
  }
}


/* ================= TABLET (769px - 1024px) ================= */
@media (max-width: 1024px) {

  .hero {
    padding: 120px 40px 80px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 14px;
  }
}/* Full page center */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

/* Card */
.login-card {
  background: #111827;
  padding: 40px;
  width: 380px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Title */
.login-card h2 {
  color: #ffffff;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

/* Input group */
.login-card input {
  width: 90%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  transition: 0.3s ease;
}

/* Input focus */
.login-card input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* Button */
.login-card button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

/* Button hover */
.login-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.login-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.login-card {
  background: #111827;
  padding: 40px;
  border-radius: 16px;
  width: 350px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.login-card h2 {
  color: white;
  margin-bottom: 20px;
}

.login-card input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: none;
  outline: none;
}

.login-card button {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.login-links {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.login-links span {
  color: #60a5fa;
  cursor: pointer;
}

.login-links span:hover {
  text-decoration: underline;
}


.password-box {
  position: relative;
}

.password-box input {
  width: 100%;
  padding-right: 40px; /* space for icon */
}

.eye-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.eye-icon:hover {
  color: #facc15;
}


input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}
/* .assets-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #020617, #020617);
  color: #e5e7eb;
  padding: 40px 60px;
} */

.progress-line {

  width: 100%;
  height: 6px;

  background: rgba(255, 255, 255, 0.06);

  border-radius: 20px;

  margin-top: 10px;

  overflow: hidden;
}

.progress-fill {

  height: 100%;

  border-radius: 20px;
}

.progress-fill.blue {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
}





@keyframes glowMove {

  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.08);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}




.top-mini-stats {

  margin-top: 30px;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}



.mini-stat-card {

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.06);

  border-radius: 18px;

  padding: 2px 20px;

  min-height: 10px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  backdrop-filter: blur(12px);

  transition: 0.3s;
}

.mini-stat-card:hover {

  transform: translateY(-4px);

  box-shadow:
    0 10px 30px rgba(0, 150, 255, 0.25);
}

.mini-stat-card p {

  color: #9ca3af;
  font-size: 14px;
}

.mini-stat-card h3 {

  margin-top: 10px;

  font-size: 28px;
}













.premium-glow {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  padding: 40px;
  text-align: center;

  border: 1px solid rgba(255, 255, 255, 0.15);

  box-shadow:
    0 0 40px rgba(0, 150, 255, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* 🔥 glowing ring */
.glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(255, 180, 0, 0.5);
  opacity: 0.5;
  animation: glowMove 6s ease-in-out infinite;
}







.assets-page {
  min-height: 100vh;
  background: radial-gradient(circle at top, #0a0f1f, #020617);
  color: #e5e7eb;
  padding: 40px 60px;
}



.assets-title {
  font-size: 26px;
  margin-bottom: 30px;
}

/* Overview */
.overview-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #020617;
  border: 1px solid #111827;
  padding: 24px;
  border-radius: 12px;
}

.overview-card h3 {
  margin-bottom: 6px;
}

.overview-card p {
  font-size: 14px;
  opacity: 0.7;
}

.balance {
  text-align: right;
}

.balance span {
  font-size: 13px;
  opacity: 0.6;
}

.balance strong {
  font-size: 20px;
}

/* Allocation */
.allocation-card {
  margin-top: 30px;
  background: #020617;
  border: 1px solid #111827;
  border-radius: 12px;
  padding: 40px;
  display: flex;
  gap: 60px;
  align-items: center;
}

.donut-wrapper {
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(#6366f1 0deg 360deg, #1f2933 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-center {
  width: 130px;
  height: 130px;
  background: #020617;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-center h4 {
  font-size: 14px;
}

.donut-center span {
  font-size: 12px;
  opacity: 0.6;
}

.allocation-info h4 {
  margin-bottom: 16px;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #6366f1;
  border-radius: 50%;
}

.allocation-value {
  margin-top: 40px;
}

.allocation-value strong {
  display: block;
  font-size: 16px;
}

.allocation-value span {
  font-size: 13px;
  opacity: 0.6;
}

/* Wallets */
.wallet-text {
  margin: 40px 0 20px;
  font-size: 14px;
  opacity: 0.6;
}

.wallet-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.wallet-card {
  background: #020617;
  border: 1px solid #111827;
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  position: relative;
}

.wallet-card h4 {
  margin-bottom: 6px;
}



.wallet-card p {
  font-size: 14px;
  opacity: 0.6;
}

.wallet-card span {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  opacity: 0.6;
}

/* .wallet-card:hover {
  border-color: #6366f1;
} */

.wallet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
}


/* .wallet-balance-card {
  background: #0f1b2d;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  text-align: center;
} */

.wallet-balance-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  padding: 30px;
  border-radius: 20px;
  margin-bottom: 30px;
  text-align: center;

  box-shadow:
    0 0 30px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(255, 255, 255, 0.03);
}




.wallet-balance-card h3 {
  margin-bottom: 10px;
  color: #aaa;
}

/* .wallet-balance-card h2 {
  color: #7c5cff;
  font-size: 28px;
} */

.wallet-balance-card h2 {
  color: #9ca3af;
  font-size: 16px;
  margin-bottom: 10px;
}



.assets-summary {
  margin-top: 40px;
  background: #0f1b32;
  padding: 25px;
  border-radius: 12px;
}

.asset-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #1c2b48;
  font-size: 16px;
}

.asset-row:last-child {
  border-bottom: none;
}

/* .total-assets-value {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
} */


.assets-heading {
  font-size: 20px;
  color: #facc15;
  margin-bottom: 10px;
}


.total-assets-value {
  font-size: 42px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.inr-value {
  font-size: 18px;
  color: #9ca3af;
}


.premium-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}



.highlight-profit {
  background: rgba(0, 255, 150, 0.08);
  border-radius: 12px;
  padding: 12px;
}

.profit {
  color: #00ffa3;
  text-shadow: 0 0 10px rgba(0, 255, 163, 0.8);
}

.loss {
  color: #ff4d4f;
}


.wallet-card.deposit {
  background: linear-gradient(135deg, #1e3a8a, #0ea5e9);
  height: 50%;
  /* width: 70%;
  margin-left: auto; */
  text-align: center;
  justify-content: center;
}

.wallet-card.withdraw {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  height: 50%;
  /* width: 70%;
  margin-right: auto; */
  text-align: center;
  justify-content: center;
}

.wallet-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 150, 255, 0.4);
}


/* 🔥 ALL ROWS = CARD STYLE */
.card-row {
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 12px;

  display: flex;
  justify-content: space-between;

  transition: all 0.3s ease;
  cursor: pointer;
}

.card-row:hover {
  transform: translateY(-4px) scale(1.01);
  background: rgba(255, 255, 255, 0.06);

  box-shadow: 0 10px 30px rgba(0, 150, 255, 0.25);
}


/* 🔵 default glow */
.card-row:hover {
  border: 1px solid rgba(0, 150, 255, 0.4);
}

/* 🟢 profit */
.highlight-profit {
  background: rgba(0, 255, 150, 0.08);
}

.highlight-profit:hover {
  box-shadow: 0 10px 30px rgba(0, 255, 150, 0.4);
}

/* 🟡 pending */
.pending span {
  color: #facc15;
  font-weight: 600;
}

.pending:hover {
  box-shadow: 0 10px 30px rgba(250, 204, 21, 0.4);
}




/* =========================
   TABLET (≤ 768px)
========================= */

@media (max-width: 768px) {
  .assets-page {
    padding: 20px;
  }

  .assets-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  /* Overview card stack */
  .overview-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .balance {
    text-align: left;
  }


  .wallet-card-content {

    margin-left: 12px;
  }

  /* Allocation card stack */
  .allocation-card {
    flex-direction: column;
    gap: 30px;
    padding: 20px;
  }

  .donut-wrapper {
    width: 180px;
    height: 180px;
  }

  .donut {
    width: 160px;
    height: 160px;
  }

  .donut-center {
    width: 100px;
    height: 100px;
  }



  /* Wallet grid becomes 1 column */
  .wallet-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;

  }

  /* .wallet-card {
    padding: 18px;
  } */

  .wallet-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;

    padding: 14px;
    cursor: pointer;
    position: relative;

    transition: all 0.3s ease;
    min-height: 100px;
    min-width: 0;
    overflow: hidden;
  }



  /* Summary */
  /* .assets-summary {
    padding: 18px;
  } */

  .assets-summary {
    margin-top: 40px;

    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);

    border-radius: 20px;
    padding: 25px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }


  /* .asset-row {
    font-size: 14px;
  } */

  .asset-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: none;
    font-size: 15px;
  }



  .total-assets-value {
    font-size: 20px;
  }
}


/* 🔥 COIN ICON */
.coin-icon {
  margin-right: 6px;
  vertical-align: middle;
}

/* USDT */
.coin-icon.usdt {
  color: #26a17b;
  font-size: 14px;
}

/* INR */
.coin-icon.inr {
  color: #facc15;
  font-size: 13px;
}



/* 🔥 LABEL ICON */
.label-icon {
  margin-right: 8px;
  font-size: 14px;
  vertical-align: middle;
  color: #00c6ff;
}

/* hover effect */
.card-row:hover .label-icon {
  transform: scale(1.2);
  transition: 0.3s;
  color: #38bdf8;
}



/* 🔥 BIG PREMIUM ACTION */
.premium-action {
  display: flex;
  /* justify-content: space-between; */
  justify-content: flex-start;
  text-align: left;
  align-items: center;

  padding: 25px 30px;
  border-radius: 20px;

  cursor: pointer;
  transition: all 0.3s ease;

  min-height: 110px;
}


.wallet-left {
  display: flex;
  align-items: center;
  gap: 15px;
}




.wallet-icon {
  width: 55px;
  height: 55px;

  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
  font-weight: bold;

  background: rgba(255, 255, 255, 0.1);
}

/* specific colors */
.deposit-icon {
  color: #38bdf8;
}

.withdraw-icon {
  color: #a855f7;
}


.wallet-card h3 {
  font-size: 20px;
  font-weight: 600;
}

.wallet-card p {
  font-size: 14px;
  opacity: 0.7;
}
















/* =========================
   MOBILE (≤ 480px)
========================= */

@media (max-width: 480px) {
  .assets-page {
    padding: 15px;
  }

  .assets-title {
    font-size: 20px;
  }

  .overview-card {
    padding: 16px;
  }

  .overview-card h3 {
    font-size: 16px;
  }

  .balance strong {
    font-size: 18px;
  }

  .allocation-card {
    padding: 15px;
  }

  .allocation-info h4 {
    font-size: 14px;
  }

  .row {
    font-size: 13px;
  }

  .wallet-text {
    font-size: 13px;
  }

  .wallet-card h4 {
    font-size: 15px;
  }





  .wallet-card p {
    font-size: 13px;
  }

  .wallet-card span {
    font-size: 18px;
  }

  .wallet-balance-card h2 {
    font-size: 22px;
  }

  .asset-row {
    font-size: 13px;
  }
}




@media (max-width: 768px) {

  .top-mini-stats {

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;

    margin-top: 20px;
  }

  .mini-stat-card {

    padding: 18px 16px;

    border-radius: 16px;

    min-height: 130px;

    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .mini-stat-card p {

    font-size: 13px;
  }

  .mini-stat-card h3 {

    font-size: 20px;

    margin-top: 8px;

    line-height: 1.2;

    word-break: break-word;
  }

  .premium-action {

    justify-content: center;

    text-align: center;

    padding: 18px 12px;
  }

  .wallet-left {

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 10px;

    width: 100%;
  }

  .wallet-card h3 {

    font-size: 18px;

    margin: 0;
  }

  .wallet-card p {

    font-size: 12px;

    margin-top: 4px;

    text-align: center;
  }

  .wallet-arrow {

    display: none;
  }

  .wallet-icon {

    width: 50px;
    height: 30px;

    font-size: 22px;
  }

}/* 🔥 PAGE */
.deposit-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0c1424, #111c2e);
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* Items ko upar se align karne ke liye */
  flex-wrap: wrap;
  /* Mobile par niche shift hone ke liye */
  gap: 20px;
  /* Dono boxes ke beech gap */
}


.amount-limit-text {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 10px;
  text-align: center;
}



/* 🔥 MAIN BOX */
.deposit-container {
  width: 100%;
  /* height: 50vh; */
  height: auto;
  max-width: 420px;
  background: #0f1a2d;
  border: 1px solid #1f2b40;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  margin: 10px;
  /* Dono boxes ke beech gap ke liye */
}

/* TITLE */
.deposit-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* STATUS */
.deposit-container h3 {
  font-size: 14px;
  margin-bottom: 15px;
}

/* INPUTS */
.deposit-container input {
  width: 100%;
  margin-bottom: 15px;
  padding: 14px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #1f2b40;
  background: #020617;
  color: white;
  outline: none;
  transition: 0.3s;
}

.deposit-container input:focus {
  border-color: #6c63ff;
  box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

/* FILE INPUT FIX */
.deposit-container input[type="file"] {
  padding: 10px;
}

/* BUTTON */
.deposit-container button {
  width: 100%;
  padding: 14px;

  background: linear-gradient(135deg, #6c63ff, #8b5cf6);
  border: none;
  border-radius: 30px;
  color: white;
  font-size: 15px;

  cursor: pointer;
  transition: 0.3s;
}

.deposit-container button:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 20px rgba(108, 99, 255, 0.4);
}

.balance-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: rgba(14, 203, 129, 0.08);
  border: 1px solid rgba(14, 203, 129, 0.3);

  padding: 14px;
  border-radius: 12px;

  margin-bottom: 15px;

  backdrop-filter: blur(6px);
}

.balance-label {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 4px;
}

.balance-amount {
  font-size: 20px;
  font-weight: 600;
  color: #0ecb81;
}

/* Default: desktop */
.bank-details {
  display: block;
}

.bank-toggle-btn {
  display: none;
}


/* Bank Details Section Improvements */
.bank-details {
  background: #0f1a2d;
  /* Solid background matches UI */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(4px);
}

.bank-details h2 {
  color: #fcd535;
  /* Gold/Yellow for prominence */
  font-size: 22px;
  margin-bottom: 25px;
  border-bottom: 1px solid #1f2b40;
  padding-bottom: 10px;
}

/* ------------- bank details ------------------ */
.bank-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 15px;
  background: rgba(2, 6, 23, 0.5);
  /* Slightly darker bg for rows */
  border-radius: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.bank-info-item:hover {
  background: rgba(255, 255, 255, 0.07);
  /* Hover effect */
}

.bank-info-item span:first-child {
  text-align: right;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.bank-info-item span:last-child {
  color: #ffffff;
  font-weight: 600;
  font-family: 'Courier New', Courier, monospace;
  /* Bank details often look better in mono */
  text-align: right;
}

.instructions-box {
  margin-top: 25px;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 12px;
  border-left: 4px solid #fcd535;
  /* Important marker */
}

.instructions-box p {
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 8px;
}





/* Mobile view */
@media (max-width: 768px) {
  .bank-details {
    display: none;
  }

  .bank-details.show {
    display: block;
  }

  .bank-toggle-btn {
    display: block;
    margin-top: 10px;
    background: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    width: 100%;
  }


  .deposit-page {
    padding: 30px 15px;
    height: 100vh;
  }

  .deposit-container {
    padding: 25px;
    height: auto;
  }

  .deposit-container {
    padding: 20px;
  }

  .deposit-container h2 {
    font-size: 20px;
  }


  /* .deposit-container input {
    padding: 12px;
    font-size: 20px !important;
  } */

  .deposit-container input[type="number"],
  .deposit-container input[type="text"] {
    height: 50px;
    /* fixed box height */
    padding: 0 18px;
    /* top-bottom padding hata do */
    font-size: 18px;
    /* sirf text bada */
    line-height: 55px;
    /* text center me */
  }

  .deposit-container button {
    font-size: 14px;
  }
}.withdraw-page {
  min-height: 100vh;
  background: #020617;
  color: #e5e7eb;
  padding: 40px 60px;
}

.withdraw-page h1 {
  font-size: 28px;
  margin-bottom: 30px;
}

/* Info */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.info-grid span {
  font-size: 13px;
  opacity: 0.6;
}

.info-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}

/* Form */
.withdraw-form {
  max-width: 620px;
  background: #020617;
  border: 1px solid #111827;
  border-radius: 14px;
  padding: 30px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.withdraw-form label {
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
}

.withdraw-form input,
.withdraw-form select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 999px;
  border: 1px solid #111827;
  background: #020617;
  color: white;
}

/* Amount */
.amount {
  margin-top: 20px;
}

.amount-box {
  position: relative;
}

.amount-box input {
  width: 100%;
}

.max {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #facc15;
  cursor: pointer;
  font-size: 13px;
}

.amount p {
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.6;
}

/* Button */
.withdraw-btn {
  margin-top: 30px;
  width: 100%;
  padding: 14px;
  background: #6366f1;
  border: none;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font-size: 14px;
}

.withdraw-btn:hover {
  opacity: 0.9;
}




.withdraw-form-box {
  margin-top: 40px;
  max-width: 600px;
  background: #0f1a2d;
  border: 1px solid #1f2b40;
  padding: 30px;
  border-radius: 16px;
}

.withdraw-form-box h3 {
  margin-bottom: 20px;
}

.form-group-in-withdraw {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group-in-withdraw label {
  margin-bottom: 8px;
  color: #9caecf;
}

.form-group-in-withdraw input,
.form-group-in-withdraw select {
  background: transparent;
  border: 1px solid #1f2b40;
  border-radius: 30px;
  padding: 14px 18px;
  font-size: 16px;
  color: white;
  outline: none;
}


.form-group-in-withdraw input:focus,
.form-group-in-withdraw select:focus {
  border-color: #6c63ff;
}

.withdraw-btn {
  background: #6c63ff;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.withdraw-btn:hover {
  background: #5a52e0;
}



.amount-limit-text-withdraw {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 6px;
}



.balance-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: rgba(14, 203, 129, 0.08);
  border: 1px solid rgba(14, 203, 129, 0.3);

  padding: 14px;
  border-radius: 12px;

  margin-bottom: 15px;

  backdrop-filter: blur(6px);
}

.balance-label {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 4px;
}

.balance-amount {
  font-size: 20px;
  font-weight: 600;
  color: #0ecb81;
}


.balance-box:hover {
  box-shadow: 0 0 12px rgba(14, 203, 129, 0.4);
  transition: 0.3s;
}


/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {

  .withdraw-page {
    padding: 25px 16px;
  }

  .withdraw-page h1 {
    font-size: 22px;
    margin-bottom: 24px;
  }

  /* INFO GRID */
  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .info-grid strong {
    font-size: 14px;
  }

  /* FORM */
  .withdraw-form,
  .withdraw-form-box {
    width: 100%;
    padding: 22px;
    border-radius: 14px;
  }

  /* ROW */
  .row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-group-in-withdraw input[type="number"] {
    height: 40px;
    padding: 0 16px;
    font-size: 18px;
    line-height: 55px;
    text-align: center;
  }

  .form-group-in-withdraw input[type="number"]::placeholder {
    font-size: 16px;
  }

  /* INPUTS */
  .withdraw-form input,
  .withdraw-form select,
  .form-group-in-withdraw input,
  .form-group-in-withdraw select {
    font-size: 16px;
    padding: 14px 16px;
    border-radius: 14px;
  }

  /* BUTTON */
  .withdraw-btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border-radius: 14px;
  }

  /* BALANCE BOX */
  .balance-box {
    padding: 16px;
  }

  .balance-amount {
    font-size: 18px;
  }

  /* MAX BUTTON */
  .max {
    right: 14px;
    font-size: 12px;
  }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

  .withdraw-page {
    padding: 20px 12px;
  }

  .withdraw-page h1 {
    font-size: 20px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .withdraw-form,
  .withdraw-form-box {
    padding: 18px;
  }



  .balance-amount {
    font-size: 16px;
  }

  .withdraw-btn {
    font-size: 14px;
  }

  .amount-limit-text-withdraw {
    font-size: 12px;
  }
}/* =========================
   PAGE
========================= */
.bank-page {
  min-height: 100vh;
  background: #020617;
  color: #fff;
  padding: 40px 60px;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* =========================
   CARD
========================= */
.bank-card {
  max-width: 500px;
  background: #0f172a;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 30px;
}

/* =========================
   FORM
========================= */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #9ca3af;
}

.form-group input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #1f2937;
  background: #020617;
  color: #fff;
  outline: none;
  transition: 0.2s;
}

.form-group input:focus {
  border-color: #6366f1;
}

/* =========================
   BUTTON
========================= */
.bank-btn {
  width: 100%;
  padding: 12px;
  background: #6366f1;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.bank-btn:hover {
  background: #4f46e5;
}

/* =========================
   TEXT
========================= */
.message {
  margin-top: 10px;
  font-size: 14px;
  color: #facc15;
}

.success {
  color: #22c55e;
}

.error {
  color: #ef4444;
}

.bank-details-card {
  margin-top: 20px;
  padding: 20px;
  border-radius: 10px;
  background: #131a2e;
  border: 1px solid #1f2c4d;
  width: 300px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.bank-row span:first-child {
  opacity: 0.7;
}

.bank-row span:last-child {
  font-weight: 500;
}


/* =========================
   TABLET
========================= */
@media (max-width: 768px) {
  .bank-page {
    padding: 25px;
  }

  .bank-card {
    padding: 20px;
    max-width: 100%;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 480px) {
  .bank-page {
    padding: 15px;
  }

  .bank-card {
    padding: 15px;
  }

  .form-group input {
    font-size: 13px;
    padding: 8px;
  }

  .bank-btn {
    padding: 10px;
    font-size: 14px;
  }
}/* =========================
   MAIN LAYOUT
========================= */
.layout {
  display: flex;
  min-height: 100vh;
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
  width: 220px;
  background: #0b1a33;
  color: white;
  padding: 15px;
}

/* =========================
   DASHBOARD CONTENT (🔥 FIXED)
========================= */
.dashboard-content {
  flex: 1;
  padding: 20px;

  display: flex;
  flex-direction: column; /* 🔥 STACK CARDS */
  align-items: center;    /* center */
}

/* =========================
   CARD DESIGN
========================= */
.profile-box,
.trading-card,
.volume-card {
  width: 100%;
  max-width: 420px;

  background: linear-gradient(145deg, #16213e, #0f1b32);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;

  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: 0.3s;
}

/* Hover */
.profile-box:hover {
  transform: translateY(-3px);
}

/* =========================
   HEADINGS
========================= */
.profile-box h2 {
  margin-bottom: 12px;
  font-size: 16px;
  color: #e6edf7;
}

/* =========================
   ROW DESIGN
========================= */
.profile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: 10px;
  font-size: 13px;
}

.profile-row span {
  color: #7f8db0;
}

.profile-row strong {
  color: #ffffff;
  text-align: right;
}

/* =========================
   VOLUME CARD SPECIAL
========================= */
.volume-card {
  text-align: center;
}

.volume-amount {
  font-size: 26px;
  font-weight: bold;
  color: #00ff9d;
  margin-top: 8px;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .dashboard-content {
    padding: 15px;
  }

  .profile-box {
    max-width: 100%;
  }
}

@media (max-width: 480px) {

  .dashboard-content {
    padding: 10px;
  }

  .profile-box {
    padding: 14px;
  }

  .profile-box h2 {
    font-size: 15px;
  }

  .profile-row {
    font-size: 12px;
  }

  .volume-amount {
    font-size: 22px;
  }
}.api-docs {
  display: flex;
  height: 100vh;
  background: #0d1117;
  color: white;
}

/* LEFT */
.sidebar {
  width: 250px;
  background: #161b22;
  padding: 20px;
}

.item {
  padding: 10px;
  cursor: pointer;
}

.item.active {
  background: #238636;
}

/* RIGHT */
.content {
  flex: 1;
  padding: 20px;
}

.tabs button {
  margin-right: 10px;
}

/* CODE */
.code-box {
  background: #010409;
  padding: 10px;
  margin-top: 10px;
}

pre {
  color: #00ff9f;
}/* .kyc-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0f172a;
}

.kyc-card {
  background: #1e293b;
  padding: 40px;
  width: 400px;
  border-radius: 12px;
  color: white;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.kyc-card h2 {
  text-align: center;
  margin-bottom: 25px;
}

.kyc-card label {
  display: block;
  margin-top: 15px;
  margin-bottom: 6px;
}

.kyc-card input {
  width: 100%;
  margin-bottom: 10px;
}

.submit-btn {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: none;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: white;
  cursor: pointer;
} */





/* CONTAINER */
.kyc-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: #0f172a; */
  padding: 20px; /* 👈 important for small screens */
}

/* CARD */
.kyc-card {
  background: #1e293b;
  padding: 40px;
  width: 400px;
  max-width: 100%; /* 👈 prevent overflow */
  border-radius: 12px;
  color: white;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* TEXT */
.kyc-card h2 {
  text-align: center;
  margin-bottom: 25px;
}

.kyc-card label {
  display: block;
  margin-top: 15px;
  margin-bottom: 6px;
}

/* INPUT */
.kyc-card input {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 6px;
  border: none;
  outline: none;
}

/* BUTTON */
.submit-btn {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: none;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: white;
  cursor: pointer;
  font-size: 15px;
}

/* ========================= */
/* 📱 MOBILE (<= 768px) */
/* ========================= */
@media (max-width: 768px) {

  .kyc-card {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
  }

  .kyc-card h2 {
    font-size: 18px;
  }

  .kyc-card input {
    padding: 8px;
    font-size: 14px;
  }

  .submit-btn {
    padding: 10px;
    font-size: 14px;
  }

}

/* ========================= */
/* 📲 TABLET (769px - 1024px) */
/* ========================= */
@media (max-width: 1024px) {

  .kyc-card {
    width: 80%;
    padding: 30px;
  }

}
/* 
.dashboard-page {
  min-height: 100vh;
  display: flex;
  background: #020617;
  color: white;
}

.dashboard-sidebar {
  width: 260px;
  background: #020617;
  border-right: 1px solid #111827;
  padding: 30px 20px;
}

.dashboard-sidebar h3 {
  margin-bottom: 20px;
  font-size: 16px;
  opacity: 0.7;
}

.dashboard-sidebar .item {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 14px;
}

.dashboard-sidebar .item:hover {
  background: #0f172a;
}

.dashboard-sidebar .active {
  background: #1e293b;
  color: #facc15;
}

.dashboard-content {
  flex: 1;
  padding: 40px;
  color: white;       
}

.profile-box {
  max-width: 400px;
  background: #020617;
  border: 1px solid #111827;
  border-radius: 12px;
  padding: 24px;
}

.profile-row {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 14px;
}

.profile-row span {
  opacity: 0.7;
}



.form-card {
  max-width: 520px;
  background: #020617;
  border: 1px solid #111827;
  border-radius: 16px;
  padding: 32px;
}

.form-card h2 {
  margin-bottom: 6px;
}

.form-sub {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 24px;
}

.form-card label {
  font-size: 13px;
  opacity: 0.8;
}

.form-card input {
  width: 100%;
  margin-top: 6px;
  margin-bottom: 30px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #111827;
  background: #020617;
  color: white;
}

.primary-btn {
  width: 100%;
  padding: 14px;
  background: #6d5dfc;
  border: none;
  border-radius: 999px;
  color: white;
  font-size: 15px;
  cursor: pointer;
}



.radio-group {
  display: flex;
  gap: 24px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.radio-group label {
  display: flex;
  gap: 6px;
  font-size: 14px;
}

.kyc-note {
  margin: 20px 0;
  font-size: 14px;
  opacity: 0.8;
}

.upload-box {
  margin-top: 8px;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px dashed #1e293b;
  border-radius: 12px;
  font-size: 13px;
  opacity: 0.7;
}

.upload-box p {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.6;
}
 */











 /* 🔥 GLOBAL */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: sans-serif;
  background: #020617;
  color: white;
}

/* =========================
   MAIN LAYOUT
========================= */
.dashboard-page {
  min-height: 100vh;
  display: flex;
  background: #020617;
}

/* =========================
   SIDEBAR (MODERN)
========================= */
.dashboard-sidebar {
  width: 250px;
  background: #020617;
  border-right: 1px solid #111827;
  padding: 25px 15px;
}

.dashboard-sidebar h3 {
  margin-bottom: 20px;
  font-size: 15px;
  opacity: 0.6;
}

.dashboard-sidebar .item {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dashboard-sidebar .item:hover {
  background: #0f172a;
}

.dashboard-sidebar .active {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #facc15;
}

/* =========================
   CONTENT AREA
========================= */
.dashboard-content {
  flex: 1;
  min-width: 0;
  padding: 40px;

  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* =========================
   CARD DESIGN (GLASS EFFECT)
========================= */
.profile-box,
.form-card {
  width: 100%;
  max-width: 420px;

  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid #1e293b;
  border-radius: 18px;
  padding: 28px;
  font-size: 17px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: 0.3s;
}

.email-input {
  font-size: 18px;
  padding: 12px;
}

.profile-box:hover,
.form-card:hover {
  transform: translateY(-3px);
}

/* =========================
   TEXT
========================= */
.profile-row {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 14px;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-row span {
  opacity: 0.6;
}

.profile-row strong {
  word-break: break-word;
}

/* =========================
   INPUT
========================= */
.form-card input {
  width: 100%;
  margin-top: 6px;
  margin-bottom: 25px;
  padding: 14px;

  border-radius: 12px;
  border: 1px solid #1e293b;
  background: #020617;
  color: white;

  outline: none;
  transition: 0.3s;
}

.form-card input:focus {
  border-color: #6d5dfc;
  box-shadow: 0 0 0 2px rgba(109,93,252,0.3);
}

/* =========================
   BUTTON
========================= */
.primary-btn {
  width: 100%;
  padding: 14px;

  background: linear-gradient(135deg, #6d5dfc, #8b5cf6);
  border: none;
  border-radius: 999px;
  color: white;
  font-size: 15px;

  cursor: pointer;
  transition: 0.3s;
}

.primary-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 20px rgba(109,93,252,0.4);
}

/* =========================
   MOBILE (🔥 BEST PART)
========================= */
/* @media (max-width: 768px) {

  .dashboard-page {
    flex-direction: column;
  }

  .dashboard-sidebar {
    width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
  }

  .dashboard-sidebar h3 {
    display: none;
  }

  .dashboard-sidebar .item {
    white-space: nowrap;
    margin-bottom: 0;
    font-size: 13px;
  }

  .dashboard-content {
    padding: 20px;
  }

  .profile-box,
  .form-card {
    max-width: 100%;
    padding: 20px;
  }
} */

@media (max-width: 768px) {

  .dashboard-page {
    flex-direction: column;
  }

  /* 🔥 sidebar → grid buttons */
  .dashboard-sidebar {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
    border-right: none;
    border-bottom: 1px solid #111827;
  }

  /* hide heading */
  .dashboard-sidebar h3 {
    display: none;
  }

  /* buttons */
  .dashboard-sidebar .item {
    margin: 0;
    padding: 12px;
    border-radius: 12px;
    background: #0f172a;
    text-align: center;
    font-size: 13px;
    transition: 0.3s;
  }

  /* hover */
  .dashboard-sidebar .item:hover {
    background: #1e293b;
  }

  /* active */
  .dashboard-sidebar .active {
    background: linear-gradient(135deg, #4da6ff, #00ffcc);
    color: black;
    font-weight: 600;
  }

  /* logout full width */
  .dashboard-sidebar .logout {
    grid-column: span 2;
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
  }

  /* content */
  .dashboard-content {
    padding: 15px;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {

  .dashboard-content {
    padding: 15px;
  }

  .profile-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-btn {
    font-size: 14px;
  }
}

/* Full Page Background */
.register-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at top, #0f172a, #020617);
  font-family: "Segoe UI", sans-serif;
}

/* Card */
.register-card {
  width: 440px;
  padding: 45px 40px;
  border-radius: 20px;
  background: rgba(17, 25, 40, 0.9);
  backdrop-filter: blur(15px);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
  color: white;
}

/* Title */
.register-card h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* First + Last name row */
.register-row {
  display: flex;
  gap: 15px;
}

/* Inputs */
.register-card input {
  width: 100%;
  padding: 12px 10px;
  margin-bottom: 18px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #334155;
  color: white;
  font-size: 14px;
  transition: all 0.3s ease;
}

.register-card input::placeholder {
  color: #94a3b8;
}

.register-card input:focus {
  border-bottom: 1px solid #8b5cf6;
  outline: none;
}

/* Button */
.register-btn {
  width: 100%;
  padding: 14px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: white;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.register-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

/* Bottom link */
.register-links {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
}

.register-links span {
  color: #facc15;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s ease;
}

.register-links span:hover {
  text-decoration: underline;
  color: #fde047;
}

/* Responsive */
@media (max-width: 500px) {
  .register-card {
    width: 90%;
    padding: 35px 25px;
  }

  .register-row {
    flex-direction: column;
    gap: 0;
  }
}


input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}.item.sub {
  padding-left: 25px;
  font-size: 14px;
  opacity: 0.9;
}.admin-container {
  padding: 20px;
  color: white;
}

/* Title */
.admin-title {
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Wrapper for scroll */
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
}

/* Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #0b132b;
  border-radius: 12px;
  overflow: hidden;
}

/* Header */
.admin-table thead {
  background: #1c2541;
}

.admin-table th {
  padding: 14px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  color: #cbd5e1;
}

/* Rows */
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #1c2541;
  font-size: 14px;
}

/* Hover effect */
.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
  transition: 0.2s;
}

/* Special columns */
.username {
  color: #38bdf8;
  font-weight: 500;
}

.email {
  color: #94a3b8;
}

.assets {
  color: #22c55e;
  font-weight: 600;
}

.volume {
  color: #00ff9d;
  font-weight: bold;
}

/* Loading & error */
.loading {
  color: #38bdf8;
}

.error {
  color: red;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .admin-title {
    font-size: 20px;
  }

  .admin-table th,
  .admin-table td {
    padding: 10px;
    font-size: 12px;
  }
}.container {
    padding: 30px;
    color: white;
}

.tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #222;
    margin-bottom: 20px;
}

.tab {
    cursor: pointer;
    padding-bottom: 10px;
}

.tab.active {
    border-bottom: 2px solid yellow;
}.listContainer {
    max-height: 70vh;
    overflow-y: auto;
    border: 1px solid #222;
}

.row {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #222;
}

.btn {
    padding: 6px 16px;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

.btn.on {
    background: #0ecb81;
}

.btn.off {
    background: #f6465d;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.col {
    flex: 1;
}

.digitInput {
    width: 80px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #444;
    background: #0b1220;
    color: white;
}.listContainer {
    max-height: 70vh;
    overflow-y: auto;
    border: 1px solid #222;
}

.row {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #222;
}

.btn {
    padding: 6px 16px;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

.btn.active {
    background: #0ecb81;
}

.btn.blocked {
    background: #f6465d;
}.wallet-table-container{
    margin-top:20px;
}

.wallet-table{
    width:100%;
    border-collapse:collapse;
    background:#0f1722;
    border-radius:8px;
    overflow:hidden;
}

/* HEADER */

.wallet-table thead{
    background:#111827;
}

.wallet-table th{
    padding:14px;
    text-align:left;
    color:#facc15;
    font-weight:600;
    border-bottom:1px solid #2a3441;
}

/* BODY */

.wallet-table td{
    padding:12px;
    border-bottom:1px solid #1e293b;
    color:#e5e7eb;
}

/* ROW HOVER */

.wallet-table tbody tr:hover{
    background:#172033;
    transition:0.2s;
}

/* TOTAL COLUMN */

.total-col{
    color:#22c55e;
    font-weight:600;
}

/* TOTAL ROW */

.total-row{
    background:#111827;
    font-weight:600;
}

.total-row td{
    padding:14px;
    color:#facc15;
    font-size:15px;
}

.total-assets{
    color:#22c55e;
    font-size:16px;
    font-weight:700;
}.wallet-adjustment-container{
    max-width:700px;
    margin-top:20px;
}

.wallet-adjustment-container h3{
    color:#facc15;
    margin-bottom:20px;
}

.adjustment-form{
    background:#0f172a;
    padding:25px;
    border-radius:10px;
    border:1px solid #1e293b;
}

/* FORM GROUP */

.form-group{
    margin-bottom:18px;
    display:flex;
    flex-direction:column;
}

.form-group label{
    margin-bottom:6px;
    color:#cbd5f5;
}

/* INPUTS */

.form-group input,
.form-group select,
.form-group textarea{

    padding:10px;
    border-radius:6px;
    border:1px solid #334155;
    background:#020617;
    color:white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    outline:none;
    border:1px solid #facc15;
}

/* BUTTON */

.adjust-btn{
    width:100%;
    padding:12px;
    background:#22c55e;
    border:none;
    color:white;
    font-weight:600;
    border-radius:6px;
    cursor:pointer;
}

.adjust-btn:hover{
    background:#16a34a;
}

/* RESPONSIVE */

@media(max-width:600px){

.adjustment-form{
    padding:15px;
}

.adjust-btn{
    font-size:14px;
}

}/* .admin-orders-container{
    margin-top:20px;
}

.admin-orders-container h3{
    color:#facc15;
    margin-bottom:20px;
}


.orders-table{
    width:100%;
    border-collapse:collapse;
    background:#0f172a;
    border-radius:8px;
    overflow:hidden;
}


.orders-table thead{
    background:#111827;
}

.orders-table th{
    padding:14px;
    text-align:left;
    color:#facc15;
    font-weight:600;
}


.orders-table td{
    padding:12px;
    border-bottom:1px solid #1e293b;
    color:#e5e7eb;
}



.orders-table tbody tr:hover{
    background:#172033;
    transition:0.2s;
}



.long{
    color:#22c55e;
    font-weight:600;
}

.short{
    color:#ef4444;
    font-weight:600;
}



@media(max-width:900px){

.orders-table{
    font-size:13px;
}

.orders-table th,
.orders-table td{
    padding:8px;
}

} */









.admin-orders-container{
    margin-top:20px;
}

/* HEADER */

.orders-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.orders-header h3{
    color:#facc15;
}

/* SEARCH */

.order-search{
    padding:8px 12px;
    border-radius:6px;
    border:1px solid #334155;
    background:#020617;
    color:white;
    width:220px;
}

.order-search:focus{
    outline:none;
    border:1px solid #facc15;
}

/* TABLE */

.orders-table{
    width:100%;
    border-collapse:collapse;
    background:#0f172a;
    border-radius:8px;
}

.orders-table th{
    padding:14px;
    color:#facc15;
    text-align:left;
}

.orders-table td{
    padding:12px;
    border-bottom:1px solid #1e293b;
}

.orders-table tbody tr:hover{
    background:#172033;
}

/* LONG SHORT */

.long{
    color:#22c55e;
    font-weight:600;
}

.short{
    color:#ef4444;
    font-weight:600;
}

/* RESPONSIVE */

@media(max-width:900px){

.orders-header{
flex-direction:column;
align-items:flex-start;
gap:10px;
}

.order-search{
width:100%;
}

.orders-table{
font-size:13px;
}

}



.total-row {
  border-top: 2px solid #444;
  margin-top: 10px;
  font-weight: bold;
}
.report-positions-container{
  width:100%;
  padding:20px;
  background:#0b1220;
  border-radius:10px;
}

.report-title{
  font-size:18px;
  margin-bottom:15px;
  color:#fff;
}

.report-table-header,
.report-table-row{

  display:grid;
  grid-template-columns:
  1.3fr 1.3fr 1fr 1fr 1.2fr
  1fr 1fr 1fr 1fr 1fr;

  padding:12px 0;
  align-items:center;
}

.report-table-header{
  font-size:13px;
  opacity:.6;
  border-bottom:1px solid #1e2a45;
}

.report-table-row{

  border-bottom:1px solid #1e2a45;
  font-size:14px;
}

.report-table-row:hover{
  background:#101a2f;
}

.profit{
  color:#1ecb81;
  font-weight:600;
}

.loss{
  color:#f6465d;
  font-weight:600;
}


/* responsive */

@media(max-width:1200px){

.report-table-header,
.report-table-row{

  grid-template-columns:
  1fr 1fr 1fr 1fr 1fr 1fr;

}

}/* Container */
.admin-report-table {
  width: 100%;
  padding: 20px;
  color: #fff;
}

/* Title */
.admin-report-table h3 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

/* Table Wrapper */
.table-wrapper {
  overflow-x: auto;
  background: #0b1220;
  border-radius: 10px;
  border: 1px solid #1f2a44;
}

/* Table */
.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

/* Header */
.table-wrapper thead {
  background: #111a2e;
}

.table-wrapper th {
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  color: #9fb3ff;
  border-bottom: 1px solid #1f2a44;
}

/* Rows */
.table-wrapper td {
  padding: 10px;
  border-bottom: 1px solid #1f2a44;
}

/* Zebra Effect */
.table-wrapper tbody tr:nth-child(even) {
  background: #0f172a;
}

/* Hover */
.table-wrapper tbody tr:hover {
  background: #1a2440;
  transition: 0.2s;
}

/* Fee Highlight */
.fee {
  color: #00ffa3;
  font-weight: 500;
}

/* Username */
.username {
  color: #4da3ff;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .table-wrapper table {
    font-size: 12px;
  }

  .table-wrapper th,
  .table-wrapper td {
    padding: 8px;
  }
}.admin-report{
padding:30px;
color:white;
}

.main-tabs{
display:flex;
gap:20px;
margin-bottom:20px;
border-bottom:1px solid #333;
}

.sub-tabs{
display:flex;
gap:20px;
margin-top:20px;
border-bottom:1px solid #333;
}

.tab{
padding:10px 15px;
cursor:pointer;
color:#aaa;
}

.tab.active{
color:#ffd700;
border-bottom:2px solid #ffd700;
}

.report-content{
margin-top:20px;
}/* Container */
.admin-history-container {
  padding: 30px;
  color: white;
}

/* Title */
.history-title {
  font-size: 22px;
  font-weight: 600;
  color: #f0b90b;
  margin-bottom: 20px;
}

/* Table Wrapper */
.table-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Table */
.history-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

/* Header */
.history-table thead {
  background: rgba(255, 255, 255, 0.05);
}

.history-table th {
  padding: 14px;
  text-align: left;
  font-size: 14px;
  color: #aaa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Rows */
.history-table td {
  padding: 14px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hover Effect */
.history-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
  transition: 0.3s;
}

/* Amount */
.amount-cell {
  font-weight: 600;
  color: #0ecb81;
}

/* Status */
.status {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  text-transform: capitalize;
}

.status.approved {
  background: rgba(14, 203, 129, 0.15);
  color: #0ecb81;
}

.status.pending {
  background: rgba(240, 185, 11, 0.15);
  color: #f0b90b;
}

.status.rejected {
  background: rgba(246, 70, 93, 0.15);
  color: #f6465d;
}

/* Responsive */
@media (max-width: 768px) {
  .history-title {
    font-size: 18px;
  }

  .history-table {
    font-size: 12px;
  }

  .history-table th,
  .history-table td {
    padding: 10px;
  }
}body {
  margin: 0;
  padding: 10px 15px;
}

/* =========================
   CONTAINER
========================= */
.openorders-positions-inner {
  width: 100%;
  padding: 10px;
}

/* =========================
   CANCEL BUTTON
========================= */
.openorders-cancel-all {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -20x;

}

/* .openorders-cancel-all button {
  background: #f6465d;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
} */

.openorders-rows {
  max-height: 250px;
  /* 👈 adjust karo */
  overflow-y: auto;
  padding-right: 5px;
  /* scrollbar space */
}

.openorders-rows::-webkit-scrollbar-thumb {
  background: #00ffa3;
  border-radius: 10px;
}

.order_cancel_button {
  margin-bottom: -20x;
}

.openorders-cancel-all button {
  background: rgba(255, 77, 79, 0.1);
  color: #ff4d4f;

  border: 1px solid rgba(255, 77, 79, 0.4);

  padding: 6px 14px;
  border-radius: 20px;

  box-shadow:
    0 0 10px rgba(255, 77, 79, 0.3);

  transition: 0.3s;
}

.openorders-cancel-all button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 77, 79, 0.7);
}

/* =========================
   TABLE HEADER (DESKTOP)
========================= */
.openorders-table-header {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  background: #1b2742;
  padding: 10px 0;
  font-size: 13px;
  color: #aaa;
  border-bottom: 1px solid #2a3b5f;
}

.openorders-table-header div {
  text-align: center;
}

/* =========================
   TABLE ROW (DESKTOP)
========================= */
/* .openorders-table-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid #1f2c4d;
  align-items: center;
  text-align: center;
} */
/* 
.openorders-table-row:hover {
  background: #16223d;
} */


.openorders-table-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);

  padding: 12px 16px;
  margin-bottom: 10px;

  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);

  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  align-items: center;
  text-align: center;

  transition: all 0.25s ease;
}

.openorders-table-row:hover {
  background: #16223d;
}

.openorders-table-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 255, 163, 0.3);

  box-shadow: 0 0 20px rgba(0, 255, 163, 0.15);

  transform: translateY(6px);
  /* 🔥 नीचे move */
}


.coin-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coin-logo {
  width: 22px;
  height: 22px;
}


.openorders-table-row div[data-label="Side"] {
  font-weight: 600;
  text-transform: uppercase;
}

.openorders-table-row div[data-label="Side"]:contains("buy") {
  color: #00ffa3;
}

.openorders-table-row div[data-label="Side"]:contains("sell") {
  color: #ff4d4f;
}




/* =========================
   ACTIONS
========================= */
.openorders-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  cursor: pointer;
}





















/* ==========================================================================
   📱 THE UNBREAKABLE MOBILE RESET FOR OPEN ORDERS (DELETE BUTTON AT BOTTOM)
   ========================================================================== */
@media (max-width: 768px) {

  /* 1. Desktop Header Block Hidden Completely */
  body .openorders-table-header {
    display: none !important;
  }

  /* 2. Base Card Framework Configuration */
  body .openorders-table-row {
    background: #121824 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 16px !important;
    padding: 16px !important;

    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    /* Perfect 3 Columns */
    gap: 14px 10px !important;
    padding-top: 56px !important;
    /* Fixed spacing for Top row elements */

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    position: relative !important;
    /* Anchor reference point */
    text-align: left !important;
    margin-bottom: 16px !important;
    transform: none !important;
  }

  /* 3. Horizontal Split Divider Line */
  body .openorders-table-row::after {
    content: "" !important;
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    top: 44px !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    display: block !important;
  }

  /* 4. CRITICAL CORE RESET: Pure Card Ke Saare Divs Aur Labels Pehle Saaf (Hide) Karo */
  body .openorders-table-row>div {
    display: none !important;
  }

  body .openorders-table-row>div::before {
    display: none !important;
    content: "" !important;
  }

  /* ==========================================================================
     TOP HEADER METADATA PINNING (ONLY COIN, LEVERAGE & DATE)
     ========================================================================== */

  /* A. Coin Pair Text (BTCUSDT) - Top Left */
  body .openorders-table-row>.coin-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    position: absolute !important;
    top: 14px !important;
    left: 16px !important;
    width: auto !important;
    height: auto !important;
    z-index: 5 !important;
  }

  body .openorders-table-row>.coin-info .coin-logo {
    display: none !important;
    /* Hides image icon on mobile */
  }

  body .openorders-table-row>.coin-info span {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1 !important;
  }

  /* B. Leverage Badge (Strict Position Right Next To Coin Text) */
  body .openorders-table-row>div[data-label="Leverage"] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: absolute !important;
    top: 13px !important;
    left: 115px !important;
    /* Strict spacing threshold after standard symbol */

    width: auto !important;
    height: 18px !important;
    padding: 2px 6px !important;

    background: rgba(37, 99, 235, 0.15) !important;
    border: 1px solid rgba(37, 99, 235, 0.4) !important;
    border-radius: 4px !important;
    color: #3b82f6 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    z-index: 5 !important;
  }

  /* C. Date & Time String - Top Right Side (Ab Poori Space Isko Milegi) */
  body .openorders-table-row>div[data-label="Date"] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    /* Fixed at absolute top right edge */
    width: auto !important;

    font-size: 11px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    z-index: 5 !important;
  }


  /* ==========================================================================
     BOTTOM MATRIX GRID FIELDS (DATA COLS + TRASH BUTTON AT BOTTOM)
     ========================================================================== */

  /* Re-enable display for 5 data fields AND the trash action button area */
  body .openorders-table-row>div[data-label="Side"],
  body .openorders-table-row>div[data-label="Type"],
  body .openorders-table-row>div[data-label="Price"],
  body .openorders-table-row>div[data-label="Size"],
  body .openorders-table-row>div[data-label="Margin"],
  body .openorders-table-row>.openorders-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
  }

  /* Inject subtitle labels ONLY for data fields (Trash/Action button text wrapper ko chhodkar) */
  body .openorders-table-row>div[data-label="Side"]::before,
  body .openorders-table-row>div[data-label="Type"]::before,
  body .openorders-table-row>div[data-label="Price"]::before,
  body .openorders-table-row>div[data-label="Size"]::before,
  body .openorders-table-row>div[data-label="Margin"]::before {
    display: block !important;
    content: attr(data-label) !important;
    font-size: 10px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 2px !important;
  }

  /* Grid Row 1 Allocations (Side, Type, Price) */
  body .openorders-table-row>div[data-label="Side"] {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body .openorders-table-row>div[data-label="Type"] {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  body .openorders-table-row>div[data-label="Price"] {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  /* Grid Row 2 Allocations (Size, Margin, AND Trash Button placed at Row 2, Col 3) */
  body .openorders-table-row>div[data-label="Size"] {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  body .openorders-table-row>div[data-label="Margin"] {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  /* D. Trash Icon Area Locked To Bottom Right Grid Cell */
  body .openorders-table-row>.openorders-actions {
    grid-column: 3 !important;
    grid-row: 2 !important;

    justify-content: center !important;

    align-items: center !important;

    height: 100% !important;
    position: static !important;
    /* Absolute override to force Grid behavior */
  }

  body .openorders-table-row>.openorders-actions .action-btn {
    background: transparent !important;
    border: none !important;
    font-size: 16px !important;
    /* Clean premium size */
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #ff4d4f !important;
    /* Sharp Red action indicator */
  }

  /* Trade Side Color States */
  body .openorders-table-row>div[data-label="Side"].buy {
    color: #00ffa3 !important;
  }

  body .openorders-table-row>div[data-label="Side"].sell {
    color: #ff4d4f !important;
  }
}/* Container */
.report-container {
  padding: 20px;
  background: #0b1320;
  min-height: 100vh;
  color: #fff;
}

/* Title */
.report-title {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Table Wrapper (scroll for mobile) */
.table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
}

/* Table */
.report-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

/* Header */
.report-table thead {
  background: linear-gradient(90deg, #1f1d1d, #58504ed0);
}

.report-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #fff;
}

/* Rows */
.report-table td {
  padding: 10px;
  border-bottom: 1px solid #1e2a3a;
}

/* Hover */
.report-table tbody tr:hover {
  background: #111c2e;
}

/* Positive / Negative */
.positive {
  color: #00ff9d;
  font-weight: bold;
}

.negative {
  color: #ff4d4f;
  font-weight: bold;
}

/* No data */
.no-data {
  text-align: center;
  padding: 20px;
  color: #aaa;
}

/* 🔥 Tablet Responsive */
@media (max-width: 992px) {
  .report-title {
    font-size: 20px;
  }

  .report-table th,
  .report-table td {
    padding: 8px;
    font-size: 14px;
  }
}

/* 🔥 Mobile Responsive (Card Style) */
@media (max-width: 600px) {
  .report-table thead {
    display: none;
  }

  .report-table,
  .report-table tbody,
  .report-table tr,
  .report-table td {
    display: block;
    width: 100%;
  }

  .report-table tr {
    margin-bottom: 15px;
    background: #111c2e;
    border-radius: 8px;
    padding: 10px;
  }

  .report-table td {
    text-align: right;
    padding: 8px;
    position: relative;
  }

  .report-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    text-align: left;
    font-weight: bold;
    color: #aaa;
  }
}.wallet-container {
  display: flex;
  height: 100vh;
  background: #0b1320;
  color: white;
}

/* LEFT SIDE */
.left {
  width: 25%;
  border-right: 1px solid #1e2a3a;
  overflow-y: auto;
  padding: 10px;
}

.user-item {
  padding: 10px;
  margin-bottom: 8px;
  background: #111c2e;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.user-item:hover {
  background: #1e2a3a;
}

.user-item.active {
  background: #ff7b7b;
  color: #fff;
}

/* RIGHT SIDE */
.right {
  width: 75%;
  padding: 20px;
  overflow-y: auto;
}

/* TABLE */
.table-wrapper {
  overflow-x: auto;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
}

.report-table th {
  background: #ff7b7b;
  padding: 10px;
}

.report-table td {
  padding: 10px;
  border-bottom: 1px solid #1e2a3a;
}

/* COLORS */
.positive {
  color: #00ff9d;
}

.negative {
  color: #ff4d4f;
}

/* MOBILE */
@media (max-width: 768px) {
  .wallet-container {
    flex-direction: column;
  }

  .left, .right {
    width: 100%;
  }
}.coinwise-container {
  display: flex;
  gap: 20px;
  padding: 10px;
}

/* LEFT PANEL */
.coin-list {
  width: 25%;
  background: #0f1b2b;
  padding: 15px;
  border-radius: 8px;
}

.coin-list h3 {
  color: #fff;
  margin-bottom: 10px;
}

/* COIN ITEM */
.coin-item {
  padding: 10px;
  margin: 6px 0;
  background: #1e2a38;
  color: #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.coin-item:hover {
  background: #2c3e50;
}

.coin-item.active {
  background: #ff6b6b;
  color: #fff;
}

/* RIGHT TABLE */
.trade-table {
  width: 75%;
}

.trade-table h3 {
  color: #fff;
  margin-bottom: 10px;
}

/* TABLE */
.trade-table table {
  width: 100%;
  border-collapse: collapse;
  background: #0f1b2b;
  border-radius: 8px;
  overflow: hidden;
}

.trade-table th {
  background: #1c2b3a;
  color: #ccc;
  padding: 12px;
  text-align: left;
  font-size: 14px;
}

.trade-table td {
  padding: 10px;
  border-bottom: 1px solid #1f2d3d;
  color: #ddd;
  font-size: 13px;
}

/* ROW HOVER */
.trade-table tr:hover {
  background: #1a2634;
}

/* BUY / SELL COLORS */
.buy {
  color: #00ff9d;
  font-weight: bold;
}

.sell {
  color: #ff4d4f;
  font-weight: bold;
}.container-userwisetadehistory {
  display: flex;
  gap: 20px;
  padding: 10px;
}

/* LEFT PANEL */
.user-list-userwisetadehistory {
  width: 25%;
  background: #0f1b2b;
  padding: 15px;
  border-radius: 8px;
}

.user-list-userwisetadehistory h3 {
  color: #fff;
  margin-bottom: 10px;
}

/* USER ITEM */
.user-item-userwisetadehistory {
  padding: 10px;
  margin: 6px 0;
  background: #1e2a38;
  color: #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.user-item-userwisetadehistory:hover {
  background: #2c3e50;
}

.user-item-userwisetadehistory.active {
  background: #ff6b6b;
  color: #fff;
}

/* RIGHT TABLE */
.table-userwisetadehistory {
  width: 75%;
}

.table-userwisetadehistory h3 {
  color: #fff;
  margin-bottom: 10px;
}

/* TABLE */
.table-userwisetadehistory table {
  width: 100%;
  border-collapse: collapse;
  background: #0f1b2b;
  border-radius: 8px;
  overflow: hidden;
}

.table-userwisetadehistory th {
  background: #1c2b3a;
  color: #ccc;
  padding: 12px;
  text-align: left;
  font-size: 14px;
}

.table-userwisetadehistory td {
  padding: 10px;
  border-bottom: 1px solid #1f2d3d;
  color: #ddd;
  font-size: 13px;
}

.table-userwisetadehistory tr:hover {
  background: #1a2634;
}

/* BUY / SELL COLORS */
.buy-userwisetadehistory {
  color: #00ff9d;
  font-weight: bold;
}

.sell-userwisetadehistory {
  color: #ff4d4f;
  font-weight: bold;
}.container-userwiseopen {
  display: flex;
  gap: 20px;
  padding: 10px;
}

/* LEFT */
.user-list-userwiseopen {
  width: 25%;
  background: #0f1b2b;
  padding: 15px;
  border-radius: 8px;
}

.user-item-userwiseopen {
  padding: 10px;
  margin: 6px 0;
  background: #1e2a38;
  color: #ccc;
  border-radius: 6px;
  cursor: pointer;
}

.user-item-userwiseopen.active {
  background: #ff6b6b;
  color: #fff;
}

/* RIGHT */
.table-userwiseopen {
  width: 75%;
}

.table-userwiseopen table {
  width: 100%;
  border-collapse: collapse;
  background: #0f1b2b;
}

.table-userwiseopen th {
  background: #1c2b3a;
  padding: 12px;
  color: #ccc;
}

.table-userwiseopen td {
  padding: 10px;
  border-bottom: 1px solid #1f2d3d;
}

/* COLORS */
.buy-userwiseopen { color: #00ff9d; }
.sell-userwiseopen { color: #ff4d4f; }

.profit-userwiseopen { color: #00ff9d; }
.loss-userwiseopen { color: #ff4d4f; }/* .category-container {
  padding: 20px;
  color: white;
}

.category-container h2 {
  margin-bottom: 20px;
  font-size: 24px;
}


.category-table {
  width: 100%;
  max-width: 500px;
  border-collapse: collapse;
  background: #0b132b;
  border-radius: 10px;
  overflow: hidden;
}

.category-table thead {
  background: #1c2541;
}

.category-table th {
  padding: 12px;
  text-align: left;
  color: #cbd5e1;
}

.category-table td {
  padding: 12px;
  border-bottom: 1px solid #1c2541;
}
.user-name {
  color: #38bdf8;
  font-weight: 500;
}

.category-table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.cat-name {
  font-weight: 600;
  color: #38bdf8;
}

.cat-amount {
  font-weight: bold;
  color: #00ff9d;
}

@media (max-width: 600px) {
  .category-table {
    font-size: 13px;
  }
} */












.category-container {
  padding: 20px;
  color: white;
}

.category-title {
  margin-bottom: 20px;
  font-size: 22px;
}

.category-table {
  width: 100%;
  border-collapse: collapse;
  background: #111a2e;
  border-radius: 10px;
  overflow: hidden;
}

.category-table th,
.category-table td {
  padding: 12px;
  text-align: center;
}

.category-table th {
  background: #1e2a45;
}

.category-table tr {
  border-bottom: 1px solid #222;
}

.category-table input {
  padding: 8px;
  width: 120px;
  border-radius: 6px;
  border: none;
  outline: none;
  text-align: center;
}

.save-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: #1ecb81;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}
.fee-container {
  padding: 20px;
  color: white;
}

.fee-title {
  margin-bottom: 20px;
  font-size: 22px;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: #111a2e;
  border-radius: 10px;
  overflow: hidden;
}

.fee-table th,
.fee-table td {
  padding: 12px;
  text-align: center;
}

.fee-table th {
  background: #1e2a45;
}

.fee-table tr {
  border-bottom: 1px solid #222;
}

.fee-table input {
  padding: 8px;
  width: 100px;
  border-radius: 6px;
  border: none;
  text-align: center;
}

.save-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: #1ecb81;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}.settings-page {
  padding: 30px;
  color: white;
}

.settings-page h2 {
  margin-bottom: 20px;
}

.settings-form {
  max-width: 400px;
}

.form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-size: 14px;
}

.form-group input {
  padding: 8px;
  border-radius: 4px;
  border: none;
  outline: none;
}

.save-btn {
  padding: 8px 16px;
  background: white;
  color: black;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}.admin-dashboard {
  display: flex;
  min-height: 100vh;
  margin-top: -80px; 
  background: #020617;
  color: #e5e7eb; /* ✅ GLOBAL TEXT COLOR */
}

/* Sidebar */
.admin-sidebar {
  width: 240px;
  background: #020617;
  border-right: 1px solid #111827;
  padding: 24px;
  color: #e5e7eb; /* ✅ SIDEBAR TEXT */
}

.admin-sidebar h3 {
  margin-bottom: 24px;
  color: #ffffff; /* ✅ heading bright */
}

/* Sidebar items */
.admin-sidebar .item {
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.85;
  color: #e5e7eb; /* ✅ item text */
}

.admin-sidebar .item:hover {
  background: #111827;
  opacity: 1;
}

.admin-sidebar .active {
  background: #111827;
  opacity: 1;
}

/* Logout */
.admin-sidebar .logout {
  color: #f87171;
}

/* Content area */
.admin-content {
  flex: 1;
  padding: 40px;
  color: #e5e7eb; /* ✅ CONTENT TEXT */
}
.mail-container {
  padding: 20px;
  background: #0b1120;
  color: white;
  min-height: 100vh;
}

.mail-container h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

/* FORM GRID */
.mail-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* EACH FIELD */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 6px;
  font-size: 14px;
  color: #cbd5e1;
}

.form-group input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #020617;
  color: white;
  outline: none;
}

.form-group input:focus {
  border-color: #6366f1;
}

/* BUTTON */
.save-btn {
  margin-top: 25px;
  padding: 10px 20px;
  background: #6366f1;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  float: right;
}

.save-btn:hover {
  background: #4f46e5;
}










.mail-container {
  padding: 20px;
  background: #0b1120;
  color: white;
  min-height: 100vh;
}

.mail-container h2 {
  margin-bottom: 20px;
}

/* 🔥 TABS */
.settings-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #1e293b;
}

.tab {
  padding: 10px 15px;
  cursor: pointer;
  color: #94a3b8;
}

.tab.active {
  color: #facc15;
  border-bottom: 2px solid #facc15;
}

.tab:hover {
  color: white;
}

/* FORM GRID */
.mail-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* INPUT GROUP */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 6px;
  color: #cbd5e1;
}

.form-group input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #020617;
  color: white;
}

/* BUTTON */
.save-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: #6366f1;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  float: right;
}

.save-btn:hover {
  background: #4f46e5;
}

.tab-content {
  padding: 20px 0;
}.notification-container {
  margin-top: 20px;
}

/* ROW */
.toggle-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #020617;
  padding: 12px 15px;
  border: 1px solid #334155;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* SWITCH */
.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 24px;
}

.switch input {
  display: none;
}

/* SLIDER */
.slider {
  position: absolute;
  cursor: pointer;
  background-color: #475569;
  border-radius: 24px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

/* ACTIVE */
.switch input:checked + .slider {
  background-color: #6366f1;
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* BUTTON */
.save-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: #6366f1;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
}

.save-btn:hover {
  background: #4f46e5;
}.sub-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  border-bottom: 1px solid #222;
}

.tab {
  padding: 8px 12px;
  cursor: pointer;
  color: #aaa;
}

.tab.active {
  color: #f0b90b;
  border-bottom: 2px solid #f0b90b;
}

.big-textarea {
  width: 100%;
  height: 180px;
  padding: 12px;
  background: #0b1220;
  border: 1px solid #2a3441;
  color: white;
  border-radius: 6px;
  resize: none;
}.mail-form {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #aaa;
  margin-bottom: 5px;
  font-size: 13px;
}

.form-group input {
  padding: 8px;
  background: #0b1220;
  border: 1px solid #2a3441;
  color: white;
  border-radius: 4px;
}.sms-noti-container {
  background: #0b1220;
  padding: 30px;
  border-radius: 10px;
  color: white;
}

.noti-list {
  margin-top: 20px;
}

.noti-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #020617;
  border: 1px solid #1e293b;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.toggle {
  width: 50px;
  height: 25px;
  background: #334155;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
}

.toggle::before {
  content: "";
  width: 20px;
  height: 20px;
  background: white;
  position: absolute;
  top: 2.5px;
  left: 3px;
  border-radius: 50%;
  transition: 0.3s;
}

.toggle.active {
  background: #6366f1;
}

.toggle.active::before {
  transform: translateX(24px);
}

.btn-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.save-btn {
  background: #6366f1;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}.sms-content-container {
  background: #0b1220;
  padding: 30px;
  border-radius: 10px;
  color: white;
}

.sub-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.tab {
  cursor: pointer;
  color: #94a3b8;
}

.tab.active {
  color: #facc15;
  border-bottom: 2px solid #facc15;
}

.big-textarea {
  width: 100%;
  height: 150px;
  background: #020617;
  border: 1px solid #1e293b;
  color: white;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.small-inputs {
  display: flex;
  gap: 10px;
}

.small-inputs input {
  flex: 1;
  padding: 10px;
  background: #020617;
  border: 1px solid #1e293b;
  color: white;
  border-radius: 6px;
}

.save-btn {
  margin-top: 20px;
  background: #6366f1;
  padding: 10px 20px;
  border: none;
  color: white;
  border-radius: 6px;
}.sms-container {
  background: #0b1220;
  padding: 30px;
  border-radius: 10px;
  color: white;
}

.sms-container h2 {
  margin-bottom: 20px;
}

.sms-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  margin-bottom: 6px;
  font-size: 14px;
  color: #cbd5e1;
}

.form-group input,
.form-group select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #1e293b;
  background: #020617;
  color: white;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #6366f1;
}

.btn-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.save-btn {
  background: #6366f1;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.save-btn:hover {
  background: #4f46e5;
}.admin-referral-main {
  width: 100%;
  min-height: 100vh;
  background: #020817;
  padding: 24px;
}

.admin-referral-main h2 {
  color: white;
  font-size: 38px;
  margin-bottom: 24px;
}

.main-tabs {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.tab {
  color: #94a3b8;
  cursor: pointer;
  padding-bottom: 10px;
  white-space: nowrap;
  transition: 0.2s;
}

.tab:hover {
  color: white;
}

.tab.active {
  color: #facc15;
  border-bottom: 2px solid #facc15;
}

.referral-content {
  margin-top: 20px;
}.bank-history-container {
  padding: 20px;
  color: #e5e7eb;
}

/* Title */
.bank-history-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: #f0b90b;
}

/* Wrapper */
.table-wrapper {
  overflow-x: auto;
}

/* Table */
.bank-history-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
}

/* Header */
.bank-history-table thead {
  background: #1e293b;
}

.bank-history-table th {
  padding: 12px;
  text-align: left;
  font-size: 14px;
  color: #94a3b8;
}

/* Rows */
.bank-history-table td {
  padding: 12px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Hover effect */
.bank-history-table tr:hover {
  background: rgba(255,255,255,0.05);
  transition: 0.3s;
}

/* Special styles */
.account {
  color: #00ffa3;
}

.reason {
  color: #f6465d;
}

/* No data */
.no-data {
  text-align: center;
  padding: 20px;
  color: #64748b;
}.admin-helpdesk-container {
  width: 85%;
  margin: auto;
}

.admin-helpdesk-title {
  color: white;
  margin-bottom: 25px;
  font-size: 38px;
  font-weight: 700;
}

.admin-helpdesk-table-wrapper {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid #1e293b;
  background: #081028;
}

.admin-helpdesk-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-helpdesk-table thead {
  background: #1e293b;
}

.admin-helpdesk-table th {
  padding: 16px;
  text-align: left;
  color: #38bdf8;
  font-size: 14px;
  border-bottom: 1px solid #334155;
}

.admin-helpdesk-table td {
  padding: 16px;
  color: #e2e8f0;
  border-bottom: 1px solid #1e293b;
  font-size: 14px;
}

.admin-helpdesk-table tbody tr:hover {
  background: rgba(30, 41, 59, 0.4);
}

.pending-btn-admin-helpdesk {
  background: #f59e0b;
  color: white;
  border: none;
  padding: 7px 16px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.closed-btn-admin-helpdesk {
  background: #22c55e;
  color: white;
  border: none;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
}



.admin-helpdesk-container {
  width: 92%;
  margin: auto;
  padding-top: 20px;
}

.admin-helpdesk-title {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.admin-helpdesk-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 14px;
  background: #0f172a;
  border: 1px solid #1e293b;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
}

.admin-helpdesk-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-helpdesk-table thead {
  background: #1e293b;
}

.admin-helpdesk-table th {
  padding: 18px 14px;
  text-align: left;
  color: #38bdf8;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid #334155;
  white-space: nowrap;
}

.admin-helpdesk-table td {
  padding: 18px 14px;
  color: #f1f5f9;
  font-size: 14px;
  border-bottom: 1px solid #1e293b;
  vertical-align: middle;
}

.admin-helpdesk-table tbody tr {
  transition: 0.3s;
}

.admin-helpdesk-table tbody tr:hover {
  background: rgba(30, 41, 59, 0.45);
}

.admin-helpdesk-table tbody tr:last-child td {
  border-bottom: none;
}

/* CLOSE BUTTON */

.pending-btn-admin-helpdesk {
  background: #ff4d4f;
  color: white;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: 0.3s;
}

.pending-btn-admin-helpdesk:hover {
  background: #e63b3d;
  transform: translateY(-1px);
}

/* CLOSED BUTTON */

.closed-btn-admin-helpdesk {
  background: #22c55e;
  color: white;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

/* EMPTY DATA */

.no-data-admin-helpdesk {
  color: #94a3b8;
  text-align: center;
  margin-top: 30px;
  font-size: 18px;
}

/* RESPONSIVE */

@media (max-width: 1200px) {

  .admin-helpdesk-container {
    width: 98%;
  }

  .admin-helpdesk-table th,
  .admin-helpdesk-table td {
    padding: 14px 10px;
    font-size: 13px;
  }

}.sendmail-container {
  max-width: 600px;
  color: white;
}

.select-all {
  margin-bottom: 10px;
}

.user-list {
  max-height: 180px;
  overflow-y: auto;
  background: #1e2a38;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.user-item {
  margin-bottom: 5px;
}

.input-box {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: none;
  color: white;
}

.textarea-box {
  width: 230%;
  height: 450px;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: none;
}

.send-btn {
  padding: 8px 20px;
  background: #ff6b6b;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}

.send-btn:hover {
  background: #ff4c4c;
}.admin-help-container {
  padding: 30px;
  background-color: #020817;
  min-height: 100vh;
  color: white;
}

.admin-help-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: 32px;
  font-weight: 700;
}

.table-wrapper-admin-help {
  overflow-x: auto;
}

.admin-help-table {
  width: 100%;
  border-collapse: collapse;
  background: #0f172a;
  border-radius: 10px;
  overflow: hidden;
}

.admin-help-table thead {
  background: #1e293b;
}

.admin-help-table th {
  padding: 15px;
  text-align: left;
  color: #38bdf8;
  font-size: 15px;
  border-bottom: 1px solid #334155;
}

.admin-help-table td {
  padding: 14px;
  border-bottom: 1px solid #1e293b;
  color: #e2e8f0;
  font-size: 14px;
}

.admin-help-table tr:hover {
  background-color: #172033;
}

.admin-help-image-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.admin-help-image {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #334155;
}

.admin-help-image-buttons {
  display: flex;
  gap: 6px;
}

.view-image-btn,
.download-image-btn {
  text-decoration: none;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.view-image-btn {
  background: #0ea5e9;
  color: white;
}

.view-image-btn:hover {
  background: #0284c7;
}

.download-image-btn {
  background: #22c55e;
  color: white;
}

.download-image-btn:hover {
  background: #16a34a;
}

.close-ticket-btn {
  background: #ef4444;
  color: white;
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.close-ticket-btn:hover {
  background: #dc2626;
}

.closed-text {
  color: #22c55e;
  font-weight: 700;
}

/* UserActivity.css */

.user-activity-container {
  width: 100%;
  padding: 20px;
  overflow-x: auto;
  background: #0f172a;
  min-height: 100vh;
  color: white;
}

.user-activity-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.activity-table {
  width: 100%;
  border-collapse: collapse;
  background: #111827;
  border-radius: 12px;
  overflow: hidden;
}

.activity-table thead {
  background: #1e293b;
}

.activity-table th {
  padding: 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
  border-bottom: 1px solid #334155;
}

.activity-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid #1e293b;
  color: #f1f5f9;
}

.activity-table tbody tr {
  transition: background 0.2s ease;
}

.activity-table tbody tr:hover {
  background: #1e293b;
}

.activity-badge {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

/* Activity Colors */

.activity-login {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.activity-failed {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.activity-trade {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.activity-deposit {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.activity-withdraw {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
}

/* Responsive */

@media (max-width: 768px) {

  .user-activity-title {
    font-size: 22px;
  }

  .activity-table th,
  .activity-table td {
    padding: 10px;
    font-size: 12px;
  }
}.admin-markets {

  width: 100%;
  min-height: 100vh;
  background: #020817;
  padding: 24px;
  color: white;
}

.admin-markets h2 {

  font-size: 34px;
  margin-bottom: 24px;
}

.admin-market-table-wrapper {

  overflow-x: auto;
}

.admin-market-table {

  width: 100%;
  border-collapse: collapse;
}

.admin-market-table th {

  background: #111827;
  padding: 14px;
  color: #00c6ff;
  text-align: left;
}

.admin-market-table td {

  padding: 14px;
  border-bottom: 1px solid #1e293b;
}

.admin-market-table tr:hover {

  background: rgba(255,255,255,0.03);
}

.coin-box {

  display: flex;
  align-items: center;
  gap: 10px;
}

.coin-logo {

  width: 28px;
  height: 28px;
}

.green {

  color: #22c55e;
  font-weight: 600;
}

.red {

  color: #ef4444;
  font-weight: 600;
}.change-container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0f172a;
}

.change-card {
  background: #1e293b;
  padding: 40px;
  border-radius: 12px;
  width: 350px;
  color: white;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.change-card h2 {
  text-align: center;
  margin-bottom: 20px;
}

.change-card input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: none;
}

.change-card button {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: none;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: white;
  cursor: pointer;
}

.message {
  margin-top: 15px;
  text-align: center;
}


.input-wrapper-change-pass {
  position: relative;
  width: 100%;
  margin-bottom: 15px;

}

.input-wrapper-change-pass input {
  width: 100%;
  padding: 10px 40px 10px 10px; /* right space for icon */
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid #2a2f45;
  background: transparent;
  color: white;
  font-size: 19px;
}

.eye-icon-change-pass {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
}



.otp-btn {
  width: 50%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 16px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(90deg, #04f0a1, #2f06d3);
  color: rgb(245, 249, 250);
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 12px; 
}

.otp-btn:hover {
  opacity: 0.9;
}

.otp-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}/* =========================
   PAGE
========================= */
.transactions-page {
  padding: 40px;
  background: linear-gradient(145deg, #0f1b32, #0d1628);
  min-height: 100vh;
  color: white;
}



.premium-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;

  background: linear-gradient(90deg, #f0b90b, #ffdd55);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 20px rgba(240, 185, 11, 0.4);
  position: relative;
}

.premium-title::after {
  content: "";
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #f0b90b, #ffdd55);
  display: block;
  margin: 10px auto;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(240, 185, 11, 0.6);
}


.table-container {
  overflow-x: auto;
  border-radius: 16px;

  background: rgba(20, 30, 60, 0.4);
  backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  padding: 15px;

  box-shadow:
    0 0 40px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(255, 255, 255, 0.03);
}

.transactions-table tbody tr {
  transition: all 0.3s ease;
  border-radius: 10px;
}

.transactions-table tbody tr:hover {
  transform: scale(1.01);
  background: rgba(255, 255, 255, 0.03);

  box-shadow: 0 0 20px rgba(0, 255, 163, 0.15);
}


.amount {
  font-weight: 700;
  font-size: 15px;

  background: linear-gradient(90deg, #f0b90b, #ffdd55);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 10px rgba(240, 185, 11, 0.6);
}


.status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;

  backdrop-filter: blur(10px);
}

/* approved */
.status.approved {
  background: rgba(0, 255, 163, 0.1);
  color: #00ffa3;
  box-shadow: 0 0 10px rgba(0, 255, 163, 0.4);
}

/* rejected */
.status.rejected {
  background: rgba(255, 77, 79, 0.1);
  color: #ff4d4f;
  box-shadow: 0 0 10px rgba(255, 77, 79, 0.4);
}

/* pending */
.status.pending {
  background: rgba(240, 185, 11, 0.1);
  color: #f0b90b;
  box-shadow: 0 0 10px rgba(240, 185, 11, 0.4);
}

.transactions-table thead {
  background: linear-gradient(90deg, #1b2742, #16213e);
}

.transactions-table th {
  color: #f0b90b;
  font-weight: 600;
  letter-spacing: 0.5px;
}





/* Title */
.transactions-title {
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: 600;
}

/* Table container */
.table-container {
  overflow-x: auto;
  border-radius: 12px;
  background: #121c33;
  padding: 10px;
}

/* Table */
.transactions-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  /* important */
}

/* Header */
.transactions-table thead {
  background: #1b2742;
}

.transactions-table th {
  padding: 14px;
  text-align: left;
  font-size: 14px;
  color: #aaa;
  border-bottom: 1px solid #2a3b5f;
}

/* Rows */
.transactions-table td {
  padding: 14px;
  border-bottom: 1px solid #1f2c4d;
  font-size: 14px;
}

/* Hover */
.transactions-table tbody tr:hover {
  background: #16223d;
}

/* Amount */
.amount {
  font-weight: 600;
  color: #f0b90b;
}

/* Status */
.status {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status.approved {
  background: rgba(14, 203, 129, 0.1);
  color: #0ecb81;
}

.status.rejected {
  background: rgba(246, 70, 93, 0.1);
  color: #f6465d;
}

.status.pending {
  background: rgba(240, 185, 11, 0.1);
  color: #f0b90b;
}



.filter-bar-deposit-transactions {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 10px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);

  padding: 10px;
  border-radius: 12px;

  margin-bottom: 15px;

  backdrop-filter: blur(12px);
}

.filter-left-deposit-transactions,
.filter-right-deposit-transactions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-left-deposit-transactions label {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
}

.filter-bar-deposit-transactions input {
  width: 110px;
  height: 30px;

  background: #111827;
  border: 1px solid #1f2937;

  color: #fff;

  border-radius: 6px;

  padding: 0 8px;

  font-size: 11px;

  outline: none;
}

.filter-bar-deposit-transactions input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

.filter-bar-deposit-transactions button {
  height: 30px;
  min-width: 60px;

  border: none;
  border-radius: 6px;

  background: linear-gradient(135deg, #00ffa3, #00c6ff);

  color: #02111b;

  font-size: 11px;
  font-weight: 600;

  cursor: pointer;

  padding: 0 10px;

  transition: all 0.3s ease;
}

.filter-bar-deposit-transactions button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #00e091, #00b8f5);
  box-shadow: 0 0 18px rgba(0, 255, 163, 0.45);
  opacity: 0.92;
}

  .filter-left-deposit-transactions input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.8;
  }


/* =========================
   TABLET
========================= */
@media (max-width: 768px) {
  .transactions-page {
    padding: 20px;
  }

  .transactions-title {
    font-size: 22px;
  }

  .transactions-table {
    min-width: 600px;
    /* important */
    width: 100%;
  }

  .transactions-table th,
  .transactions-table td {
    padding: 6px;
    font-size: 11px;
    white-space: nowrap;
    word-break: break-word;
    width: 20%;
    text-align: center;
    /* text-overflow: ellipsis; */
    overflow: hidden;
  }

  .table-container {
    overflow-x: hidden !important;
    padding: 0;
  }

  .transactions-table {
    width: 100%;
    min-width: 100% !important;
    table-layout: fixed;
  }


  .transactions-table tr {
    /* display: block; */
    background: linear-gradient(145deg, #16213e, #0f1b32);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }

  /* 🔥 PERFECT GRID ALIGNMENT */
  .transactions-table td {
    gap: 8px;
    padding: 6px 0;
    border: none !important;
    font-size: 12px;
    align-items: center;
  }

  /* COLUMN NAME (LEFT SIDE) */
  .transactions-table td::before {
    color: #7f8db0;
    font-size: 11px;
    font-weight: 500;
    text-align: left;
  }

  /* VALUE (RIGHT SIDE) */
  .transactions-table td span,
  .transactions-table td {
    color: #e6edf7;
    text-align: right;
  }

  /* AMOUNT */
  .amount {
    white-space: nowrap;
    color: #f0b90b;
    font-weight: 600;
  }

  /* STATUS BADGE */
  .status {
    font-size: 5px;
    padding: 2px 8px;
    border-radius: 8px;
  }

  .date-cell {
    text-align: center;
  }

  .date-main {
    font-size: 12px;
    font-weight: 500;
  }

  .date-sub {
    font-size: 10px;
    opacity: 0.7;
  }

  .transactions-table th:nth-child(1),
  .transactions-table td:nth-child(1) {
    width: 18%;
  }



  .transactions-table th:nth-child(3),
  .transactions-table td:nth-child(3) {
    /* width: 40%; */
    margin-right: 20px;
  }

  .transactions-table th:nth-child(4),
  .transactions-table td:nth-child(4) {
    white-space: normal !important;
    width: 18%;
  }

  .transactions-table th:nth-child(5),
  .transactions-table td:nth-child(5) {
    white-space: normal !important;
    width: 20%;
  }



  .filter-bar-deposit-transactions {
    display: flex !important;
    flex-direction: column !important;

    gap: 8px;

    width: 100%;
  }

  /* 🔥 FROM + TO */
  .filter-left-deposit-transactions {
    display: grid;

    grid-template-columns: auto 1fr auto 1fr;

    align-items: center;

    column-gap: 6px;
    /* 🔥 label ke paas input */
    row-gap: 8px;

    width: 100%;
  }

  .filter-left-deposit-transactions label {
    font-size: 10px;
    color: #9ca3af;

    white-space: nowrap;

    margin: 0;
  }

  /* 🔥 BIGGER INPUT */
  .filter-left-deposit-transactions input {
    width: 100%;

    min-width: 0;

    height: 30px;

    background: #0f172a;
    border: 1px solid #1e293b;

    color: white;

    border-radius: 6px;

    font-size: 10px;

    padding: 0 8px;
  }

  /* 🔥 ALL BUTTONS SAME SIZE */
  .filter-left-deposit-transactions button,
  .filter-right-deposit-transactions button {
    flex: 1;

    width: 100%;

    min-width: 0;

    height: 30px;

    font-size: 9px;

    padding: 0;

    border-radius: 6px;

    white-space: nowrap;
  }

  /* 🔥 BUTTON ROW */
  .filter-right-deposit-transactions {
    display: flex !important;

    /* flex-direction: row !important; */

    gap: 6px;

    width: 100%;
  }

  /* 🔥 CALENDAR ICON */
  .filter-left-deposit-transactions input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.8;
  }

}/* =========================
   PAGE
========================= */

body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.withdraw-page {
  padding: 40px;
  background: linear-gradient(145deg, #0f1b32, #0d1628);
  min-height: 100vh;
  color: white;
}


.withdraw-title {
  position: relative;

  width: fit-content;

  margin: 0 auto 30px;

  font-size: 28px;
  font-weight: 400;

  color: #ffcc00;

  text-align: center;

  letter-spacing: 0.5px;

  text-shadow:
    0 0 10px rgba(255, 204, 0, 0.35),
    0 0 20px rgba(255, 204, 0, 0.15);
}

/* UNDERLINE */
.withdraw-title::after {
  content: "";

  position: absolute;

  left: 50%;
  transform: translateX(-50%);

  bottom: -12px;

  width: 160px;
  height: 4px;

  border-radius: 20px;

  background: #ffcc00;

  box-shadow:
    0 0 10px rgba(255, 204, 0, 0.5),
    0 0 20px rgba(255, 204, 0, 0.25);
}

/* =========================
   TABLE CONTAINER
========================= */
.table-container {
  overflow-x: auto;
  background: #121c33;
  border-radius: 12px;
  padding: 10px;
}

/* =========================
   TABLE
========================= */
.transactions-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

/* Header */
.transactions-table th {
  background: #1b2742;
  padding: 12px;
  font-size: 14px;
  color: #aaa;
  text-align: left;
  border-bottom: 1px solid #2a3b5f;
}

/* Rows */
.transactions-table td {
  padding: 12px;
  font-size: 14px;
  border-bottom: 1px solid #1f2c4d;
}

/* Hover */
.transactions-table tbody tr:hover {
  background: #16223d;
}

/* Amount */
.amount {
  font-weight: 600;
  color: #f0b90b;
}

/* Status */
.status {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status.approved {
  background: rgba(14, 203, 129, 0.1);
  color: #0ecb81;
}

.status.rejected {
  background: rgba(246, 70, 93, 0.1);
  color: #f6465d;
}

.status.pending {
  background: rgba(240, 185, 11, 0.1);
  color: #f0b90b;
}

/* No data */
.no-data {
  text-align: center;
  padding: 20px;
  color: #9ca3af;
}

.filters-withdraw-transactions {
  display: flex;
  gap: 70%;
}


.filters-withdraw-transactions {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 14px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);

  padding: 14px;
  border-radius: 14px;

  margin-bottom: 20px;

  backdrop-filter: blur(12px);
}

/* LEFT */
.left-filters-withdraw-transactions {
  display: flex;
  align-items: center;

  gap: 8px;

  flex-wrap: wrap;
}

.left-filters-withdraw-transactions label {
  font-size: 12px;
  color: #9ca3af;

  white-space: nowrap;

  font-weight: 500;
}

.left-filters-withdraw-transactions input {
  width: 140px;
  height: 34px;

  background: #0f172a;
  border: 1px solid #1e293b;

  color: white;

  border-radius: 8px;

  font-size: 12px;

  padding: 0 10px;

  outline: none;
}

.left-filters-withdraw-transactions input:focus {
  border-color: #00c6ff;

  box-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
}

/* RIGHT BUTTONS */
.right-filters-withdraw-transactions {
  display: flex;
  align-items: center;

  gap: 8px;
}

.right-filters-withdraw-transactions button {
  min-width: 90px;
  height: 34px;

  border: none;
  border-radius: 8px;

  background: linear-gradient(135deg, #00ffa3, #00c6ff);

  color: #02111b;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  transition: all 0.3s ease;
}

.right-filters-withdraw-transactions button:hover {
  transform: translateY(-1px);

  background: linear-gradient(135deg, #00e091, #00b8f5);

  box-shadow: 0 0 16px rgba(0, 255, 163, 0.35);
}

/* CALENDAR ICON */
.left-filters-withdraw-transactions input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.8;
}

/* =========================
   TABLET
========================= */
@media (max-width: 768px) {
  .withdraw-page {
    padding: 20px;
  }

  .withdraw-title {
    font-size: 22px;
    margin-bottom: 18px;
  }



  .transactions-table th,
  .transactions-table td {
    padding: 10px;
    font-size: 12px;
    text-align: center;
    vertical-align: middle;
  }

  .withdraw-page .table-container {
    overflow-x: hidden !important;
    padding: 0;
    background: transparent;
  }

  .withdraw-page .transactions-table {
    width: 100%;
    min-width: 100% !important;
    border-collapse: separate;
  }

  /* 

  /* CARD */
  .withdraw-page .transactions-table tr {
    background: linear-gradient(145deg, #16213e, #0f1b32);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }

  /* 🔥 PERFECT ROW ALIGNMENT */
  .withdraw-page .transactions-table td {
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border: none !important;
    font-size: 13px;
    flex-wrap: wrap;
  }

  /* COLUMN NAME (LEFT) */
  .withdraw-page .transactions-table td::before {
    /* content: attr(data-label); */
    color: #7f8db0;
    font-size: 11px;
    font-weight: 500;
    min-width: 90px;
  }

  /* VALUE (RIGHT) */
  .withdraw-page .transactions-table td span,
  .withdraw-page .transactions-table td {
    color: #e6edf7;
    flex: 1;
    text-align: right;
    overflow-wrap: anywhere;
  }

  /* AMOUNT */
  .withdraw-page .amount {
    color: #f0b90b;
    font-weight: 600;
  }

  /* STATUS */
  .withdraw-page .status {
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .withdraw-page .transactions-table td:nth-child(3) {
    text-align: center;
  }

    .withdraw-page .transactions-table td:nth-child(1) {
    text-align: center;
  }

  .withdraw-page .transactions-table td:nth-child(4) {
    text-align: center;
  }
  .withdraw-page .transactions-table td:nth-child(5) {
    text-align: center;
  }

  .filters-withdraw-transactions {
    flex-direction: column;
    /* 🔥 vertical */
    align-items: stretch;
  }

  .left-filters {
    flex-direction: column;
    /* 🔥 stack */
    width: 100%;
  }

  .left-filters input {
    width: 100%;
    max-width: 100%;
  }

  .left-filters button {
    width: 100%;
  }

  .right-filters {
    width: 100%;
    flex-direction: column;
  }

  .right-filters button {
    width: 100%;
  }

  .filters-withdraw-transactions {
    display: flex;
    flex-direction: column;

    gap: 8px;

    width: 100%;
  }

  /* FROM + TO */
  .left-filters-withdraw-transactions {
    display: grid;

    grid-template-columns: auto 1fr auto 1fr;

    align-items: center;

    column-gap: 6px;

    width: 100%;
  }

  .left-filters-withdraw-transactions label {
    font-size: 10px;
  }

  .left-filters-withdraw-transactions input {
    width: 100%;

    min-width: 0;

    height: 30px;

    font-size: 10px;

    padding: 0 8px;
  }

  /* BUTTON ROW */
  .right-filters-withdraw-transactions {
    display: flex;

    gap: 6px;

    width: 100%;
  }

  .right-filters-withdraw-transactions button {
    flex: 1;

    min-width: 0;

    height: 30px;

    font-size: 9px;

    border-radius: 6px;

    white-space: nowrap;
  }


  /* DATE + TIME */
  .date-box {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    align-items: center;
    justify-content: center;
  }

  .date-box .date {
    font-weight: 600;
    font-size: 11px;
  }

  .date-box .time {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 2px;
  }
}.premium-heading {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 1px;

  background: linear-gradient(90deg, #00ffa3, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  position: relative;
}

/* glow effect */
.premium-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;

  background: linear-gradient(90deg, #00ffa3, #00c6ff);
  border-radius: 10px;

  box-shadow: 0 0 12px rgba(0, 255, 163, 0.6);
}

/* highlight word */
.premium-heading span {
  color: #00ffa3;
  text-shadow: 0 0 10px rgba(0, 255, 163, 0.8);
}


.premium-heading:hover {
  transform: scale(1.03);
  transition: 0.3s;
}




.green-text {
  color: #22c55e !important;
}

.red-text {
  color: #ef4444 !important;
}


/* ================= MARKETS TICKER ================= */

.markets-ticker-wrapper {

  width: 100%;
  overflow: hidden;

  padding: 12px 0;

  margin-bottom: 40px;

  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  background: rgba(255, 255, 255, 0.02);
}

.markets-ticker {

  display: flex;
  gap: 50px;

  width: max-content;

  animation: marketTickerMove 20s linear infinite;
}

.markets-ticker span {
  font-size: 14px;
  font-weight: 600;
}

.green-ticker {
  color: #22c55e;
}

.red-ticker {
  color: #ef4444;
}

@keyframes marketTickerMove {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}








/* ================= MARKET STATS BAR ================= */

.market-stats-bar {

  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 20px;

  margin-bottom: 50px;
}

.market-stat {

  min-width: 220px;

  padding: 18px 24px;

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.03);

  border: 1px solid rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(10px);

  text-align: center;

  transition: 0.3s;
}

.market-stat:hover {
  transform: translateY(-4px);

  border-color: rgba(0, 255, 200, 0.4);

  box-shadow: 0 0 20px rgba(0, 255, 200, 0.08);
}

.market-stat span {

  display: block;

  font-size: 13px;

  color: #9ca3af;

  margin-bottom: 10px;
}

.market-stat h4 {

  font-size: 26px;

  /* color: white; */

  margin: 0;
}

.green-text {
  color: #22c55e !important;
}









.trade-btn {
  background: linear-gradient(135deg, #f0b90b, #fcd535);

  color: #000;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;

  box-shadow: 0 0 10px rgba(240, 185, 11, 0.4);
  transition: all 0.25s ease;
}

.trade-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(240, 185, 11, 0.7);
}

/* 🔥 GLOBAL FIX */
body {
  margin: 0;
  padding: 0;
  overflow-x: auto;
  /* scroll allow */
}

/* 🔥 MAIN CONTAINER */
/* .markets-container {
  padding: 20px;
  color: white;
  .markets-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;

    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
  }



  min-height: 100vh;

  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
} */

.markets-container {
  padding: 20px;
  color: white;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* 
.markets-table {
  width: 100%;
  min-width: 1200px;
  border-collapse: collapse;

  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
} */




/* TITLE */
.markets-title {
  font-size: 22px;
  margin-bottom: 20px;
  color: #fcd535;
}

/* 🔥 TABS */
.tabs {
  margin-bottom: 40px;
}

.tabs button {
  margin-right: 10px;
  padding: 8px 14px;
  background: #111;
  color: white;
  border: none;
  cursor: pointer;
}

.active-tab {
  background: rgba(255, 255, 255, 0.08);
  /* color: #fcd535; */
  border: 1px solid #fcd535;
  box-shadow: 0 0 10px rgba(240, 185, 11, 0.4);

}

/* 🔥 TABLE WRAPPER (IMPORTANT) */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  display: block;
}

/* 🔥 TABLE (MAIN FIX) */
/* .markets-table {
  width: 100%;
  min-width: 1200px; 
  border-collapse: collapse;
} */

.markets-table {
  border-collapse: separate;
  border-spacing: 0 6px;
  /* 🔥 gap between rows */
}

.markets-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 255, 163, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 163, 0.15);
}


/* HEADER */
.markets-table th {
  text-align: left;
  padding: 14px;
  font-size: 11px;
  color: #8a9ab3;
  border-bottom: 1px solid #1e2a45;
  white-space: nowrap;
}

/* BODY */
/* .markets-table td {
  padding: 14px;
  border-bottom: 1px solid #1e2a45;
  font-size: 15px;
  white-space: nowrap;
} */
.markets-table tbody tr {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);

  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.3s;
  padding: 4px;
  position: relative;
}


.profit-row td:first-child {
  border-left: 4px solid #00ffa3;
}

.loss-row td:first-child {
  border-left: 4px solid #ff4d4f;
}






/* ================= SEARCH BAR ================= */

.markets-search {

  width: 100%;

  display: flex;
  justify-content: flex-end;

  margin-bottom: 20px;
}

.markets-search input {

  width: 320px;

  padding: 14px 18px;

  border-radius: 17px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.03);

  color: white;

  font-size: 14px;

  outline: none;

  backdrop-filter: blur(10px);

  transition: 0.3s;
}

.markets-search input:focus {

  border-color: #00ffd5;

  box-shadow:
    0 0 20px rgba(0, 255, 213, 0.15);
}

.markets-search input::placeholder {
  color: #9ca3af;
}


/* ROW HOVER */
/* .markets-table tr:hover {
  background: #0e1a33;
} */
/* .markets-table tr:hover {
  background: rgba(255,255,255,0.05);
  transition: 0.3s;
} */


/* PAIR */
.pair-name {
  font-weight: 600;
  cursor: pointer;
}

/* SUB TEXT */
.perpetual {
  font-size: 12px;
  color: #7c8aa5;
  margin-left: 6px;
}

/* COLORS */
/* .green {
  color: #0ecb81;
}

.red {
  color: #f6465d;
} */

/* TRADE BUTTON */
/* .trade-btn {
  color: #fcd535;
  cursor: pointer;
  font-weight: 600;
} */


/* ===== CARDS GRID ===== */

/* ===== CARD ===== */
/* .overview-card {
  background: #111827;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #1f2937;
} */

/* .overview-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
} */
.overview-card {
  background: rgba(20, 30, 60, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  padding: 22px;

  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.overview-card:hover {
  transform: translateY(-8px) scale(1.02);

  border-color: rgba(0, 255, 163, 0.4);

  box-shadow:
    0 0 25px rgba(0, 255, 163, 0.2),
    0 20px 60px rgba(0, 0, 0, 0.8);
}


.overview-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.15),
      transparent);

  opacity: 0;
  transition: 0.5s;
}

.overview-card:hover::before {
  opacity: 1;
  transform: translateX(100%);
}


.overview-item {
  transition: 0.25s;

}

.overview-item:hover {
  background: rgba(255, 255, 255, 0.04);
  padding-left: 6px;
  border-radius: 8px;
}


.price {
  font-weight: 600;
  transition: 0.3s;
}

.overview-item:hover .price {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}


.green {
  color: #00ffa3;
  text-shadow: 0 0 8px rgba(0, 255, 163, 0.6);
}

.red {
  color: #ff4d4f;
  text-shadow: 0 0 8px rgba(255, 77, 79, 0.6);
}



.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  justify-content: center;
  gap: 30px;
}

.overview-grid {
  flex: 1;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  justify-content: center;
  gap: 40px;
}



.overview-card:nth-child(1):hover {
  box-shadow: 0 0 30px rgba(255, 165, 0, 0.3);
}

.overview-card:nth-child(2):hover {
  box-shadow: 0 0 30px rgba(0, 255, 163, 0.3);
}

.overview-card:nth-child(3):hover {
  box-shadow: 0 0 30px rgba(255, 77, 79, 0.3);
}




.coin-info {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.coin-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.coin-name {
  font-weight: 600;
}

.coin-info:hover .coin-logo {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px #00ffa3);
}



/* ===== TITLE ===== */
.overview-card h4 {
  margin-bottom: 15px;
  font-size: 14px;
  color: #ccc;
}

/* 🔥 FIX: REMOVE GRID FROM HERE */
.overview-card {
  display: block;
  /* important */
}

/* ===== ROW ===== */
.overview-item {
  display: flex;
  /* ✅ THIS IS CORRECT */
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #1f2937;
}

/* LAST BORDER REMOVE */
.overview-item:last-child {
  border-bottom: none;
}

/* ===== COIN ===== */
.coin {
  font-weight: bold;
}

/* ===== PRICE ===== */
.price {
  text-align: center;
}





/* ===== LIVE PRICE FLASH ===== */

.flash-price {
  animation: priceFlash 0.7s ease;
}

@keyframes priceFlash {

  0% {
    opacity: 0.2;
    transform: scale(1.08);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.green.flash-price {
  color: #00ffa3;
  text-shadow:
    0 0 12px rgba(0, 255, 163, 0.8);
}

.red.flash-price {
  color: #ff4d4f;
  text-shadow:
    0 0 12px rgba(255, 77, 79, 0.8);
}


.markets-layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.overview-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
}


/* 
.markets-trading-panel{
  width:360px;
  position:sticky;
  top:90px;
  flex-shrink:0;
}


.markets-trading-panel{
  width:350px;
  position:sticky;
  top:90px;
} */


.markets-trading-panel {
  width: 360px;
  flex-shrink: 0;
  position: sticky;
  top: 90px;
}


.markets-container {
  flex: 1;
}



/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {

  .overview-grid {
    grid-template-columns: 1fr;
  }

  /* ❌ table scroll hatao */
  .table-wrapper {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .markets-table {
    min-width: 100%;
  }



  /* 🔥 Hide unwanted columns */

  .markets-table th:nth-child(5),
  /* high */
  .markets-table td:nth-child(5),
  .markets-table th:nth-child(6),
  /* low */
  .markets-table td:nth-child(6),
  .markets-table th:nth-child(7),
  /* volume */
  .markets-table td:nth-child(7) {
    display: none;
  }

  /* 🔥 compact spacing */
  .markets-table th,
  .markets-table td {
    white-space: normal;
    padding: 3.5px 5px;
    font-size: 8px;
  }


  .coin-info {
    pointer-events: none;
    gap: 6px;
  }

  .coin-logo {
    width: 22px;
    height: 22px;
  }

  .coin-name {
    font-size: 12px;
  }


  .coin-sub {
    font-size: 9px;
  }

  /* 🔥 pair styling */
  .pair-name {
    display: flex;
    flex-direction: column;
  }

  .perpetual {
    display: block;
    font-size: 10px;
  }

  .trade-btn {
    background-color: #f0b90b;
    color: black;
    border: none;
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;

  }

  .trade-btn:hover {
    background-color: #fcd535;
    box-shadow: 0 4px 15px rgba(240, 185, 11, 0.3);
  }

  .trade-btn {
    position: relative;
    overflow: hidden;
  }

  .overview-card .price {
    font-size: 16px;
  }
  .overview-item {
  justify-content: space-between;
}
  

  .trade-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent);
    transition: 0.5s;
  }

  .trade-btn:hover::after {
    left: 100%;
  }

  /* ✅ Tabs fix (Losers bahar nahi jayega) */
  .tabs {
    display: flex;
    flex-wrap: wrap;
    /* 🔥 main fix */
    gap: 1px;
  }

  .tabs button {
    padding: 4px 6px;
    font-size: 12px;
    white-space: nowrap;
    /* text break nahi hoga */
  }

  /* ✅ Favorites ⭐ side me */
  .tabs button span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
  }

  .market-stats-bar {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    width: 100%;
  }

  .market-stat {

    min-width: unset;

    width: 100%;

    padding: 16px 10px;
  }

  .market-stat h4 {

    font-size: 22px;
  }

  .market-stat span {

    font-size: 12px;
  }

  /* ================= MOBILE RESPONSIVE ================= */

  .overview-section {
    flex-direction: column;
    gap: 20px;
  }

  .overview-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .markets-trading-panel {
    width: 100%;
    position: relative;
    top: 0;
    margin-top: 10px;
  }


}



/* 🔥 TABLET */
@media (max-width: 1024px) {

  .markets-container {
    padding: 15px;
    background: radial-gradient(circle at top, #0a0f1f, #020617);
  }

  .markets-table th,
  .markets-table td {
    font-size: 13px;
  }
}


.coin-info {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.2s;
}

.coin-info:hover {
  transform: translateX(4px);
}

.coin-logo {
  width: 28px;
  height: 28px;
}

.coin-name {
  font-weight: 600;
}

.coin-sub {
  font-size: 12px;
  color: #7c8aa5;
  display: block;
}

.coin-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* 🔥 ROW CARD STYLE */
.markets-table tbody tr {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);

  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: all 0.25s ease;

}

/* 🔥 GAP BETWEEN ROWS */
.markets-table {
  border-collapse: separate;
  border-spacing: 0 6px;
}

/* 🔥 HOVER GLOW */
.markets-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 20px rgba(0, 255, 163, 0.15);
  transform: translateY(-3px);
}


/* 🔥 TEXT GLOW */
.green {
  color: #00ffa3;
  text-shadow: 0 0 8px rgba(0, 255, 163, 0.5);
}

.red {
  color: #ff4d4f;
  text-shadow: 0 0 8px rgba(255, 77, 79, 0.5);
}


.flash {
  animation: blink 0.4s ease;
  will-change: transform, opacity;
}

@keyframes blink {
  0% {
    opacity: 0.3;
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}.balance-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* 🔥 RIGHT ALIGN */
  gap: 2px;
  margin-top: -20px;

}

.coin {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.coin-icon {
  color: #26a17b;
}

.inr {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.tpsl {
  display: flex;
  gap: 4px;
}


.trading-panel {
  background: rgba(15, 25, 50, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 10px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 150, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  /* 👈 ADD THIS */
  overflow: hidden;
  /* 👈 ADD THIS */

}

.trading-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.08),
      transparent);
  pointer-events: none;
}


.trading-panel:hover {
  border: 1px solid rgba(0, 200, 255, 0.5);
}


.toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  overflow: visible;
}


button,
input,
.input-box,
.toggle button {
  transition: all 0.2s ease;
}


.toggle button {
  flex: 1;
  display: flex;
  align-items: center;
  /* 🔥 vertical center */
  justify-content: center;
  padding: 10px;
  border-radius: 30px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.3px;
  /* width: 50%; */
  text-align: center;
  position: relative;
  z-index: 2;

}



.toggle .active {
  color: #ffffff;
  z-index: 2;
  /* 👈 active bright */
}

.toggle .active.buy {
  background: linear-gradient(135deg, #00e676, #00c853);
  box-shadow: 0 0 15px rgba(0, 255, 120, 0.4);
  position: relative;
  z-index: 1;
  /* transform: scale(1.03); */
}

.toggle .active.sell {
  background: linear-gradient(135deg, #ff5252, #ff1744);
  box-shadow: 0 0 15px rgba(255, 0, 80, 0.4);
  position: relative;
  z-index: 1;
  /* transform: scale(1.03); */
}

.toggle button,
.submit {
  user-select: none;
}





.leverage p {
  font-size: 13px;
  opacity: 0.7;
}

/* .leverage input {
  width: 100%;
  accent-color: #1ecb81;
} */


.leverage input[type="range"] {
  width: 100%;
  height: 6px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
  background: linear-gradient(90deg, #00e676, #2962ff);
  border-radius: 10px;
  -webkit-appearance: none;
}


.leverage input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #00e676, #2962ff);
  border: 2px solid #0b1220;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 255, 120, 0.6);
}

.input-box span {
  font-size: 12px;
}



.order-type {
  display: flex;
  gap: 20px;
  margin: 15px 0;
}

.order-type span {
  cursor: pointer;
  color: #aaa;
}

.order-type .active {
  color: #1ecb81;
}


.balance {
  opacity: 0.7;
  margin-bottom: 1px;
}


.input-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.input-box input {
  background: transparent;
  font-size: 17px;
  font-weight: 400;

  border: none;
  color: white;
  width: 100%;
  text-align: center;
}

.input-box input:focus {
  outline: none;
}

.input-box:focus-within {
  border: 1px solid #00e5ff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.input-box:hover {
  transform: translateY(-2px);
}



.percentage p {
  text-align: center;
  color: #f0b90b;
  font-weight: bold;
  font-size: 16px;
  text-shadow: 0 0 10px rgba(240, 185, 11, 0.6);
  margin-top: -6px;
  margin-bottom: 5px;
}

.dots {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;

}


.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: 0.2s;
}

.dot.active {
  background: linear-gradient(135deg, #f0b90b, #ffcc00);
  box-shadow: 0 0 10px rgba(240, 185, 11, 0.6);

}

.dot:hover {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.trading_panel_margin {
  font-size: 15px;
}

.submit {
  width: 100%;
  padding: 8px 10px;
  border-radius: 22px;
  border: none;
  margin-top: 20px;
  color: white;
  cursor: pointer;
  font-weight: 600;
  /* 👈 add */
  font-size: 13px;
  /* 👈 add */
  letter-spacing: 0.5px;
  /* 👈 add */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* .submit.buy {
  background: #1ecb81;
  color: white;
}

.submit.sell {
  background: #f6465d;
  color: white;
} */

.submit.buy {
  background: linear-gradient(135deg, #00c853, #00e676);
  box-shadow:
    0 0 20px rgba(0, 255, 120, 0.4);

  color: #ffffff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  /* 👈 readability */
  transition: 0.3s;
  animation: glowPulse 2s infinite alternate;

}

@media (prefers-reduced-motion: reduce) {
  .submit.buy {
    animation: none;
  }
}


@keyframes glowPulse {
  from {
    box-shadow: 0 0 10px rgba(0, 255, 120, 0.4);
  }

  to {
    box-shadow: 0 0 25px rgba(0, 255, 120, 0.9);
  }
}


.submit.buy:hover {
  box-shadow: 0 0 30px rgba(0, 255, 120, 0.8);
  transform: translateY(-2px);
}

.submit.sell {
  background: linear-gradient(135deg, #ff1744, #ff5252);
  box-shadow: 0 0 20px rgba(255, 0, 80, 0.4);
  color: #ffffff;
  /* 👈 force white */
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}

.submit.sell:hover {
  box-shadow:
    0 0 30px rgba(255, 0, 80, 0.9),
    0 0 10px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}




.submit:active {
  transform: scale(0.97);
}



.error-text {
  color: #ff4d4f;
  font-size: 13px;
  margin-top: 5px;
  text-shadow: 0 0 5px rgba(255, 77, 79, 0.5);
}

.submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(40%);
}

/* .tp-sl-toggle {
  margin: 15px 0;
  font-size: 13px;
  color: #f0b90b;
} */

/* TP/SL */
.tp-sl-toggle {
  margin: 15px 0;
  font-size: 13px;
  color: #f0b90b;
}

.tp-sl-toggle input {
  margin-right: 6px;
}

.tp-sl-input {
  margin-bottom: 10px;
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 768px) {
  .tp-sl-toggle {
    font-size: 12px;
  }

  .tp-sl-input input {
    width: 60px;
  }
}



/* =========================
   TABLET RESPONSIVE
========================= */
/* @media (max-width: 1024px) {
  .trading-panel {
    width: 100%;
    padding: 16px;
  }

  .input-box input {
    width: 80px;
  }
} */

/* =========================
   MOBILE RESPONSIVE 🔥
========================= */
@media (max-width: 768px) {

  .trading-panel {
    position: static;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 16px 16px 0 0;
    padding: 12px;
    z-index: 1000;
  }



  .input-box {
    padding: 10px;
  }

  .submit {
    padding: 10px;
    font-size: 14px;
  }

  .dot {
    width: 14px;
    height: 14px;
  }


}/* =========================
   CHART CONTAINER
========================= */
/* .chart-container {
  width: 100%;
  height: 100%;
  background: #0f0f0f;
  cursor: crosshair;
}

.chart-container:active {
  cursor: crosshair;
} */



/* =========================
   TABLET
========================= */
/* @media (max-width: 768px) {
  .chart-container {
    height: 400px;
  }
} */

/* =========================
   MOBILE (Binance Style 🔥)
========================= */
/* @media (max-width: 480px) {
  .chart-container {
    height: 300px;
  }
} */










/* Wrapper */
.chart-wrapper_in_chart {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px; /* mobile safety */
  display: flex;
  flex-direction: column;
}

/* Chart */
.chart-container {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
}

/* Draw button */
.draw-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;

  padding: 6px 12px;
  font-size: 14px;

  background: #222;
  color: #fff;

  border: none;
  border-radius: 6px;
  cursor: pointer;

  transition: 0.2s ease;
}

/* Active */
.draw-btn.active {
  background: #00ffa3;
  color: #000;
}

/* Hover */
.draw-btn:hover {
  opacity: 0.85;
}

/* 🔥 IMPORTANT (zoom + overflow fix) */
.chart-wrapper,
.chart-container {
  min-width: 0;
  min-height: 0;
}

/* =========================
   📱 MOBILE (≤ 768px)
========================= */
@media (max-width: 768px) {

  .chart-wrapper {
    min-height: 220px;
  }

  .draw-btn {
    top: 8px;
    left: 8px;
    padding: 5px 10px;
    font-size: 12px;
  }
}

/* =========================
   📲 SMALL MOBILE (≤ 480px)
========================= */
@media (max-width: 480px) {

  .chart-wrapper {
    min-height: 200px;
  }

  .draw-btn {
    font-size: 11px;
    padding: 4px 8px;
  }
}

/* =========================
   💻 TABLET (769px - 1024px)
========================= */
@media (min-width: 769px) and (max-width: 1024px) {

  .chart-wrapper {
    min-height: 300px;
  }

  .draw-btn {
    font-size: 13px;
  }
}

/* =========================
   🖥️ LARGE SCREEN (≥ 1400px)
========================= */
@media (min-width: 1400px) {

  .chart-wrapper {
    min-height: 400px;
  }

  .draw-btn {
    font-size: 15px;
  }
}





/* =========================
   HEADER
========================= */
.chart-header {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 12px 20px;
  background: #0f172a;
  /* border-bottom: 1px solid #1f2937; */
  border-bottom: none !important;
  border: none !important;

  
  color: #e5e7eb;
  flex-wrap: wrap;
}

/* SYMBOL */
.symbol {
  font-weight: 600;
  font-size: 14px;
}

/* PRICE */
.price {
  font-size: 22px;
  font-weight: 600;
}

/* COLORS */
.green {
  color: #0ecb81;
}

.red {
  color: #f6465d;
}

/* INFO BLOCK */
.info {
  font-size: 12px;
  line-height: 1.4;
}

/* LOADING */
.chart-loading {
  padding: 10px;
  color: #aaa;
}


/* =========================
   MOBILE RESPONSIVE UI
========================= */

@media (max-width: 768px) {

  .chart-header {
    position: relative;

    display: flex;
    flex-wrap: wrap;

    gap: 5px 0;

    padding: 20px 18px 18px;

    background:
      linear-gradient(180deg,
        #031022 0%,
        #020817 100%);

    border-radius: 26px;

    border: 1px solid rgba(255, 255, 255, 0.06);

    overflow: hidden;
  }

  .chart-header {
    background: transparent !important;
    box-shadow: none !important;
  }

  .chart-header::before {
    display: none !important;
  }

  /* glow */
  .chart-header::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
      radial-gradient(circle at top center,
        rgba(14, 203, 129, 0.08),
        transparent 58%);

    pointer-events: none;
  }

  /* ======================
     TOP ROW
  ====================== */

  .symbol {
    width: 20%;

    display: flex;
    align-items: center;

    z-index: 2;
  }

  .symbol-name h2 {
    margin: 0;

    font-size: 22px;
    font-weight: 700;

    color: #fff;
  }

  .symbol-name span {
    display: none;
  }

  /* PRICE */
  .price {
    width: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    font-size: 34px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: -1px;

    z-index: 2;
  }

  /* 24H CHANGE */
  .chart-header>.green,
  .chart-header>.red {
    width: 30%;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    font-size: 20px;
    font-weight: 700;

    z-index: 2;
  }

  .green {
    color: #0ecb81;
  }

  .red {
    color: #f6465d;
  }

  /* ======================
     INFO SECTION
  ====================== */

  .info {
    flex: 1 1 33%;

    min-width: 100px;

    position: relative;

    display: flex;
    flex-direction: column;

    padding: 0 14px;

    margin-top: 10px;
  }

  /* divider */
  /* .info::after {
    content: "";

    position: absolute;

    right: 0;
    top: 15%;

    width: 1px;
    height: 70%;

    background: rgba(255, 255, 255, 0.08);
  } */

  /* remove divider */
  .info:nth-child(6)::after,
  .info:last-child::after {
    display: none;
  }

  /* label */
  .info .label {
    font-size: 13px;
    font-weight: 500;

    color: #8b98a9;

    margin-bottom: 6px;
  }

  /* value */
  .info .value {
    font-size: 16px;
    font-weight: 700;

    color: #fff;

    line-height: 1.35;
  }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

  .chart-header {
    padding: 18px 14px 16px;
  }

  .symbol {
    width: 20%;
  }

  .price {
    width: 50%;

    font-size: 28px;
  }

  .chart-header>.green,
  .chart-header>.red {
    width: 30%;

    font-size: 16px;
  }

  .symbol-name h2 {
    font-size: 20px;
  }

  .info {
    min-width: 90px;

    padding: 0 10px;
  }

  .info .label {
    font-size: 12px;
  }

  .info .value {
    font-size: 14px;
  }
}/* =========================
   CONTAINER
========================= */
.orderbook-container {
  padding: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* overflow-y: auto; */
  background: #0f172a;
  color: white;
}

.orderbook-container .order-row,
.orderbook-container .mid-price {
  flex-shrink: 0;
}


.orderbook-body {
  flex: 1;
  overflow-y: auto;
  /* 🔥 scroll yaha */
}

/* TITLE */
.orderbook-title {
  margin-bottom: 10px;
  font-size: 14px;
}

/* HEADER */
.orderbook-header {
  display: flex;
  font-size: 12px;
  opacity: 0.6;
}

.orderbook-header div {
  flex: 1;
}

/* ROW */
.order-row {
  display: flex;
  font-size: 13px;
}

.order-row div {
  flex: 1;
}

/* COLORS */
.ask {
  color: #ff4d4f;
}

.bid {
  color: #0ecb81;
}

/* MID PRICE */
.mid-price {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin: 8px 0;
  color: #0ecb81;
}

/* DIVIDER */
.divider {
  border-color: #222;
}

/* DEFAULT */

.desktop-orderbook {
  display: block;
}

.mobile-orderbook {
  display: none;
}


/* =========================
   TABLET
========================= */
@media (max-width: 768px) {
  /* .orderbook-container {
    padding: 8px;
  }

  .order-row {
    font-size: 12px;
  }

  .mid-price {
    font-size: 16px;
  } */

  .desktop-orderbook {
    display: none;
  }

  .mobile-orderbook {
    display: block;
  }

  .mobile-orderbook {
    padding: 8px;
  }

  /* TOP PRICE */
  .mobile-mid-price {
    text-align: center;
    color: #0ecb81;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
  }

  /* HEADER */
  .mobile-orderbook-header {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1.3fr 0.7fr;
    font-size: 11px;
    opacity: 0.7;
    margin-bottom: 8px;
    column-gap: 16px;
  }

  /* ROW */
  .mobile-book-row {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1.3fr 0.7fr;
    font-size: 12px;
    padding: 2px 0;
    align-items: center;
    column-gap: 16px;
  }

  /* COLORS */
  .mobile-book-row .bid {
    color: #0ecb81;
  }

  .mobile-book-row .ask {
    color: #ff4d4f;
  }

  /* ALIGN */
  .bid-size,
  .ask-size {
    text-align: right;
  }

  .mobile-orderbook-header div:nth-child(2),
  .mobile-orderbook-header div:nth-child(4) {
    text-align: right;
    justify-self: end;
    width: 100%;
  }
}

/* =========================
   MOBILE
========================= *//* =========================
   CONTAINER
========================= */
/* .openpositions-container {
  background: #0f1626;
  padding: 10px;
  color: white;
  width: 100%;
  
  overflow-y: auto; 
  min-height: calc(100vh - 150px);
} */

/* 🔥 tabs fix */

/* 🔥 TABS SPACE */
.top-bar {
  margin-top: 12px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

/* 🔥 PNL banner spacing */
/* kkkkkkkkk */

.pnl-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 14px;
  border-radius: 30px;
  height: 8.5vh;

  background: linear-gradient(135deg, #1e2a45, #0f1626);
  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow:
    0 0 30px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.05);

  margin-bottom: 8px;
  position: relative;
  margin-top: -8px;

  z-index: 5;
  flex-shrink: 0;

}

/* 🔥 table spacing */
.openpositions-container {
  margin-top: 10px;
  flex: 1;
  overflow-y: auto;

}









.exit-main {
  font-size: 22px;
  /* 🔥 यही main बड़ा करेगा */
  font-weight: 600;
}

.exit-sub {
  font-size: 11px;
  opacity: 0.8;
}






.asset-value {
  display: flex;
  flex-direction: column;
  /* 🔥 main change */

  align-items: flex-end;
  /* right side align */
}

.usdt-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 30px;
}

.inr-row {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  opacity: 0.8;
}








.pnl-box {
  display: flex;
  gap: 80px;

  /* 🔥 left-right */
  align-items: center;
  padding: 0 25px;
}

/* left side (icon + label) */
.pnl-left {
  display: flex;
  flex-direction: column;
  /* align-items: flex-start; */
  align-items: center;
}

/* icon */
.pnl-icon {
  font-size: 20px;
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}

/* label */
.pnl-left p {
  font-size: 11px;
  opacity: 0.7;
}

/* amount */
.pnl-box h2 {
  font-size: 16px;
  font-weight: bold;
}


.exit-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.exit-btn {
  font-size: 8px;
  padding: 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
}


/* .open-tpsl-btn {

  background: rgba(250, 204, 21, 0.12);

  color: #facc15;

  border: 1px solid rgba(250, 204, 21, 0.4);

  border-radius: 10px;

  padding: 8px 14px;

  cursor: pointer;

  font-size: 13px;

  font-weight: 600;

  transition: 0.3s;

  white-space: nowrap;
} */


.open-tpsl-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.open-tpsl-btn:hover {

  background: rgba(250, 204, 21, 0.2);

  transform: scale(1.05);

  box-shadow:
    0 0 10px rgba(250, 204, 21, 0.4);
}





.openpositions-tpsl {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.tp-sl-input {
  height: 18px;
  width: 90px;

  padding: 0 8px;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #1f2636;
}

.tp-sl-input input {
  width: 40px;
  border: none;
  outline: none;
  background: transparent;

  font-size: 10px;
  color: white;
  text-align: center;
}

.tpsl_font_size {
  font-size: 10px;
  font-weight: 500;
  color: #fff;
}

.save-tpsl-btn {
  height: 22px;
  width: 55px;

  font-size: 10px;
  border-radius: 6px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}


.openpositions-container {
  background: #0f1626;
  padding: 10px;
  color: white;
  width: 100%;

  min-height: 100%;
}


/* scrollbar styling */
.openpositions-container::-webkit-scrollbar {
  width: 6px;
}

.openpositions-container::-webkit-scrollbar-thumb {
  background: #2b3a55;
  border-radius: 10px;
}

.openpositions-container::-webkit-scrollbar-thumb:hover {
  background: #00ffa3;
}

.coin-info {
  display: flex;
  align-items: center;
  gap: 12px;
  /* थोड़ा spacing बढ़ाओ */

}

.coin-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 4px;


}

.coin-info:hover .coin-logo {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px #00ffa3);
  transition: 0.3s;
}

.openpositions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  row-gap: 14px;
}

.openpositions-row-pair span {
  font-size: 14px;
  font-weight: 600;
  color: #fcd535;
  /* premium yellow */
  letter-spacing: 0.5px;
}

.openpositions-row-pair {
  display: flex;
  align-items: center;
  padding-left: 10px;
}

/* =========================
   HEADER (DESKTOP)
========================= */
.openpositions-header {
  display: grid;
  /* grid-template-columns: repeat(14, 1fr); */
  grid-template-columns:
    0.8fr
    /* Pair */
    0.5fr
    /* Side */
    0.8fr
    /* Leverage */
    0.6fr
    /* Margin */
    0.7fr
    /* Size */
    0.6fr
    /* Qty */
    0.8fr
    /* PNL */
    0.6fr
    /* ROE */
    0.8fr
    /* Entry */
    0.6fr
    /* Mark */
    0.9fr
    /* TP */
    .8fr
    /* SL */
    1.2fr
    /* Liquidation */
    1.2fr 0.8fr
    /* action */
    0.5fr;

  padding: 12px 16px;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;

  text-transform: uppercase;
  /* 🔥 professional look */

  color: #9ca3af;

  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  position: relative;
  top: 0;
  z-index: 20;
}

.openpositions-header div:hover {
  color: #00ffa3;
  transition: 0.2s;
}


.openpositions-header div {
  text-align: center;
  padding: 4px 6px;
}

.openpositions-header div:nth-child(n+4) {
  text-align: right;
  /* 🔥 numbers clean दिखेंगे */
}

.openpositions-header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}


.openpositions-row {
  display: grid;
  /* grid-template-columns: repeat(14, 1fr); */
  grid-template-columns:
    1.4fr
    /* Pair */
    0.8fr
    /* Side */
    0.8fr
    /* Leverage */
    1fr
    /* Margin */
    1fr
    /* Size */
    1fr
    /* Qty */
    0.9fr
    /* PNL */
    1fr
    /* ROE */
    1fr
    /* Entry */
    1.4fr
    /* Mark */
    1fr
    /* TP */
    1fr
    /* SL */
    1.5fr
    /* Liquidation */
    1.4fr 1.4fr;
  /* Action */

  padding: 12px 16px;
  margin-bottom: 10px;

  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);

  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  align-items: center;
  transition: 0.3s;
}




/* .openpositions-row:hover {
  background: #16223d;
} */


.openpositions-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 255, 163, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 163, 0.15);
  transform: translateY(6px);
}

/* =========================
   SYMBOL
========================= */
.openpositions-symbol {
  cursor: pointer;
  color: #4da6ff;
  font-weight: 500;
}

/* =========================
   ACTIONS
========================= */
.openpositions-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  cursor: pointer;
  align-items: center;
  width: 100%;
}

.openpositions-actions svg {
  font-size: 16px;
  color: #9ca3af;
  transition: all 0.25s ease;
}

/* Hover effect */
.openpositions-actions svg:hover {
  color: #fcd535;
  /* yellow glow */
  transform: scale(1.2);
}


/* =========================
   EXIT BUTTON
========================= */

.exit-btn {
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
  white-space: nowrap;
}

/* 🟢 PROFIT BUTTON */
.exit-btn.profit {
  color: #00ffa3;
  background: rgba(0, 255, 163, 0.08);
  border: 1px solid rgba(0, 255, 163, 0.4);

  box-shadow:
    0 0 10px rgba(0, 255, 163, 0.3),
    inset 0 0 6px rgba(0, 255, 163, 0.1);
}



/* 🔴 LOSS BUTTON */
.exit-btn.loss {
  color: #ff4d4f;
  background: rgba(255, 77, 79, 0.08);
  border: 1px solid rgba(255, 77, 79, 0.4);

  box-shadow:
    0 0 10px rgba(255, 77, 79, 0.3),
    inset 0 0 6px rgba(255, 77, 79, 0.1);
}

/* 🔥 HOVER EFFECT */
.exit-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* CLICK FEEL */
.exit-btn:active {
  transform: scale(0.95);
}



.exit-btn::after {
  content: "";
  margin-left: 6px;
  transition: 0.3s;
}

.exit-btn.profit:hover::after {
  content: "→";
  transform: translateX(4px);
}

.exit-btn.loss:hover::after {
  content: "←";
  transform: translateX(-4px);
}


/* =========================
   BUTTON
========================= */


.pnl-header {
  position: relative;
}

/* button top right */
.close-all-btn {
  position: absolute;
  right: 10px;
  top: 10px;

  background: linear-gradient(135deg, #ff4d4f, #ff7875);
  color: white;

  border: none;
  padding: 6px 12px;
  font-size: 12px;

  border-radius: 20px;
  cursor: pointer;

  box-shadow: 0 0 10px rgba(255, 77, 79, 0.5);
}








.openpositions-cancel-all {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
  /* 👈 कम gap */
}

.openpositions-cancel-all button {
  background: linear-gradient(135deg, #ff4d4f, #ff7875);
  color: white;

  border: none;
  padding: 6px 12px;
  /* 👈 छोटा */
  font-size: 12px;

  border-radius: 20px;
  cursor: pointer;

  box-shadow: 0 0 10px rgba(255, 77, 79, 0.5);
  transition: 0.3s;
}

.openpositions-cancel-all button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 77, 79, 0.8);
}


.openpositions-profit {
  color: #00ffa3;
  font-weight: bold;
  /* text-shadow: 0 0 10px rgba(0, 255, 163, 0.5); */
}

.openpositions-loss {
  color: #ff4d4f;
  font-weight: bold;
  /* text-shadow: 0 0 10px rgba(255, 77, 79, 0.5); */
}


.openpositions-liquidation {
  color: orange;
  font-weight: bold;
}

.tp {
  color: #0ecb81;
}

.sl {
  color: #f6465d;
}

.openpositions-row-pair {
  color: #c7f646;
}


.openpositions-rows {
  max-height: 250px;
  overflow-y: auto;
  padding-bottom: 45px;
}


/* 🔥 TOP PREMIUM PNL BANNER */


/* Each box */
.pnl-box {
  flex: 1;
  text-align: center;
  position: relative;

}

.pnl-box * {
  position: relative;
  z-index: 2;
}

/* Divider line */
.pnl-box:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 20%;

  height: 60%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #00ffa3, transparent);
}

/* Labels */
.pnl-box p {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 5px;
}

/* Values */
.pnl-box h2 {
  font-size: 22px;
  font-weight: bold;
}

/* Profit */
.profit-text {
  color: #00ffa3;
  text-shadow: 0 0 15px rgba(0, 255, 163, 0.6);
}

/* Loss */
.loss-text {
  color: #ff4d4f;
  text-shadow: 0 0 15px rgba(255, 77, 79, 0.6);
}



.openpositions-row-pair {
  color: #fcd535;
  font-weight: 600;
}

.openpositions-row div[data-label="Side"] {
  font-weight: 600;
  text-transform: capitalize;
}



/* 


@media (max-width: 768px) {


  .openpositions-container {
    padding: 10px;
    overflow-y: auto;
    background: #0b1020;
  }

  .pnl-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    height: auto;
    padding: 8px;
    margin-top: 0;
    align-items: stretch;
  }

  .pnl-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    gap: 4px;
    min-height: 100px;
    background: rgba(20, 30, 60, 0.5);
    border-radius: 12px;

    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .pnl-left {
    align-items: center;
    text-align: center;
  }

  .pnl-left p {
    font-size: 10px;
  }

  .pnl-icon {
    font-size: 14px;
  }


  .pnl-box h2 {
    font-size: 16px;
  }

  .pnl-box p {
    font-size: 11px;
  }


  .usdt-row {
    font-size: 16px;
  }

  .inr-row {
    font-size: 10px;
  }

  .openpositions-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;

    padding-bottom: 100px;
  }

  .openpositions-row {

    display: flex;

    flex-wrap: wrap;

    gap: 14px 10px;

    background: #0b1120;

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 18px;

    padding: 16px 14px;

    position: relative;
    align-items: flex-start;
  }

  .openpositions-row>div {

    min-width: 48%;


    display: flex;
    flex-direction: column;
  }

  .openpositions-row>div::before {

    content: attr(data-label);

    font-size: 11px;

    font-weight: 500;

    color: #7f8aa3;

    letter-spacing: 0.3px;
  }

  .openpositions-row-pair::before {
    display: none;
  }


  .openpositions-row div[data-label="Leverage"]::before,
  .openpositions-row div[data-label="Side"]::before {
    display: none;
  }

  .openpositions-profit {
    color: #00ffa3 !important;
    text-shadow: 0 0 10px rgba(0, 255, 163, 0.4);
  }

  .openpositions-loss {
    color: #ff4d4f !important;
    text-shadow: 0 0 10px rgba(255, 77, 79, 0.4);
  }

  .openpositions-liquidation {
    color: #facc15;
  }

  .openpositions-tpsl {
    order: 11;

    flex: 0 0 calc(50% - 5px);

    min-width: unset;

    margin-top: 14px;
  }

  .open-tpsl-btn {

    width: 100%;

    height: 42px;

    border-radius: 14px;

    background: rgba(250, 204, 21, 0.08);

    border: 1px solid rgba(250, 204, 21, 0.4);

    color: #facc15;

    font-size: 13px;

    font-weight: 600;

  }

  .open-tpsl-btn:active {
    transform: scale(0.96);
  }

  .openpositions-actions .exit-btn {
    background: #16a34a;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
  }


  .exit-main {
    font-size: 13px;
    font-weight: 700;
  }

  .exit-sub {
    font-size: 10px;
    margin-top: 2px;
  }

  .openpositions-header {
    display: none;
  }

  .coin-logo {
    display: none;
  }

  .openpositions-row-pair {
    order: 1;
    width: 40%;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
  }


  .openpositions-row div[data-label="Side"] {
    order: 2;
    width: auto;
    min-width: auto;
    color: #00ffa3;
    font-size: 13px;
    margin-left: -25px;
  }

  .openpositions-row div[data-label="PNL"] {
    order: 4;

    margin-left: auto;

    width: auto;

    min-width: auto;

    text-align: right;

    align-items: flex-end;
    font-size: 15px;
    font-weight: 700;
  }

  .openpositions-row div[data-label="Leverage"] {
    order: 3;
    width: auto;
    min-width: auto;
    color: #9ca3af;
    font-size: 12px;
    margin-left: 6px;
  }

  .openpositions-row div[data-label="PNL"]::before {
    content: "Unrealized P&L";
    font-size: 11px;
  }

  .openpositions-row div[data-label="Qty"] {
    order: 5;
  }

  .openpositions-row div[data-label="Entry"] {
    order: 6;
  }

  .openpositions-row div[data-label="Margin"] {
    order: 7;
  }

  .openpositions-row div[data-label="Mark"] {
    order: 8;
  }

  .openpositions-row div[data-label="TP"] {
    order: 9;
  }

  .openpositions-row div[data-label="Liquidation"] {
    order: 10;
  }
  .openpositions-row div[data-label="ROE"],
  .openpositions-row div[data-label="Size"],
  .openpositions-row div[data-label="SL"] {
    display: none;
  }

  .exit-btn {
    font-size: 10px;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 14px;
  }

  .openpositions-actions {
    order: 12;
    flex: 0 0 calc(50% - 5px);

    min-width: unset;

    margin-top: 14px;
  }

  .openpositions-cancel-all {
    width: 100%;
    margin-top: 10px;
  }

  .openpositions-row:hover {
    transform: none;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 4px 20px rgba(0, 0, 0, 0.35);
  }

  .pnl-box:not(:last-child)::after {
    display: none;
  }
} */



@media (max-width:768px) {

  .openpositions-container {
    padding: 10px;
    background: #0b1020;
    overflow-x: hidden;
  }

  /* =======================
     TOP SUMMARY
  ======================= */

  .pnl-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    height: auto;
    border-radius: 22px;
    margin-bottom: 14px;
  }

  /* .pnl-box {
    min-height: 96px;
    border-radius: 16px;
    padding: 10px 8px;
    gap: 6px;
    background: rgba(20, 30, 60, .45);
    border: 1px solid rgba(255, 255, 255, .08);
  } */

  .pnl-box {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 6px;

    text-align: center;

    padding: 10px 6px;
  }

  .pnl-left p {
    font-size: 10px;
  }

  .pnl-box h2 {
    font-size: 22px;

    line-height: 1.1;

    word-break: break-word;
  }

  .usdt-row {
    font-size: 16px;
  }

  .openpositions-cancel-all {
    grid-column: 1/-1;
    width: 100%;
    margin-top: 4px;
  }

  .openpositions-cancel-all .exit-btn {
    width: 100%;
    border-radius: 16px;
    min-height: 56px;
    font-size: 15px;
  }

  .exit-main {
    font-size: 15px;
    font-weight: 700;
  }

  .exit-sub {
    font-size: 11px;
  }

  /* =======================
     HIDE DESKTOP HEADER
  ======================= */

  .openpositions-header {
    display: none;
  }

  .openpositions-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 100px;
  }

  /* =======================
     CARD
  ======================= */

  .openpositions-row {

    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    /* gap: 14px 14px; */
    gap: 8px;
    /* row-gap: 2px;
    column-gap: 14px; */

    background: #0b1120;

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 18px;

    padding: 14px 14px;
    padding-top: 58px;
    column-gap: 8px;
    position: relative;
  }


  /* =======================
     TOP LEFT
  ======================= */

  .openpositions-row-pair {

    grid-column: 1/2;

    display: flex;

    flex-direction: column;
    justify-content: flex-start;

    align-items: flex-start;

    text-align: left !important;

    gap: 4px;

    color: #fff;

    font-size: 16px;

    font-weight: 700;

    position: absolute;

    top: 14px;

    left: 14px;
  }


  .openpositions-row-pair::before {
    display: none;
  }

  .coin-logo {
    display: none;
  }

  /* SIDE + LEVERAGE */
  .openpositions-row div[data-label="Side"] {

    position: absolute;

    top: 38px;

    left: 14px;

    color: #00ffa3;

    font-size: 14px;

    font-weight: 500;
  }

  .openpositions-row div[data-label="Side"]::before {
    display: none;
  }

  .openpositions-row div[data-label="Leverage"] {

    position: absolute;

    top: 38px;

    left: 58px;

    color: #9ca3af;

    font-size: 12px;
  }

  .openpositions-row div[data-label="Leverage"]::before {
    display: none;
  }

  .openpositions-row div[data-label="Pair"]::before {
    display: none;
  }


  /* =======================
     PNL TOP RIGHT
  ======================= */

  .openpositions-row div[data-label="PNL"] {

    position: absolute;

    top: 14px;

    right: 14px;

    width: 110px;

    display: grid;

    justify-items: end;

    text-align: right;

    /* color: #00ffa3; */

    font-size: 15px;

    font-weight: 700;
  }

  .openpositions-profit {
    color: #00ffa3 !important;
  }

  .openpositions-loss {
    color: #ff4d4f !important;
  }


  .openpositions-row div[data-label="PNL"]::before {
    content: "Unrealized P&L";
    font-size: 11px;
    color: #7f8aa3;
    margin-bottom: 2px;
  }

  .openpositions-row::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 58px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
  }

  /* =======================
     HIDE EXTRA
  ======================= */

  .openpositions-row div[data-label="ROE"] {
    display: none;
  }

  /* .openpositions-row div[data-label="Size"], */
  /* .openpositions-row div[data-label="SL"]  */
  .openpositions-row div[data-label="Size"] {

    position: absolute;

    top: 14px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    width: auto;

    min-width: auto;
  }

  .openpositions-row div[data-label="Size"]::before {

    content: "Size";

    font-size: 11px;

    color: #7f8aa3;

    margin-bottom: 2px;
  }

  /* =======================
     DATA GRID
  ======================= */

  .openpositions-row>div {

    display: flex;

    flex-direction: column;

    gap: 4px;

    font-size: 13px;

    font-weight: 600;

    color: #fff;
  }

  .openpositions-row>div::before {
    content: attr(data-label);

    font-size: 11px;

    color: #7f8aa3;

    font-weight: 500;

    margin-bottom: 2px;

    display: block;
  }

  .openpositions-liquidation {
    color: #facc15;
  }

  /* =======================
     BUTTONS
  ======================= */

  /* .openpositions-tpsl,
  .openpositions-actions {
    width: 100%;
  } */
  /* 
  .openpositions-tpsl {
    grid-column: 1/2;
  } */

  /* .openpositions-actions {
    grid-column: 2/3;
  } */

  .open-tpsl-btn {

    width: 100%;

    height: 38px;

    border-radius: 14px;

    background: transparent;

    border: 1px solid rgba(255, 255, 255, .2);

    color: #fff;

    font-size: 14px;

    font-weight: 600;
  }

  /* .openpositions-actions .exit-btn {

    width: 85%;

    height: 38px;

    border: none;

    border-radius: 12px;

    background: #18a058;
    padding: 0 12px;
    color: #fff;

    font-size: 10px;

    font-weight: 700;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center; 
  } */


  .openpositions-actions .exit-btn {
    width: 85%;
    height: 38px;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* background: #18a058;  👈 इस लाइन को हटा दिया गया है ताकि डेस्कटॉप कलर्स काम करें */
  }


  .openpositions-row>div:not([data-label="Pair"]):not([data-label="Side"]):not([data-label="Leverage"]):not([data-label="PNL"]):not([data-label="Size"]) {
    margin-top: 10px;
  }

  /* LEFT COLUMN */
  .openpositions-row>div:nth-child(3n+1) {
    align-items: flex-start;
    text-align: left;
  }

  /* CENTER COLUMN */
  /* .openpositions-row>div:nth-child(3n+2) {
    align-items: center;
    text-align: center;
  } */

  /* .openpositions-row div[data-label="Qty"], */
  .openpositions-row div[data-label="TP"] {

    align-items: center;

    text-align: center;
  }

  /* .openpositions-row div[data-label="Qty"] {

    align-items: center;

    text-align: center;
  } */

  .openpositions-row div[data-label="Qty"] {

    justify-self: center;

    align-items: center;

    text-align: center;

    width: auto;
  }

  .openpositions-row div[data-label="Qty"]::before {

    width: 100%;

    text-align: center;
  }


  /* RIGHT COLUMN */
  .openpositions-row>div:nth-child(3n) {
    align-items: flex-end;
    text-align: right;
  }

  .openpositions-row div[data-label="Margin"] {
    grid-column: 1;
    grid-row: 1;
  }

  .openpositions-row div[data-label="Qty"] {
    grid-column: 2;
    grid-row: 1;
  }

  .openpositions-row div[data-label="Entry"] {
    grid-column: 3;
    grid-row: 1;
  }

  .openpositions-row div[data-label="Mark"] {
    grid-column: 1;
    grid-row: 2;
  }

  .openpositions-row div[data-label="TP"] {
    grid-column: 2;
    grid-row: 2;
  }

  .openpositions-row div[data-label="SL"] {
    grid-column: 3;
    grid-row: 2;
  }

  .openpositions-row div[data-label="Liquidation"] {
    grid-column: 1;
    grid-row: 3;
  }

  .openpositions-tpsl,
  .openpositions-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
  }

  .openpositions-row div[data-label="Liquidation"] {
    align-self: center;
  }

  .openpositions-tpsl {
    grid-column: 2;
    grid-row: 3;
  }

  .openpositions-actions {
    grid-column: 3;
    grid-row: 3;

  }

  .openpositions-row {
    align-items: start;
    grid-auto-rows: 35px;
  }

  .openpositions-row div[data-label="Liquidation"],
  .openpositions-tpsl,
  .openpositions-actions {
    align-self: center;
  }

}.trades-container-in-tradesdata {
  height: 100%;              /* 🔥 FULL HEIGHT */
  display: flex;
  flex-direction: column;
  padding: 10px;
  overflow: hidden;          /* 🔥 control */
  color: white;
}

/* HEADER FIX */
.trades-header-in-tradesdata {
  display: flex;
  font-size: 12px;
  opacity: 0.6;
  flex-shrink: 0;
}

/* BODY SCROLL */
.trades-body-in-tradesdata {
  flex: 1;
  overflow-y: auto;          /* 🔥 scroll only here */
}

/* ROW */
.trade-row-in-tradesdata {
  display: flex;
  font-size: 13px;
}/* =========================
   PANEL
========================= */
.markets-panel {
  position: absolute;
  top: 40px;
  left: 0;
  width: 320px;
  height: calc(75vh - 75px);
  background: #111827;
  color: white;
  border-right: 1px solid #1f2937;
  overflow-y: auto;
  z-index: 50;
}

/* =========================
   SEARCH
========================= */
.markets-search {
  padding: 10px;
}

.markets-search input {
  width: 100%;
  padding: 8px;
  background: #0b0e11;
  border: 1px solid #333;
  color: white;
  border-radius: 6px;
}

/* =========================
   LIST
========================= */
.markets-list {
  display: flex;
  flex-direction: column;
}

/* ROW */
.market-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #1a1a1a;
  font-size: 13px;
  transition: 0.2s;
}

.market-row:hover {
  background: #1f2937;
}

/* TEXT */
.coin {
  font-weight: 500;
}

.price {
  color: #e5e7eb;
}

.change {
  font-weight: 600;
}

.green {
  color: #0ecb81;
}

.red {
  color: #f6465d;
}

/* =========================
   TABLET
========================= */
@media (max-width: 768px) {
  .markets-panel {
    width: 260px;
  }

  .market-row {
    font-size: 12px;
    padding: 8px;
  }
}

/* =========================
   MOBILE (FULL SCREEN DRAWER 🔥)
========================= */
@media (max-width: 480px) {
  .markets-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-right: none;
    z-index: 999;
  }

  .markets-search {
    padding: 15px;
  }

  .markets-search input {
    padding: 10px;
  }
}/* =========================
   MAIN PAGE
========================= */

body {
  margin: 0;
  /* padding-bottom: 80px; */
}



.trade-page {


  /* min-height: 40vh; */
  min-height: 100vh;
  background: radial-gradient(circle at top, #0f1b34, #050b18);
  color: white;
  display: flex;
  flex-direction: column;

  /* overflow: hidden; */

}

.markets-wrapper {
  position: relative;
}

/* =========================
   GRID (DESKTOP)
========================= */
.trade-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 1.3fr) minmax(0, 1.5fr);
  gap: 10px;

}



/* =========================
   CHART
========================= */
.chart-box {
  background: #111a2e;
  border-radius: 1px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}


.chart-wrapper {
  flex: 1;
  height: 100%;
}

/* =========================
   ORDERBOOK
========================= */
.orderbook-box {
  background: #111a2e;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}




/* =========================
   RIGHT PANEL
========================= */
.right-panel {
  display: flex;
  flex-direction: column;
  background: #105e2b;
  height: 100%;
}



.trading-panel-wrapper {
  background: rgba(15, 25, 50, 0.6);
  border-radius: 16px;
  padding: 18px;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.trades-wrapper {
  flex: 1;
  border-top: 1px solid #1e2a45;
  overflow-y: auto;
}



.positions-section {
  min-height: 0;
  background: #0f1626;
  border-top: 1px solid #1e2a45;

  display: flex;
  flex-direction: column;
  margin-top: 10px;

  overflow: hidden;
  /* 🔥 important */
}

.positions-inner {
  flex: 1;
  overflow: hidden;
  overflow-y: auto;
  min-height: 0;
  /* ✅ container control */
  display: flex;
  flex-direction: column;
}

/* VIEW CHART BUTTON */
.view-chart-btn {
  display: none;
}

.close-chart {
  display: none;
}



.chart-box,
.orderbook-box,
.right-panel {
  background: rgba(20, 30, 60, 0.4);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 0;
  height: 100%;
  min-height: 0;
}


.buy-btn {
  background: linear-gradient(135deg, #00c853, #00e676);
  box-shadow: 0 0 20px rgba(0, 255, 120, 0.4);
  border-radius: 12px;
  transition: 0.3s;
}

.buy-btn:hover {
  box-shadow: 0 0 30px rgba(0, 255, 120, 0.8);
}

.sell-btn {
  background: linear-gradient(135deg, #ff1744, #ff5252);
  box-shadow: 0 0 20px rgba(255, 0, 80, 0.4);
}

.sell-btn:hover {
  box-shadow: 0 0 30px rgba(255, 0, 80, 0.8);
}

input[type="range"] {
  /* webkit-appearance: none; */
  height: 4px;
  background: linear-gradient(90deg, #00e676, #2962ff);
  border-radius: 10px;
}

input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
}

.orderbook-container,
.trades-container-in-tradesdata {
  flex: 1;
  /* height: 100%; */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}





/* ===== CHART CONTROL ===== */
.desktop-chart {
  display: block;
}

.mobile-chart {
  display: none;
}

.view-chart-btn {
  display: none;
}

.close-chart {
  display: none;
}

/* =========================
   MAIN PAGE
========================= */

.markets-wrapper {
  position: relative;
}

/* =========================
   GRID (DESKTOP)
========================= */


/* =========================
   ORDERBOOK
========================= */
.orderbook-box {
  background: #111a2e;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  height: 100%;
}

/* =========================
   RIGHT PANEL
========================= */



.trades-wrapper {
  flex: 1;
  border-top: 1px solid #1e2a45;
  overflow-y: auto;
}



/* VIEW CHART BUTTON */
.view-chart-btn {
  display: none;
}

.close-chart {
  display: none;
}



.tabs {
  display: flex;
  flex-direction: row;
  /* 🔥 side by side */
  gap: 8px;
  height: 0vh;
  flex-wrap: nowrap;
  /* 🔥 नीचे नहीं जाएगा */
  width: fit-content;
  /* 🔥 full width नहीं लेगा */
  margin-top: 20px;
}


.tabs div {
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;

  background: rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

/* ACTIVE TAB */
.tabs .active-tab {
  background: linear-gradient(135deg, #00ffa3, #00c6ff);
  color: black;
  font-weight: bold;
  font-size: small;
  height: 25px;
  text-align: center;

  box-shadow: 0 0 15px rgba(0, 255, 163, 0.6);
}


.top-bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  height: 0vh;
  flex-wrap: nowrap;
  /* 🔥 सबसे important */
}

.exit-btn {
  margin-left: auto;
  /* 🔥 ये right में भेज देगा */
}



/* ===== CHART CONTROL ===== */
.desktop-chart {
  display: flex;
}

.mobile-chart {
  display: flex;
}

.view-chart-btn {
  display: none;
}

.close-chart {
  display: none;
}

.orderbook-content-in-tradesdata {
  flex: 1;
  /* 🔥 FULL HEIGHT */
  overflow: hidden;
  display: flex;
}


.orderbook-tabs {
  flex-shrink: 0;
  display: flex;
  gap: 20px;
  padding: 10px;
  border-bottom: 1px solid #1f2c4d;
}

.orderbook-tabs span {
  cursor: pointer;
  font-size: 14px;
  opacity: 0.7;
}

.orderbook-tabs span.active-tab {
  color: #4da6ff;
  opacity: 1;
  border-bottom: 2px solid #4da6ff;
  padding-bottom: 4px;
}

.orderbook-content {
  flex: 1;
  overflow: hidden;
  /* scroll band */
}

.orderbook-box>div:last-child {
  flex: 1;
  overflow: hidden;
}
.buy-sell-mobile{
  display: none;
}




/* =========================
   MOBILE 🔥 FINAL FIX
========================= */
@media (max-width: 768px) {

  /* body {
    overflow-y: auto;
    
  } */


  .trade-page {
    overflow-y: auto;
    height: auto;
    /* padding-bottom: 20px; */

  }

  .trade-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr 1fr;

    
  }



  /* ❌ desktop chart hide */
  .desktop-chart {
    display: none;
  }

  /* 🔥 FINAL ORDER */

  /* 1. Trading Panel */
  .right-panel {
    order: 1;
    height: auto;
  }

  /* 2. View Chart */
  .view-chart-btn {
    display: block;
    order: 2;
    background: #1b2742;
    padding: 12px;
    text-align: center;
    margin: 10px;
    border-radius: 10px;
    cursor: pointer;
  }

  /* chart toggle same place */
  .mobile-chart {
    display: block;
    order: 2;
    margin: 10px;
    border-radius: 12px;
    height: auto;
    position: relative;
    z-index: 2;
    /* overflow: hidden; */
  }

  /* 3. OrderBook */
  .orderbook-box {
    order: 3;
    margin: 10px;
    position: relative;
    z-index: 1;
  }

  /* 4. Trades */
  .trades-wrapper {
    order: 4;
    margin: 10px;
    max-height: 250px;
    overflow: visible;
  }

  /* 5. Positions */
  .positions-section {
    order: 5;
    height: auto;
    margin-top: 0;
    overflow: hidden
  }

  /* chart height */
  .chart-wrapper {
    height: 100%;
    overflow: hidden;
  }

  /* close button */
  .close-chart {
    display: block;
    text-align: right;
    padding: 10px;
    color: #f6465d;
    cursor: pointer;
  }

  .orderbook-tabs {
    justify-content: center;
  }

  /* 🔥 MOBILE BUY/SELL FIXED ABOVE BOTTOM BAR */
  .buy-sell-mobile {
    position: fixed;
    bottom: 70px;
    /* navbar ke upar */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(5, 11, 24, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
  }

  .buy-sell-mobile .buy-btn,
  .buy-sell-mobile .sell-btn {
    flex: 1;
    height: 52px;
    border-radius: 14px;
    font-size: 20px;
    font-weight: bold;
  }

  /* 🔥 LOGIN / SIGNUP BUTTON STYLE */
  .auth-btn {
    flex: 1;
    height: 52px;
    border-radius: 14px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    color: white;
    background: linear-gradient(135deg, #1976ff, #42a5f5);
    box-shadow: 0 0 20px rgba(25, 118, 255, 0.45);
  }
  .mobile-trade-back{
    font-size: 20px;
    padding: 8px 12px;
  }

}body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.trade-title-premium-in-trade-history {
  text-align: center;
  font-size: 34px;
  font-weight: 700;

  background: linear-gradient(90deg, #00ffa3, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 20px rgba(0, 255, 163, 0.4);
}

.trade-table-in-tradehistory {
  background: rgba(20, 30, 60, 0.5);
  backdrop-filter: blur(20px);

  border-radius: 14px;
  overflow: hidden;

  box-shadow:
    0 0 40px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(255, 255, 255, 0.03);
}

.trade-table-in-tradehistory tr {
  transition: 0.25s;
}

.trade-table-in-tradehistory tr:hover {
  transform: scale(1.01);
  background: rgba(255, 255, 255, 0.03);

  box-shadow: 0 0 20px rgba(0, 255, 163, 0.15);
}

.buy-text {
  background: rgba(0, 255, 163, 0.15);
  color: #00ffa3;
  padding: 4px 10px;
  border-radius: 6px;

  box-shadow: 0 0 10px rgba(0, 255, 163, 0.4);
  text-transform: uppercase;
}

.sell-text {
  background: rgba(255, 77, 79, 0.15);
  color: #ff4d4f;
  padding: 4px 10px;
  border-radius: 6px;

  box-shadow: 0 0 10px rgba(255, 77, 79, 0.4);
  text-transform: uppercase;
}

.profit-in-trade-history {
  color: #00ffa3;
  font-weight: 700;

  text-shadow:
    0 0 8px rgba(0, 255, 163, 0.8),
    0 0 16px rgba(0, 255, 163, 0.6);
}

.loss-in-trade-history {
  color: #ff4d4f;
  font-weight: 700;

  text-shadow:
    0 0 8px rgba(255, 77, 79, 0.8),
    0 0 16px rgba(255, 77, 79, 0.6);
}


.tag {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.tag.maker {
  background: rgba(0, 198, 255, 0.15);
  color: #00c6ff;
  box-shadow: 0 0 10px rgba(0, 198, 255, 0.4);
}

.tag.taker {
  background: rgba(255, 165, 0, 0.15);
  color: #ffb300;
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.4);
}

.trade-table-in-tradehistory td:first-child {
  font-weight: 600;
  color: #e6edf7;
}

.trade-table-in-tradehistory th {
  color: #00ffa3;
  letter-spacing: 0.5px;

  text-shadow: 0 0 10px rgba(0, 255, 163, 0.4);
}


.coin-info-in-trade-history {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coin-logo-in-trade-history {
  width: 22px;
  height: 22px;
  object-fit: contain;
}


/* 🔥 LIQUIDATION TAG */
.liquidation-tag {
  background: linear-gradient(90deg, #ff0000, #ff4d4f);
  color: white;

  padding: 5px 12px;
  border-radius: 20px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;

  text-transform: uppercase;

  box-shadow:
    0 0 10px rgba(255, 0, 0, 0.8),
    0 0 20px rgba(255, 0, 0, 0.6);

  animation: pulseLiquid 1.2s infinite;
}

.date-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  align-items: center;
  flex-wrap: wrap;
  border-radius: 6px;
  border: 1px solid #1f2a44;
  background: #0b1220;
  color: white;
}

.date-filter input {
  padding: 5px;
}

.date-filter button {
  padding: 6px 12px;
  cursor: pointer;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  /* 🔥 main magic */
  align-items: center;
  margin-bottom: 15px;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-left {
  display: flex;
  gap: 10px;
  align-items: center;
}

.filter-right {
  display: flex;
  gap: 10px;
}

/* optional styling */
.filter-bar button {
  padding: 6px 12px;
  cursor: pointer;
}



@keyframes pulseLiquid {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}


/* 🔥 BASE TAG (same size for all) */
.tag {
  padding: 5px 14px;
  border-radius: 20px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;

  text-transform: uppercase;

  display: inline-block;
  min-width: 90px;
  text-align: center;

  backdrop-filter: blur(10px);
}


.maker-tag {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: white;

  box-shadow:
    0 0 10px rgba(0, 198, 255, 0.7),
    0 0 20px rgba(0, 114, 255, 0.5);
}


.taker-tag {
  background: linear-gradient(90deg, #ffb300, #ff8800);
  color: white;

  box-shadow:
    0 0 10px rgba(255, 179, 0, 0.7),
    0 0 20px rgba(255, 136, 0, 0.5);
}


.liquidation-tag {
  background: linear-gradient(90deg, #ff0000, #ff4d4f);
  color: white;

  box-shadow:
    0 0 12px rgba(255, 0, 0, 0.9),
    0 0 25px rgba(255, 0, 0, 0.6);

  animation: pulseLiquid 1.2s infinite;
}




.filter-bar-trade-history {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 14px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);

  padding: 14px;
  border-radius: 14px;

  margin-bottom: 20px;

  backdrop-filter: blur(12px);
}

/* LEFT */
.date-filter-trade-history {
  display: flex;
  align-items: center;

  gap: 8px;

  flex-wrap: wrap;
}

.date-filter-trade-history label {
  font-size: 12px;
  color: #9ca3af;

  white-space: nowrap;

  font-weight: 500;
}

.date-filter-trade-history input {
  width: 140px;
  height: 34px;

  background: #0f172a;
  border: 1px solid #1e293b;

  color: white;

  border-radius: 8px;

  font-size: 12px;

  padding: 0 10px;

  outline: none;
}

.date-filter-trade-history input:focus {
  border-color: #00c6ff;

  box-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
}

/* BUTTONS */
.export-buttons-trade-history {
  display: flex;
  align-items: center;

  gap: 8px;
}

.export-buttons-trade-history button {
  min-width: 90px;
  height: 34px;

  border: none;
  border-radius: 8px;

  background: linear-gradient(135deg, #00ffa3, #00c6ff);

  color: #02111b;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  transition: all 0.3s ease;
}

.export-buttons-trade-history button:hover {
  transform: translateY(-1px);

  background: linear-gradient(135deg, #00e091, #00b8f5);

  box-shadow: 0 0 16px rgba(0, 255, 163, 0.35);
}

/* CALENDAR ICON */
.date-filter-trade-history input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.8;
}


/* =========================
   PAGE
========================= */
.trade-history-in-trade-history {
  padding: 30px;
  background: #0b1426;
  min-height: 100vh;
  color: white;
}

.trade-title-premium-in-trade-history {
  margin-bottom: 15px;
  font-size: 24px;
}

/* =========================
   TABLE CONTAINER
========================= */
.table-container-in-trade-history {
  overflow-x: auto;
  border-radius: 10px;
}

/* =========================
   TABLE
========================= */
.trade-table-in-tradehistory {
  width: 100%;
  border-collapse: collapse;
  background: #111827;
  min-width: 900px;
  /* important */
  display: table;
}

/* Header */
.trade-table-in-tradehistory th {
  padding: 12px;
  background: #1f2937;
  color: #facc15;
  font-size: 13px;
  text-align: center;
}

/* Rows */
.trade-table-in-tradehistory td {
  padding: 12px;
  text-align: center;
  border-top: 1px solid #1f2937;
  color: #e5e7eb;
}

/* Hover */
.trade-table-in-tradehistory tr:hover {
  background: #1e293b;
}

/* Colors */
.buy-text {
  color: #0ecb81;
  font-weight: 600;
}

.sell-text {
  color: #f6465d;
  font-weight: 600;
}

.profit-in-trade-history {
  color: #0ecb81;
  font-weight: 600;
}

.loss-in-trade-history {
  color: #f6465d;
  font-weight: 600;
}

/* =========================
   LOAD MORE
========================= */
.load-more-in-trade-history {
  text-align: center;
  margin-top: 20px;
}

.load-more-in-trade-history button {
  padding: 10px 20px;
  background: #222;
  color: white;
  border: 1px solid #444;
  cursor: pointer;
}

.load-more-in-trade-history button:hover {
  background: #333;
}



@keyframes pulseLiquid {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

/* ..............................................Mobile Responsive.................................... */




/* 


@media (max-width: 768px) {

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-left {
    width: 100%;
    flex-wrap: wrap;
  }

  .filter-left input {
    width: 100%;
  }

  .filter-left button {
    flex: 1;

  }

  .filter-right {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .filter-right button {
    flex: 1;
  }


  .date-filter {
    flex-direction: column;
    width: 100%;
  }

  .date-filter input {
    width: 100%;
  }

  .date-filter button {
    width: 100%;
  }

  .export-buttons {
    width: 100%;
    flex-direction: column;
  }

  .export-buttons button {
    width: 100%;
  }

  .filter-bar-trade-history {
    display: flex;
    flex-direction: column;

    gap: 8px;

    width: 100%;
  }

  .date-filter-trade-history {
    display: grid;

    grid-template-columns: auto 1fr auto 1fr;

    align-items: center;

    column-gap: 6px;

    width: 100%;
  }

  .date-filter-trade-history label {
    font-size: 10px;
  }

  .date-filter-trade-history input {
    width: 100%;

    min-width: 0;

    height: 30px;

    font-size: 10px;

    padding: 0 8px;
  }

  .export-buttons-trade-history {
    display: flex;

    gap: 6px;

    width: 100%;
  }

  .export-buttons-trade-history button {
    flex: 1;

    min-width: 0;

    height: 30px;

    font-size: 9px;

    border-radius: 6px;

    white-space: nowrap;
  }
} */


/* 
@media (max-width: 480px) {

  .filter-left {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-left label {
    margin-top: 5px;
  }

  .filter-right {
    flex-direction: column;
  }

  .filter-right button {
    width: 100%;
  }
} */










/* =========================
   MOBILE PREMIUM CARD UI
========================= */
/* @media (max-width: 600px) {

  .table-container {
    overflow-x: hidden !important;
  }

  .trade-table-in-tradehistory {
    width: 100%;
    display: block;
    min-width: 100%;
  }

  .trade-table-in-tradehistory thead {
    display: none;
  }

  .trade-table-in-tradehistory tbody {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .trade-table-in-tradehistory tr {
    display: block;
    background: rgba(20, 30, 60, 0.6);
    backdrop-filter: blur(12px);

    border-radius: 16px;
    padding: 14px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
      0 8px 25px rgba(0, 0, 0, 0.6),
      inset 0 0 10px rgba(255, 255, 255, 0.03);
  }

  .trade-table-in-tradehistory td {
    display: block;
    border: none;
    padding: 6px 0;
    font-size: 13px;
  }

  .trade-table-in-tradehistory td:nth-child(1) {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
  }

  .trade-table-in-tradehistory td:nth-child(2) {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 6px;
  }

  .trade-table-in-tradehistory td:nth-child(3),
  .trade-table-in-tradehistory td:nth-child(4) {
    font-size: 11px;
    color: #64748b;
  }

  .trade-table-in-tradehistory td:nth-child(5),
  .trade-table-in-tradehistory td:nth-child(6),
  .trade-table-in-tradehistory td:nth-child(7),
  .trade-table-in-tradehistory td:nth-child(8),
  .trade-table-in-tradehistory td:nth-child(9),
  .trade-table-in-tradehistory td:nth-child(10),
  .trade-table-in-tradehistory td:nth-child(11),
  .trade-table-in-tradehistory td:nth-child(12) {
    display: inline-block;
    width: 50%;
    margin-top: 10px;
  }

  .trade-table-in-tradehistory td:nth-child(5)::before {
    content: "Type";
  }

  .trade-table-in-tradehistory td:nth-child(6)::before {
    content: "Limit";
  }

  .trade-table-in-tradehistory td:nth-child(7)::before {
    content: "Price";
  }

  .trade-table-in-tradehistory td:nth-child(8)::before {
    content: "Leverage";
  }

  .trade-table-in-tradehistory td:nth-child(9)::before {
    content: "Qty";
  }


  .trade-table-in-tradehistory td:nth-child(10)::before {
    content: "Amount";
  }

  .trade-table-in-tradehistory td:nth-child(11)::before {
    content: "Side";
  }

  .trade-table-in-tradehistory td:nth-child(12)::before {
    content: "PnL";
  }

  .trade-table-in-tradehistory td:nth-child(13)::before {
    content: "Fee";
  }

  .trade-table-in-tradehistory td::before {
    display: block;
    font-size: 10px;
    color: #6b7280;
    margin-bottom: 2px;
  }

  .buy-text {
    color: #22c55e;
    font-weight: 600;
  }

  .sell-text {
    color: #ef4444;
    font-weight: 600;
  }

  .profit {
    color: #22c55e;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  }

  .loss {
    color: #ef4444;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
  }

} */


/* ==========================================================================
   🔥 FINAL MATCH: WITH PERFECT RIGHT-SIDE PADDING & CONTINUOUS LINE
   ========================================================================== */
@media (max-width: 768px) {

  /* फ़िल्टर बार को बिल्कुल नहीं छुएंगे, जैसा आपके कोड में था वैसा ही रहेगा */
  .trade-history-in-trade-history {
    padding: 15px !important;
    background: #0b1426 !important;
  }

  .filter-bar-trade-history {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .date-filter-trade-history {
    display: grid !important;
    grid-template-columns: auto 1fr auto 1fr !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .export-buttons-trade-history {
    display: flex !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .export-buttons-trade-history button {
    flex: 1 !important;
    min-width: 0 !important;
  }

  /* टेबल कंटेनर सेटिंग्स */
  .table-container-in-trade-history {
    overflow-x: hidden !important;
  }

  .trade-table-in-tradehistory {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }

  .trade-table-in-tradehistory thead {
    display: none !important;
  }

  .trade-table-in-tradehistory tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  /* 💡 3-कॉलम फिक्स्ड ग्रिड लेआउट */
  .trade-table-in-tradehistory tr {
    display: grid !important;
    grid-template-columns: 35% 35% 30% !important;
    row-gap: 10px !important;
    column-gap: 8px !important;
    position: relative !important;

    background: rgba(20, 30, 60, 0.45) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;

    padding: 12px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 255, 163, 0.12) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    transform: none !important;
  }

  .trade-table-in-tradehistory tr:hover {
    transform: none !important;
    background: rgba(20, 30, 60, 0.55) !important;
  }

  .trade-table-in-tradehistory td {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
    min-height: 40px !important;
  }

  /* --- 🛠️ ONE CONTINUOUS LONG UNDERLINE DIVIDER --- */
  .trade-table-in-tradehistory td:nth-child(1),
  .trade-table-in-tradehistory td:nth-child(8),
  .trade-table-in-tradehistory td:nth-child(3),
  .trade-table-in-tradehistory td:nth-child(12) {
    grid-row: 1 !important;
    padding-bottom: 16px !important;
    margin-bottom: 4px !important;
  }

  .trade-table-in-tradehistory tr::after {
    content: "" !important;
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    top: 64px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    pointer-events: none !important;
  }

  /* ==========================================================================
      ⚙️ GRID ARRANGE ENGINE (ROW & COLUMN LOGIC WITH RIGHT PADDING FIX)
     ========================================================================== */

  /* Coin Name को थोड़ा ऊपर ले जाने के लिए */
  .trade-table-in-tradehistory td:nth-child(1) {
    grid-row: 1 !important;
    grid-column: 1 !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin-top: -20px !important;
  }

  /* Leverage (8x) को थोड़ा ऊपर ले जाने के लिए */
  .trade-table-in-tradehistory td:nth-child(8) {
    grid-row: 1 !important;
    grid-column: 1 !important;
    align-items: flex-start !important;
    text-align: left !important;
    justify-content: flex-end !important;

    font-size: 15px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    min-height: unset !important;
    padding-top: 4px !important;
  }



  /* RIGHT कॉलम (P&L) */
  .trade-table-in-tradehistory td:nth-child(12) {
    grid-column: 3 !important;
    align-items: flex-end !important;
    text-align: right !important;
    padding-right: 12px !important;
  }

  /* --- ROW 2 (Limit | Qty | Entry Price) --- */
  .trade-table-in-tradehistory td:nth-child(6) {
    grid-row: 2 !important;
    grid-column: 1 !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin-top: 0px !important;
  }

  .trade-table-in-tradehistory td:nth-child(9) {
    grid-row: 2 !important;
    grid-column: 2 !important;
    align-items: center !important;
    text-align: center !important;
    margin-top: 0px !important;
  }

  .trade-table-in-tradehistory td:nth-child(7) {
    grid-row: 2 !important;
    grid-column: 3 !important;
    align-items: flex-end !important;
    text-align: right !important;
    padding-right: 12px !important;
  }

  /* --- ROW 3 (Margin | Size | Type) --- */
  .trade-table-in-tradehistory td:nth-child(13) {
    grid-row: 3 !important;
    grid-column: 1 !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .trade-table-in-tradehistory td:nth-child(10) {
    grid-row: 3 !important;
    grid-column: 2 !important;
    align-items: center !important;
    text-align: center !important;
  }

  .trade-table-in-tradehistory td:nth-child(5) {
    grid-row: 3 !important;
    grid-column: 3 !important;
    align-items: flex-end !important;
    text-align: right !important;
    padding-right: 12px !important;
  }

  /* गैर-जरूरी कॉलम्स हाइड */
  .trade-table-in-tradehistory td:nth-child(2),
  .trade-table-in-tradehistory td:nth-child(4),
  .trade-table-in-tradehistory td:nth-child(11) {
    display: none !important;
  }

  /* ==========================================================================
      🏷️ LABELS ENGINE & DYNAMIC DISPLAY
     ========================================================================== */
  .trade-table-in-tradehistory td::before {
    display: block !important;
    font-size: 16px !important;
    color: #64748b !important;
    margin-bottom: 4px !important;
    font-weight: 500 !important;
    text-shadow: none !important;
  }

  .trade-table-in-tradehistory td:nth-child(12)::before {
    content: "P&L" !important;
  }

  .trade-table-in-tradehistory td:nth-child(5)::before {
    content: "Type" !important;
  }

  .trade-table-in-tradehistory td:nth-child(13)::before {
    content: "Margin" !important;
  }

  .trade-table-in-tradehistory td:nth-child(10)::before {
    content: "Size" !important;
  }

  .trade-table-in-tradehistory td:nth-child(7)::before {
    content: "Entry" !important;
  }

  .trade-table-in-tradehistory td:nth-child(6)::before {
    content: "Limit" !important;
  }

  .trade-table-in-tradehistory td:nth-child(9)::before {
    content: "Qty" !important;
  }

  .trade-table-in-tradehistory td:nth-child(1)::before,
  .trade-table-in-tradehistory td:nth-child(3)::before,
  .trade-table-in-tradehistory td:nth-child(8)::before {
    display: none !important;
  }

  /* वैल्यूज का टेक्स्ट स्टाइल */
  .trade-table-in-tradehistory td:not(:nth-child(1)):not(:nth-child(8)) {
    font-size: 13px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
  }

  /* Coin BLOCK */
  .coin-info-in-trade-history {
    display: flex !important;
    align-items: center !important;
  }

  .coin-logo-in-trade-history {
    display: none !important;
  }

  .coin-info-in-trade-history span {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
  }

  /* Leverage (8x) Space Adjustment */
  .trade-table-in-tradehistory td:nth-child(8) {
    grid-row: 1 !important;
    grid-column: 1 !important;
    align-items: flex-start !important;
    text-align: left !important;
    justify-content: flex-end !important;
    font-size: 15px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    min-height: unset !important;
    padding-top: 4px !important;
  }

  /* ==========================================================================
   💡 FIXED: DATE ON TOP, TIME BELOW WITHOUT BREAKING THE YEAR OR TEXT
   ========================================================================== */
  .trade-table-in-tradehistory td:nth-child(3) {
    grid-column: 2 !important;
    align-items: center !important;
    text-align: center !important;

    font-size: 11px !important;
    line-height: 1.5 !important;
    color: #ffffff !important;
    font-weight: 700 !important;

    /* 💡 यह मैजिक ट्रिक्स डेट को बिना तोड़े टाइम को हमेशा नीचे भेजेगी */
    display: inline-flex !important;
    flex-direction: column !important;
    white-space: normal !important;
    width: max-content !important;
    max-width: 100px !important;
  }

  /* Type (Taker/Maker) Pill */
  .tag {
    padding: 3px 12px !important;
    font-size: 10px !important;
    border-radius: 12px !important;
    min-width: unset !important;
    display: inline-block !important;
    font-weight: 700 !important;
  }

  /* P&L Colors */
  .profit-in-trade-history {
    color: #0ecb81 !important;
    text-shadow: none !important;
    font-size: 14px !important;
  }

  .loss-in-trade-history {
    color: #f6465d !important;
    text-shadow: none !important;
    font-size: 14px !important;
  }
}.orders-container {
  padding: 20px;
  color: #fff;
  background-color: #0f172a;
  /* dark bg */
  min-height: 100vh;
}

/* Title */
.orders-container h2 {
  margin-bottom: 15px;
  font-weight: 600;
  color: white;
}

/* Table */
.orders-table {
  width: 100%;
  border-collapse: collapse;
  background: #111827;
  border-radius: 10px;
  overflow: hidden;
}

/* Header */
.orders-table thead {
  background-color: #1f2937;
}

.orders-table th {
  padding: 12px;
  text-align: center;
  font-size: 14px;
  color: rgb(255, 230, 0);
}

/* Rows */
.orders-table td {
  padding: 12px;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #1f2937;
}

/* Hover effect */
.orders-table tbody tr:hover {
  background-color: #1e293b;
  transition: 0.2s;
}

/* Buy / Sell colors */
.buy {
  color: #22c55e;
  font-weight: 600;
}

.sell {
  color: #ef4444;
  font-weight: 600;
}

/* Action button */
.action-btn {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 16px;
}

.action-btn:hover {
  color: #dc2626;
}


/* 🔥 PREMIUM HEADING */
.orders-title {
  font-size: 22px;
  font-weight: 700;

  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;

  background: linear-gradient(90deg, #00ffa3, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 10px rgba(0, 255, 163, 0.4),
    0 0 20px rgba(0, 198, 255, 0.3);

  margin-bottom: 18px;
}

/* 🔥 COUNT BADGE */
.orders-title span {
  font-size: 13px;

  background: rgba(0, 255, 163, 0.1);
  color: #00ffa3;

  padding: 4px 10px;
  border-radius: 20px;

  border: 1px solid rgba(0, 255, 163, 0.4);

  text-shadow: none;
}


.orders-title::after {
  content: "";
  height: 2px;
  width: 60px;

  background: linear-gradient(90deg, #00ffa3, transparent);

  box-shadow: 0 0 10px rgba(0, 255, 163, 0.5);

  margin-left: 10px;
}





















/* Responsive-- */
/* =========================
   MOBILE CARD UI
========================= */

/* 
@media (max-width:768px){

  .openorders-table-header{
    display:none !important;
  }

  .openorders-rows{
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:10px;
    padding-bottom:90px;
  }

  .openorders-table-row{

    background:#111827;

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:16px;

    display:grid;

    grid-template-columns:1fr 1fr 1fr;

    gap:18px 12px;
  }



  .openorders-table-row > div{

    display:flex;
    flex-direction:column;

    gap:4px;
  }

  .openorders-table-row > div::before{

    content:attr(data-label);

    font-size:11px;

    color:#7f8aa3;

    font-weight:500;
  }

  .openorders-table-row > div{

    font-size:15px;
    font-weight:700;

    color:#fff;
  }



  .coin-info{

    grid-column:1;
    grid-row:1;

    align-items:flex-start;
  }

  .coin-info::before{

    content:"Pair";

    font-size:11px;

    color:#7f8aa3;
  }

  .coin-logo{
    display:none;
  }

  .coin-info span{

    font-size:22px;
    font-weight:700;
    color:#fff;
  }



  div[data-label="Leverage"]{

    grid-column:2;
    grid-row:1;

    justify-content:center;
    align-items:center;

    width:70px;
    height:38px;

    margin:auto;

    background:#172554;

    border:1px solid #2563eb;

    border-radius:12px;

    color:#60a5fa;
  }

  div[data-label="Leverage"]::before{
    display:none;
  }



  div[data-label="Date"]{

    grid-column:3;
    grid-row:1;

    align-items:flex-end;

    text-align:right;

    font-size:11px;

    color:#94a3b8;
  }

  div[data-label="Date"]::before{
    display:none;
  }



  div[data-label="Side"]{

    grid-column:1;
    grid-row:2;

    align-items:flex-start;

    color:#00ffa3;
  }

  div[data-label="Type"]{

    grid-column:2;
    grid-row:2;

    align-items:center;
  }

  div[data-label="Price"]{

    grid-column:3;
    grid-row:2;

    align-items:flex-end;
  }



  div[data-label="Size"]{

    grid-column:1;
    grid-row:3;

    align-items:flex-start;
  }

  div[data-label="Margin"]{

    grid-column:2;
    grid-row:3;

    align-items:center;
  }


  .openorders-actions{

    grid-column:3;
    grid-row:3;

    display:flex;

    flex-direction:column;

    align-items:flex-end;

    gap:8px;
  }

  .openorders-actions::before{
    display:none;
  }

  .openorders-actions svg{

    width:38px;
    height:38px;

    padding:9px;

    border-radius:12px;

    background:#1f2937;

    color:#fff;
  }

  .openorders-actions svg:last-child{
    color:#ef4444;
  }

} */


/* ==========================================================================
   🔥 EXACT CRYPTO UI MATCH FOR OPEN ORDERS ONLY (MAX-WIDTH: 768px)
   ========================================================================== */

@media (max-width: 768px) {
  
  /* 1. Desktop Table Header Hidden */
  .openorders-table-header {
    display: none !important;
  }

  /* 2. Main Rows List Container */
  .openorders-rows {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 12px !important;
    padding-bottom: 100px !important;
    background-color: #0b0f19 !important;
  }

  /* 3. Base Card Structure - Scoped to Open Orders Grid */
  .openorders-rows .openorders-table-row {
    background: #121824 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 14px 10px !important;
    padding-top: 60px !important; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    position: relative !important;
    text-align: left !important;
  }

  /* 4. Heading Line: Card ke top details ke niche divider line */
  .openorders-rows .openorders-table-row::after {
    content: "" !important;
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    top: 48px !important; 
    height: 1px !important;
    background: rgba(255, 255, 255, 0.08) !important;
  }

  /* 5. General Data Grid Styling (Labels + Values) */
  .openorders-rows .openorders-table-row > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
  }

  /* Data Title Generator via CSS Attribute */
  .openorders-rows .openorders-table-row > div::before {
    content: attr(data-label) !important;
    font-size: 11px !important;
    color: #64748b !important; 
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: block !important;
  }

  /* ==========================================================================
     TOP LINE ALIGNMENT (COIN + LEVERAGE + DATE)
     ========================================================================== */

  /* 🪙 Coin Name Style (Top Left) */
  .openorders-rows .coin-info {
    position: absolute !important;
    top: 14px !important;
    left: 16px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
  }
  .openorders-rows .coin-info::before {
    display: none !important;
  }
  .openorders-rows .coin-logo {
    display: none !important; 
  }
  .openorders-rows .coin-info span {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
  }

  /* ⚡ Leverage Badge */
  .openorders-rows .openorders-table-row div[data-label="Leverage"] {
    position: absolute !important;
    top: 12px !important;
    left: 85px !important; 
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 52px !important;
    height: 26px !important;
    background: rgba(37, 99, 235, 0.15) !important;
    border: 1px solid rgba(37, 99, 235, 0.4) !important;
    border-radius: 6px !important;
    color: #3b82f6 !important;
    font-size: 12px !important;
  }
  .openorders-rows .openorders-table-row div[data-label="Leverage"]::before {
    display: none !important;
  }

  /* 📅 Date/Time Alignment (Top Right) */
  .openorders-rows .openorders-table-row div[data-label="Date"] {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    display: block !important;
    width: auto !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    text-align: right !important;
  }
  .openorders-rows .openorders-table-row div[data-label="Date"]::before {
    display: none !important;
  }

  /* ==========================================================================
     GRID DATA FIELDS POSITIONING
     ========================================================================== */

  /* Row 1 Data Columns */
  .openorders-rows .openorders-table-row div[data-label="Side"] {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .openorders-rows .openorders-table-row div[data-label="Type"] {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  .openorders-rows .openorders-table-row div[data-label="Price"] {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  /* Row 2 Data Columns */
  .openorders-rows .openorders-table-row div[data-label="Size"] {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  .openorders-rows .openorders-table-row div[data-label="Margin"] {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  /* ==========================================================================
     🔥 NEW SIDE-BY-SIDE CLEAN ACTION BUTTONS (EDIT & TRASH)
     ========================================================================== */
  .openorders-rows .openorders-actions {
    grid-column: 3 !important;
    grid-row: 2 !important;
    display: flex !important;
    flex-direction: row !important; 
    align-items: center !important;
    /* align-items: flex-end !important; */
    justify-content: flex-end !important;
    gap: 16px !important; /* Dono buttons ke beech ka gap */
  }
  .openorders-rows .openorders-actions::before {
    display: none !important;
  }
  
  /* Raw Icons without background box */
  .openorders-rows .openorders-actions svg {
    width: 20px !important;  /* Perfect standard size */
    height: 20px !important;
    padding: 0 !important;   /* Extra box padding removed */
    background: transparent !important; /* Grey background removed */
    border-radius: 0 !important;
    color: #94a3b8 !important; /* Muted professional grey */

    
    /* cursor: pointer !important;
    transition: transform 0.2s ease, color 0.2s ease !important; */
  }

  /* Edit Icon Hover */
  .openorders-rows .openorders-actions svg:first-child:hover {
    color: #3b82f6 !important; /* Soft blue glow on hover */
    transform: scale(1.1) !important;
  }

  /* Trash Icon Specific Color & Hover */
  .openorders-rows .openorders-actions svg:last-child {
    background: transparent !important;
    color: #ff4d4f !important; /* Red color as per image */
  }
  .openorders-rows .openorders-actions svg:last-child:hover {
    color: #ff7875 !important;
    transform: scale(1.1) !important;
  }
  
  /* Cancel All Area positioning */
  .openorders-cancel-all {
    display: flex !important;
    justify-content: flex-end !important;
    padding: 4px 12px !important;
  }
  
  .openorders-cancel-all .order_cancel_button {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #ef4444 !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    width: auto !important;
  }
}



/* =========================
   PAGE
========================= */
.funding-page {
  padding: 30px;
  background: linear-gradient(145deg, #0f1b32, #0d1628);
  min-height: 100vh;
  color: white;
}

.funding-title {
  font-size: 24px;
  margin-bottom: 20px;
}

/* =========================
   TABLE WRAPPER
========================= */
.funding-table-funding-fee {
  background: #121c33;
  border-radius: 12px;
  overflow: hidden;
}

/* Header */
.table-header-funding-fee {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  background: #1b2742;
  padding: 14px;
  font-size: 14px;
  color: #aaa;
  font-weight: 600;
}

/* Row */
.table-row-funding-fee {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  padding: 14px;
  border-top: 1px solid #1f2c4d;
  font-size: 14px;
}

/* Hover */
.table-row:hover {
  background: #16223d;
}

/* Colors */
.positive-funding-fee {
  color: #0ecb81;
  font-weight: 600;
}

.negative-funding-fee {
  color: #f6465d;
  font-weight: 600;
}

/* Loading */
.loading,
.no-data {
  padding: 15px;
  text-align: center;
  color: #9ca3af;
}




.filters-funding-fee {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 14px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);

  padding: 14px;
  border-radius: 14px;

  margin-bottom: 20px;

  backdrop-filter: blur(12px);
}

/* LEFT */
.left-filters-funding-fee {
  display: flex;
  align-items: center;

  gap: 8px;

  flex-wrap: wrap;
}

.left-filters-funding-fee label {
  font-size: 12px;
  color: #9ca3af;

  white-space: nowrap;

  font-weight: 500;
}

.left-filters-funding-fee input {
  width: 140px;
  height: 34px;

  background: #0f172a;
  border: 1px solid #1e293b;

  color: white;

  border-radius: 8px;

  font-size: 12px;

  padding: 0 10px;

  outline: none;
}

/* RIGHT */
.right-filters-funding-fee {
  display: flex;
  align-items: center;

  gap: 8px;
}

.right-filters-funding-fee button {
  min-width: 90px;
  height: 34px;

  border: none;
  border-radius: 8px;

  background: linear-gradient(135deg, #00ffa3, #00c6ff);

  color: #02111b;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;
}

/* 🔥 CALENDAR ICON WHITE */

.left-filters-funding-fee input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 1;
  cursor: pointer;
}

/* FIREFOX SUPPORT */
.left-filters-funding-fee input[type="date"] {
  color-scheme: white;
}


/* =========================
   HEADING
========================= */

.funding-title{
  position:relative;

  width:fit-content;

  margin:0 auto 28px;

  font-size:28px;
  font-weight:400;

  color:#ffcc00;

  letter-spacing:0.5px;

  text-align:center;

  text-shadow:
    0 0 10px rgba(255,204,0,0.35),
    0 0 20px rgba(255,204,0,0.12);
}

/* UNDERLINE */
.funding-title::after{
  content:"";

  position:absolute;

  left:50%;
  bottom:-12px;

  transform:translateX(-50%);

  width:120px;
  height:4px;

  border-radius:20px;

  background:#ffcc00;

  box-shadow:
    0 0 10px rgba(255,204,0,0.5),
    0 0 20px rgba(255,204,0,0.25);
}

/* =========================
   TABLET
========================= */
@media (max-width: 768px) {
  .funding-page {
    padding: 20px;
  }

  .funding-title {
    font-size: 20px;
  }

  .table-header,
  .table-row {
    grid-template-columns: 1fr 1.5fr 1fr;
    font-size: 12px;
    padding: 10px;
  }



  .filters-funding-fee {
    display: flex;
    flex-direction: column;

    gap: 8px;

    width: 100%;
  }

  .left-filters-funding-fee {
    display: grid;

    grid-template-columns: auto 1fr auto 1fr;

    align-items: center;

    column-gap: 6px;

    width: 100%;
  }

  .left-filters-funding-fee label {
    font-size: 10px;
  }

  .left-filters-funding-fee input {
    width: 100%;

    min-width: 0;

    height: 30px;

    font-size: 10px;

    padding: 0 8px;
  }

  .right-filters-funding-fee {
    display: flex;

    gap: 6px;

    width: 100%;
  }

  .right-filters-funding-fee button {
    flex: 1;

    min-width: 0;

    height: 30px;

    font-size: 9px;

    border-radius: 6px;

    white-space: nowrap;
  }

  /* 🔥 CALENDAR ICON WHITE */

  .left-filters-funding-fee input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 1;
    cursor: pointer;
  }

  /* FIREFOX SUPPORT */
  .left-filters-funding-fee input[type="date"] {
    color-scheme: white;
  }




  .funding-table-funding-fee{
    overflow:hidden;
    border-radius:12px;
  }

  .table-header-funding-fee,
  .table-row-funding-fee{
    display:grid;

    grid-template-columns: 1fr 2fr 1fr;

    align-items:center;

    text-align:center;
  }

  .table-header-funding-fee{
    background:#1b2742;

    font-size:13px;

    padding:10px 6px;

    color:#9ca3af;

    font-weight:600;
  }

  .table-row-funding-fee{
    padding:10px 6px;

    font-size:12px;

    border-top:1px solid #1f2c4d;
  }

  .positive-funding-fee{
    color:#00ffa3;
    font-weight:700;
  }

  .negative-funding-fee{
    color:#ff4d4f;
    font-weight:700;
  }
}
body {
  padding-top: 70px;
}

.features {
  position: relative;
  z-index: 1;
  margin-top: -10px;
  /* hero के ऊपर overlap effect */
  padding: 40px 20px;

}


.green-ticker {
  color: #22c55e;
}

.red-ticker {
  color: #ef4444;
}

@media (max-width: 768px) {
  .features {
    margin-top: 20px;   /* 🔥 overlap हटाओ */
  }
}

.features-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .features-container {
    gap: 15px;
  }

  .feature-card {
    padding: 16px;
  }
}

.feature-card {
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.4s;
  cursor: pointer;
}


.feature-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 30px rgba(0, 150, 255, 0.3);
  border-color: rgba(0, 200, 255, 0.5);
}

.feature-icon {
  font-size: 30px;
  margin-bottom: 10px;
}


.feature-card h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.feature-card p {
  font-size: 13px;
  color: #aaa;
}


@media (max-width: 768px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}


.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(120deg, transparent, rgba(0, 150, 255, 0.2), transparent);
  opacity: 0;
  transition: 0.4s;
}

.feature-card:hover::before {
  opacity: 1;
}





.stats {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(180deg, #0b0f1a, #0f172a);
  color: white;
}

/* Title */
.stats-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 60px;
  color: #e5e7eb;
}

/* Container */
.stats-container {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

/* Each Box */
.stat-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 30px 40px;
  border-radius: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hover Effect 🔥 */
.stat-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-color: #facc15;
}

/* Numbers */
.stat-box h3 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #facc15;
  /* yellow highlight */
}

/* Text */
.stat-box p {
  font-size: 14px;
  color: #9ca3af;
}



/* 🔥 GLOBAL SCROLL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal.active:nth-child(2) {
  transition-delay: .4s;
}

.reveal.active:nth-child(3) {
  transition-delay: .8s;
}

.stat-box {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s ease;
  /* animation: fadeUp 0.8s ease forwards; */

}

/* 🔥 show on scroll */
.stat-box.show {
  opacity: 1;
  transform: translateY(0);
}

/* 🔥 stagger effect */
.stat-box.show:nth-child(2) {
  transition-delay: 0.2s;
}

.stat-box.show:nth-child(3) {
  transition-delay: 0.4s;
}

.stat-box:nth-child(2) {
  animation-delay: 0.2s;
}

.stat-box:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





/* starting state */
.stat-box {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

/* delay for each card */
.stat-box:nth-child(2) {
  animation-delay: 0.2s;
}

.stat-box:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ............................................................................ */

.platform {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 150px;
  /* FIX spacing */
  background: linear-gradient(180deg, #020617, #0f172a);
  /* DARK */
  color: white;
  gap: 80px;
}

/* LEFT */
.platform-left {
  flex: 1;
  max-width: 500px;
  /* FIX alignment */
  margin-left: 200px;
}

.platform-left h2 {
  font-size: 42px;
  margin-bottom: 30px;
}

.platform-left ul {
  list-style: none;
  padding: 0;
}

.platform-left li {
  margin: 10px 0;
  color: #9ca3af;
  cursor: pointer;
  transition: 0.3s;
}

.platform-left li:hover {
  color: white;
}

.platform-left .active {
  color: #facc15;
  font-weight: bold;
}

/* BUTTONS */
.platform-buttons {
  margin-top: 30px;
  display: flex;
  gap: 12px;
}

.platform-buttons button {
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: #4f46e5;
  color: white;
  cursor: pointer;
}

/* RIGHT */
.platform-right {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

/* Circle glow */
.circle {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #1e293b, #020617);
  border-radius: 50%;
  filter: blur(10px);
}

/* PHONE */
.phone {
  width: 240px;
  height: 480px;
  background: #0b0f1a;
  border-radius: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* 🔥 ANIMATION (ye missing tha) */
.animate-phone {
  animation: floatUp 2.5s ease-in-out infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(20px);
  }

  50% {
    transform: translateY(-20px);
    /* upar jaega */
  }

  100% {
    transform: translateY(20px);
  }
}




.phone {
  width: 240px;
  height: 480px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: black;
  /* fallback */
}

/* 🔥 MAIN FIX */
.phone-video {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  /* 🔥 full fill karega */
}



/* .................................................................. */


.benefits {
  padding: 120px 20px;
  background: linear-gradient(180deg, #020617, #0f172a);
  text-align: center;
  color: white;
}

/* Title */
.benefits-title {
  font-size: 36px;
  margin-bottom: 80px;
  color: #e5e7eb;
}

/* Container */
.benefits-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}

/* Cards */
.benefit-card {
  max-width: 280px;
  padding: 20px;
  transition: 0.3s;
}

/* ICON */
/* .icon {
  font-size: 40px;
  margin-bottom: 20px;
} */

.icon {
  width: 70px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 20px;

  font-size: 40px;
  border-radius: 50%;
}

/* Heading */
.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

/* Text */
.benefit-card p {
  color: #9ca3af;
  font-size: 14px;
}

/* Hover effect 🔥 */
.benefit-card:hover {
  transform: translateY(-8px);
}


/* ........................................................... */
.faq {
  padding: 120px 20px;
  background: linear-gradient(180deg, #020617, #0f172a);
  color: white;
}

/* Title */
.faq-title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 60px;
}

/* Container */
.faq-container {
  max-width: 800px;
  margin: auto;
}

/* Item */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

/* Question */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 18px;
}

/* Icon */
.faq-question span {
  font-size: 24px;
  color: #facc15;
}

/* Answer */
.faq-answer {
  margin-top: 10px;
  color: #9ca3af;
  line-height: 1.6;
}




/* ================= TICKER ================= */

.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);

  padding: 14px 0;
}

.ticker {
  display: flex;
  width: max-content;

  gap: 60px;

  animation: tickerMove 20s linear infinite;
}

.ticker span {
  /* color: white; */

  font-size: 15px;
  font-weight: 600;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* ================= SECURITY STRIP ================= */

.security-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 40px;

  padding: 22px 20px;

  background: #020617;

  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);

  color: #facc15;

  font-weight: 600;
  font-size: 14px;
}


/* ================= REFERRAL SECTION ================= */

.referral-section {
  padding: 120px 20px;

  text-align: center;

  background: linear-gradient(180deg, #020617, #0f172a);

  color: white;
}

.referral-section h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.referral-section p {
  max-width: 700px;
  margin: auto;

  color: #9ca3af;

  font-size: 16px;
}

.referral-section button {
  margin-top: 40px;

  padding: 14px 36px;

  border: none;
  border-radius: 40px;

  background: #facc15;

  color: black;

  font-weight: bold;
  cursor: pointer;

  transition: 0.3s;
}

.referral-section button:hover {
  transform: scale(1.05);
}




































/* ================= MOBILE (<= 768px) ================= */
@media (max-width: 768px) {

  /* STATS */
  .stats-container {
    flex-direction: column;
    gap: 20px;
  }

  .stat-box {
    width: 100%;
    max-width: 300px;
    margin: auto;
  }

  .stats-title {
    font-size: 24px;
  }

  /* PLATFORM SECTION */
  .platform {
    flex-direction: column;
    padding: 60px 20px;
    text-align: center;
  }

  .platform-left {
    margin-left: 0;
    /* 🔥 important fix */
    max-width: 100%;
  }

  .platform-left h2 {
    font-size: 28px;
  }

  .platform-left ul {
    margin-top: 20px;
  }

  .platform-buttons {
    justify-content: center;
  }

  .platform-right {
    margin-top: 40px;
  }

  .phone {
    width: 200px;
    height: 400px;
  }

  /* BENEFITS */


  .benefits-container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    /* 🔥 main fix */
    text-align: center;
    /* 🔥 text center */
  }

  .benefits-title {
    font-size: 26px;
  }

  /* FAQ */
  .faq-title {
    font-size: 24px;
  }
}


/* ================= TABLET (769px - 1024px) ================= */
@media (max-width: 1024px) {

  .platform {
    padding: 80px 40px;
    gap: 40px;
  }

  .platform-left {
    margin-left: 0;
  }

  .platform-left h2 {
    font-size: 32px;
  }

  .phone {
    width: 220px;
    height: 440px;
  }

  .stats-container {
    gap: 40px;
  }
}.footer {
  background: #020617;
  color: white;
  padding: 80px 100px;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-grid h4 {
  margin-bottom: 15px;
}

.footer-grid p {
  color: #9ca3af;
  margin: 6px 0;
  cursor: pointer;
  transition: 0.3s;
}

.footer-grid p:hover {
  color: #facc15;
}

/* CONTACT */
.footer-contact {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
  margin-top: 40px;
}

/* LEFT */
.contact-left p {
  color: #9ca3af;
  margin: 6px 0;
}

/* RIGHT */
.contact-right {
  text-align: right;
}

.socials {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.socials span {
  background: #0f172a;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.socials span:hover {
  background: #facc15;
  color: black;
}

/* DISCLAIMER */
.footer-disclaimer {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 13px;
  color: #6b7280;
}
.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}


/* .icon {
  width: 45px;
  height: 45px;
  background: #1e293b;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
} */

/* 🔥 actual icon */
.icon svg {
  color: white;
  font-size: 18px;
}

/* .icon:hover {
  background: #2563eb;
  transform: scale(1.1);
} */


.icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: 0.3s;
  cursor: pointer;
}

.icon:hover {
  background: #f0b90b;
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 0 10px rgba(240,185,11,0.5);
}


.footer-link {
  display: block;
  text-decoration: none;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.footer-link:hover {
  color: #f0b90b;
}



/* ================= MOBILE (<= 768px) ================= */
@media (max-width: 768px) {

  .footer {
    padding: 60px 20px;
  }

  /* GRID → stack */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 column layout */
    gap: 30px;
  }

  .footer-grid h4 {
    font-size: 16px;
  }

  .footer-grid p {
    font-size: 13px;
  }

  /* CONTACT SECTION */
  .footer-contact {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .contact-right {
    text-align: center;
  }

  .socials {
    justify-content: center;
  }

  /* DISCLAIMER */
  .footer-disclaimer {
    text-align: center;
  }
}


/* ================= SMALL MOBILE (<= 480px) ================= */
@media (max-width: 480px) {

  .footer-grid {
    grid-template-columns: 1fr; /* 🔥 single column */
  }
}


/* ================= TABLET (769px - 1024px) ================= */
@media (max-width: 1024px) {

  .footer {
    padding: 70px 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 30px;
  }

  .footer-contact {
    flex-direction: column;
    gap: 20px;
  }

  .contact-right {
    text-align: center;
  }

  .socials {
    justify-content: center;
  }
}
body {
  padding-bottom: 90px;
}


.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;


  background: #0b1220;
  display: flex;
  justify-content: space-around;
  align-items: center;

  padding: 10px 0;
  border-top: 1px solid #1e293b;

  padding-bottom: 30px;
  z-index: 9999;
}

.mobile-bottom-nav div {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #aaa;
  font-size: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.mobile-bottom-nav svg {
  font-size: 18px;
  margin-bottom: 3px;
}

/* ACTIVE COLOR (optional) */
.mobile-bottom-nav div:hover {
  color: #00ffcc;
}


@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none;
  }
}/* 🌌 SAME BACKGROUND AS ASSETS */
.helpdesk-page {
  min-height: 100vh;
  background: radial-gradient(circle at top, #0a0f1f, #020617);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  color: #e5e7eb;
}



@media (min-width: 1024px) {
  .helpdesk-container {
    max-width: 700px;
  }
}

/* ✨ GLASS CARD (MATCH ASSETS STYLE) */
.helpdesk-container {
  width: 100%;
  max-width: 1000px; 

  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;

  padding: 50px 40px;

  box-shadow: 
    0 0 30px rgba(0,0,0,0.6),
    inset 0 0 20px rgba(255,255,255,0.03);

  transition: 0.3s;
}

/* hover lift */
.helpdesk-container:hover {
  transform: translateY(-5px);
}

/* title */
.helpdesk-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
}

/* form */
.helpdesk-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* input style */
.helpdesk-form input,
.helpdesk-form textarea {
  padding: 14px;
  border-radius: 12px;
  border: none;

  background: rgba(255,255,255,0.06);
  color: white;

  font-size: 14px;
  outline: none;

  transition: 0.2s;
}

/* focus glow */
.helpdesk-form input:focus,
.helpdesk-form textarea:focus {
  box-shadow: 0 0 10px rgba(0,200,255,0.5);
  background: rgba(255,255,255,0.08);
}

/* textarea */
.message-box {
  min-height: 120px;
  resize: none;
}

/* button */
.helpdesk-form button {
  margin-top: 10px;
  padding: 14px;

  border-radius: 12px;
  border: none;

  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;

  font-weight: 600;
  cursor: pointer;

  box-shadow: 0 5px 20px rgba(0,150,255,0.5);

  transition: 0.3s;
}

/* hover */
.helpdesk-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,150,255,0.8);
}

.support-info {
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 10px;
  color: #cbd5f5;
  font-size: 14px;
}

.support-info p {
  margin: 5px 0;
}

/* mobile */
@media (max-width: 480px) {
  .helpdesk-container {
    padding: 20px;
  }
}/* 🌌 SAME BACKGROUND AS ASSETS */
.refer-page {
  min-height: 100vh;
  background: radial-gradient(circle at top, #0a0f1f, #020617);
  padding: 40px 60px;
  color: #e5e7eb;
}



.refer-btn svg {
  font-size: 14px;
  vertical-align: middle;
}

.status-box svg {
  font-size: 18px;
  color: #00c6ff;
  display: block;
  margin: 0 auto 6px;
  transition: 0.3s;
}

.status-box:hover svg {
  transform: scale(1.3) rotate(8deg);
  color: #00e0ff;
}



/* center container */
.refer-container {
  max-width: 900px;
  margin: auto;
}

/* 🔥 CARD (ASSETS STYLE GLASS) */
.refer-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;

  padding: 30px;
  margin-bottom: 25px;

  box-shadow:
    0 0 30px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(255, 255, 255, 0.03);

  transition: all 0.3s ease;
}

/* hover */
.refer-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 50px rgba(0, 150, 255, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* title */
.refer-title {
  font-size: 24px;
  margin-bottom: 6px;
}

.refer-sub {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 20px;
}

/* 🔹 INPUT ROW */
.refer-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

/* input */
.refer-input {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

/* button */
/* .refer-btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0,150,255,0.5);
} */

/* 🔥 BUTTON BASE */
.refer-btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 150, 255, 0.5);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ✨ HOVER EFFECT */
.refer-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 150, 255, 0.8);
}

/* 🔥 CLICK EFFECT */
.refer-btn:active {
  transform: scale(0.95);
  box-shadow: 0 3px 10px rgba(0, 150, 255, 0.6);
}

/* 💡 ICON ANIMATION */
.refer-btn svg {
  transition: 0.3s;
}

.refer-btn:hover svg {
  transform: rotate(10deg) scale(1.2);
}




/* 🔥 STATUS */
.status-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 25px;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 16px;
}

/* 🔥 STATUS BOX PREMIUM */
.status-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
  border-radius: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}


/* ✨ hover */
.status-box:hover {
  transform: translateY(-6px) scale(1.03);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 150, 255, 0.4);
}

/* 🔥 glow line */
.status-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  transition: 0.3s;
}

.status-box:hover::after {
  width: 100%;
}


.status-box h3 {
  color: #00e0ff;
}

/* 🔥 TABLE */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  text-align: left;
  padding: 12px;
  color: #00c6ff;
}

.table td {
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* hover */
.table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.empty {
  text-align: center;
  padding: 20px;
  color: #777;
}

/* 🔥 TABLE ROW HOVER */
.table tbody tr {
  transition: all 0.25s ease;
  cursor: pointer;
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: scale(1.01);
  box-shadow: 0 5px 20px rgba(0, 150, 255, 0.2);
}







/* ========================= */
/* 📱 MOBILE RESPONSIVE FIX */
/* ========================= */

@media (max-width: 768px) {

  .refer-page {
    padding: 16px;
  }

  .refer-container {
    width: 100%;
    max-width: 100%;
  }

  .refer-card {
    padding: 18px;
    border-radius: 16px;
  }

  .refer-title {
    font-size: 22px;
  }

  .refer-sub {
    font-size: 13px;
    line-height: 1.5;
  }

  /* INPUT ROW */

  .refer-row {
    flex-direction: column;
    gap: 12px;
  }

  .refer-input {
    width: 100%;
    font-size: 14px;
    padding: 12px;
  }

  .refer-btn {
    width: 100%;
    height: 48px;
    font-size: 14px;
  }

  /* STATUS */

  .status-container {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }

  .status-box {
    width: 100%;
    text-align: center;
  }

  .status-box h3 {
    font-size: 24px;
  }

  .status-box span {
    font-size: 13px;
  }

  /* TABLE */

  .table-section {
    overflow-x: fixed;
  }

  .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 3px;
  }

  .table th {
    font-size: 13px;
    padding: 5px 4px;
    white-space: break-word;
  }

  .table td {
    font-size: 13px;
    padding: 5px 4px;
    max-width: 120px;
    white-space: break-word;
  }

  .email-column {
    display: none;
  }

  .table tbody tr td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }

  .table tbody tr td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }

}

/* ========================= */
/* 📱 EXTRA SMALL DEVICES */
/* ========================= */

@media (max-width: 480px) {

  .refer-page {
    padding: 12px;
  }

  .refer-card {
    padding: 14px;
  }

  .refer-title {
    font-size: 20px;
  }

  .status-box h3 {
    font-size: 20px;
  }

  .refer-btn {
    font-size: 13px;
  }

}























/* ========================= */
/* 📱 MOBILE */
/* ========================= */
@media (max-width: 768px) {

  .refer-page {
    padding: 20px;
  }

  .refer-container {
    max-width: 100%;
  }

  .refer-row {
    flex-direction: column;
  }

  .refer-btn {
    width: 100%;
  }

  .status-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 14px;
    justify-content: space-between;
  }

  .status-box {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 14px 8px;
  }

  .status-box h3 {
    font-size: 18px;
  }

  .status-box span {
    font-size: 12px;
    line-height: 1.4;
  }
}/* ===== HERO ===== */
.fees-header {
  position: relative;
  padding: 120px 20px 120px;
  text-align: center;
  background: linear-gradient(180deg, #020617, #0f172a);
  overflow: hidden;
}

/* subtle grid lines (trading feel) */
.fees-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* glow spot */
.fees-header::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: #0ea5e9;
  filter: blur(120px);
  opacity: 0.2;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
}

/* TITLE */
.fees-header h1 {
  position: relative;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e2e8f0;
}

/* SUBTEXT */
.fees-header p {
  position: relative;
  margin-top: 12px;
  color: #94a3b8;
  font-size: 14px;
}

/* OPTIONAL BADGE */
.fees-badge {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(14,165,233,0.1);
  color: #38bdf8;
  font-size: 12px;
  border: 1px solid rgba(14,165,233,0.3);
}

/* MOBILE */
@media (max-width: 600px) {
  .fees-header {
    padding: 80px 10px;
  }

  .fees-header h1 {
    font-size: 26px;
  }
}


/* ===== SECTION WRAPPER ===== */
.fees-content {
  max-width: 1200px;
  margin: -60px auto 50px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* ===== CARD ===== */
.fees-section {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: 0.3s;
}

.fees-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

/* ===== HEADINGS ===== */
.fees-section h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #38bdf8;
}

/* ===== INTRO ===== */
.fees-intro {
  color: #94a3b8;
  font-size: 14px;
}

/* ===== TABLE ===== */
.fees-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}

/* HEADER */
.fees-table th {
  background: linear-gradient(90deg, #0ea5e9, #6366f1);
  padding: 14px;
  text-align: left;
}

/* ROWS */
.fees-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ROW STYLE */
.fees-table tbody tr {
  transition: 0.2s;
}

/* HOVER */
.fees-table tbody tr:hover {
  background: rgba(14,165,233,0.1);
}

/* ===== VIP HIGHLIGHT ===== */

/* VIP 4 (gold premium) */
.fees-table tbody tr:nth-child(5) {
  background: rgba(250,204,21,0.08);
}

.fees-table tbody tr:nth-child(5) td {
  color: #facc15;
  font-weight: bold;
}

/* VIP 3 */
.fees-table tbody tr:nth-child(4) td {
  color: #22c55e;
}

/* ===== BADGE ===== */
.vip-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  background: rgba(99,102,241,0.2);
  color: #c7d2fe;
  margin-left: 8px;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .fees-section {
    padding: 15px;
  }

  .fees-table th,
  .fees-table td {
    font-size: 13px;
    padding: 8px;
  }
}/* ===== Container ===== */
.maintenance-container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0b0e11;
  color: white;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

/* ===== Title ===== */
.maintenance-title {
  font-size: 32px;
  margin-bottom: 10px;
}

/* ===== Text ===== */
.maintenance-text {
  font-size: 16px;
  opacity: 0.7;
}

/* ============================= */
/* 📱 Mobile Responsive */
/* ============================= */
@media (max-width: 768px) {

  .maintenance-title {
    font-size: 24px;
  }

  .maintenance-text {
    font-size: 14px;
  }

}

/* ============================= */
/* 📲 Tablet Responsive */
/* ============================= */
@media (max-width: 1024px) {

  .maintenance-title {
    font-size: 28px;
  }

}.wallet-container-wallet {
  padding: 20px;
  color: #ffffff;
}

.wallet-title {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 600;
}

.table-wrapper-wallet {
  overflow-x: auto;
}

.wallet-table-wallet {
  width: 100%;
  border-collapse: collapse;
  background-color: #0b1220;
}

.wallet-table-wallet th {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #1f2a44;
  font-weight: 500;
}

.wallet-table-wallet td {
  padding: 12px;
  border-bottom: 1px solid #1f2a44;
}

.wallet-table-wallet tr:hover {
  background-color: #121a2b;
}

/* Amount colors */
.amount-positive {
  color: #00ffae;
  font-weight: 500;
}

.amount-negative {
  color: #ff4d4f;
  font-weight: 500;
}

.filters {
  display: flex;
  justify-content: space-between;
  /* 🔥 left-right split */
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.left-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* RIGHT SIDE */
.right-filters {
  display: flex;
  gap: 8px;
}

/* BUTTON STYLE */
.filters button {
  padding: 6px 12px;
  background: #00ffc3;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.filters button:hover {
  background: #00c9a7;
}

/* LABEL */
.filters label {
  color: white;
  font-weight: 500;
}


/* =========================
   FILTER BAR DESKTOP
========================= */

.filters-wallet-transactions {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 14px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);

  padding: 14px;
  border-radius: 14px;

  margin-bottom: 20px;

  backdrop-filter: blur(12px);
}

/* LEFT */
.left-filters-wallet-transactions {
  display: flex;
  align-items: center;

  gap: 8px;

  flex-wrap: wrap;
}

.left-filters-wallet-transactions label {
  font-size: 12px;
  color: #9ca3af;

  white-space: nowrap;

  font-weight: 500;
}

.left-filters-wallet-transactions input {
  width: 140px;
  height: 34px;

  background: #0f172a;
  border: 1px solid #1e293b;

  color: white;

  border-radius: 8px;

  font-size: 12px;

  padding: 0 10px;

  outline: none;
}

/* WHITE CALENDAR ICON */
.left-filters-wallet-transactions input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 1;
  cursor: pointer;
}

.left-filters-wallet-transactions input[type="date"] {
  color-scheme: dark;
}

/* RIGHT */
.right-filters-wallet-transactions {
  display: flex;
  align-items: center;

  gap: 8px;
}

.right-filters-wallet-transactions button {
  min-width: 90px;
  height: 34px;

  border: none;
  border-radius: 8px;

  background: linear-gradient(135deg, #00ffa3, #00c6ff);

  color: #02111b;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;
}

/* 🔥 WHITE CALENDAR ICON */

.left-filters-wallet-transactions input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(2);
  opacity: 1;
  cursor: pointer;
}

/* FIREFOX + MOBILE SUPPORT */
.left-filters-wallet-transactions input[type="date"] {
  color-scheme: white;
}

/* =========================
   HEADING
========================= */

.wallet-title {
  position: relative;

  width: fit-content;

  margin: 0 auto 28px;

  font-size: 28px;
  font-weight: 400;

  color: #ffcc00;

  letter-spacing: 0.5px;

  text-align: center;

  text-shadow:
    0 0 10px rgba(255, 204, 0, 0.35),
    0 0 20px rgba(255, 204, 0, 0.12);
}

/* UNDERLINE */
.wallet-title::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -12px;

  transform: translateX(-50%);

  width: 140px;
  height: 4px;

  border-radius: 20px;

  background: #ffcc00;

  box-shadow:
    0 0 10px rgba(255, 204, 0, 0.5),
    0 0 20px rgba(255, 204, 0, 0.25);
}



@media (max-width: 768px) {

  /* TABLE WRAPPER */
  .table-wrapper-wallet {
    overflow: hidden;
    border-radius: 12px;
  }

  /* TABLE */
  .wallet-table-wallet {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }

  /* HEADER */
  .wallet-table-wallet th {
    font-size: 13px;
    font-weight: 600;

    padding: 8px 3px;

    text-align: center;

    white-space: nowrap;
  }



  .wallet-table-wallet td {
    justify-content: space-between;
    font-size: 12px;

    text-align: center;
    vertical-align: middle;

    line-height: 1.2;

    word-break: break-word;
  }


  .wallet-table-wallet tbody tr {
    background: #0f1b2d;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 0 10px rgba(0, 255, 195, 0.1);
  }

  .wallet-table-wallet td::before {
    color: #9bb4ff;
    font-weight: 500;
  }


  .filters-wallet-transactions {
    display: flex;
    flex-direction: column;

    gap: 8px;

    width: 100%;
  }

  .left-filters-wallet-transactions {
    display: grid;

    grid-template-columns: auto 1fr auto 1fr;

    align-items: center;

    column-gap: 6px;

    width: 100%;
  }

  .left-filters-wallet-transactions label {
    font-size: 10px;
  }

  .left-filters-wallet-transactions input {
    width: 100%;

    min-width: 0;

    height: 30px;

    font-size: 10px;

    padding: 0 8px;
  }

  .right-filters-wallet-transactions {
    display: flex;

    gap: 6px;

    width: 100%;
  }

  .right-filters-wallet-transactions button {
    flex: 1;

    min-width: 0;

    height: 30px;

    font-size: 9px;

    border-radius: 6px;

    white-space: nowrap;
  }

  /* 🔥 WHITE CALENDAR ICON */

  .left-filters-wallet-transactions input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(2);
    opacity: 1;
    cursor: pointer;
  }

  /* FIREFOX + MOBILE SUPPORT */
  .left-filters-wallet-transactions input[type="date"] {
    color-scheme: white;
  }
}/* ===== BACKGROUND ===== */
.about-new-container {
  min-height: 100vh;
  background: linear-gradient(180deg, #020617, #000814);
  color: white;
  font-family: "Inter", sans-serif;
}

/* ===== HERO ===== */
.about-new-hero {
  padding: 120px 20px 140px;
  text-align: center;
  background: radial-gradient(circle at center, #0ea5e9 0%, transparent 70%);
}

/* TEXT */
.hero-content h1 {
  font-size: 48px;
}

.hero-content p {
  margin-top: 10px;
  color: #94a3b8;
}

/* BUTTON */
.hero-btn {
  margin-top: 20px;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, #0ea5e9, #6366f1);
  cursor: pointer;
}

/* ===== CONTENT ===== */
.about-new-content {
  max-width: 1000px;
  margin: -80px auto 40px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* BLOCK */
.about-block {
  background: #0f172a;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s;
}

.about-block:hover {
  transform: translateY(-5px);
}

/* HEADINGS */
.about-block h2 {
  color: #38bdf8;
}

/* FEATURE GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 10px;
}

/* FEATURE CARD */
.feature-card {
  background: #020617;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}

/* WARNING */
.about-warning {
  background: rgba(255,77,79,0.1);
  border-left: 4px solid red;
  padding: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .about-new-content {
    margin: -40px 10px;
  }
}/* BACKGROUND */
.terms-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0b1320, #111c2e);
  color: white;
  font-family: "Segoe UI", sans-serif;
}

/* HEADER */
.terms-header {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(90deg, #ff7b7b, #ffb199);
  color: white;
}

.terms-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.terms-header p {
  opacity: 0.9;
}

/* CONTENT */
.terms-content {
  max-width: 1100px;
  margin: -40px auto 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* INTRO */
.intro {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 30px;
}

/* SECTION */
.terms-section {
  margin-bottom: 25px;
  padding: 15px;
  border-left: 3px solid #ff7b7b;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  transition: 0.3s;
}

.terms-section:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* HEADINGS */
.terms-section h2 {
  color: #ff7b7b;
  margin-bottom: 10px;
}

/* LIST */
.terms-section ul {
  padding-left: 20px;
}

.terms-section li {
  margin-bottom: 8px;
  color: #ddd;
}

/* WARNING */
.warning {
  margin-top: 10px;
  color: #ff4d4f;
  font-weight: bold;
}

/* MOBILE */
@media (max-width: 768px) {
  .terms-header h1 {
    font-size: 26px;
  }

  .terms-content {
    margin: -20px 10px 20px;
    padding: 20px;
  }
}/* 🌌 Background */
.privacy-container {
  min-height: 100vh;
  padding: 40px 20px;
  background: radial-gradient(circle at top, #0b0f1a, #020617);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 💎 Card */
.privacy-card {
  width: 100%;
  max-width: 900px;
  padding: 30px;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);

  color: #e5e7eb;
}

/* 🔥 Title */
.privacy-title {
  font-size: 28px;
  color: #fcd535;
  margin-bottom: 5px;
}

/* Subtitle */
.privacy-sub {
  font-size: 14px;
  color: #00ffa3;
  margin-bottom: 20px;
}

/* Intro */
.privacy-intro {
  margin-bottom: 20px;
  line-height: 1.6;
}

.privacy-intro span {
  color: #00ffa3;
  font-weight: 600;
}

/* Sections */
.privacy-section {
  margin-bottom: 20px;
  padding: 15px;

  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);

  transition: 0.3s;
}

.privacy-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0,255,163,0.2);
}

/* Headings */
.privacy-section h3 {
  margin-bottom: 8px;
  color: #00ffa3;
  font-size: 16px;
}

/* Text */
.privacy-section p {
  font-size: 14px;
  line-height: 1.6;
  color: #d1d5db;
}

/* List */
.privacy-section ul {
  padding-left: 15px;
}

.privacy-section li {
  margin-bottom: 6px;
  font-size: 14px;
  color: #d1d5db;
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .privacy-card {
    padding: 20px;
  }

  .privacy-title {
    font-size: 22px;
  }

  .privacy-section h3 {
    font-size: 14px;
  }

  .privacy-section p,
  .privacy-section li {
    font-size: 13px;
  }
}

/* 📟 Tablet */
@media (max-width: 1024px) {
  .privacy-card {
    max-width: 95%;
  }
}/* BACKGROUND */
.refund-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0b1320, #111c2e);
  color: white;
  font-family: "Segoe UI", sans-serif;
}

/* HEADER */
.refund-header {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(90deg, #ff7b7b, #ffb199);
}

.refund-header h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.refund-header p {
  opacity: 0.9;
}

/* CONTENT */
.refund-content {
  max-width: 1100px;
  margin: -40px auto 40px;
  padding: 30px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* INTRO */
.refund-intro {
  color: #ccc;
  margin-bottom: 25px;
}

/* SECTION */
.refund-section {
  margin-bottom: 25px;
  padding: 15px;
  border-left: 4px solid #ff7b7b;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  transition: 0.3s;
}

.refund-section:hover {
  background: rgba(255,255,255,0.05);
}

/* HEADINGS */
.refund-section h2 {
  color: #ff7b7b;
  margin-bottom: 10px;
}

.refund-section h4 {
  margin-top: 10px;
  color: #ffb199;
}

/* LIST */
.refund-section ul {
  padding-left: 20px;
}

.refund-section li {
  margin-bottom: 8px;
  color: #ddd;
}

/* WARNING */
.refund-warning {
  background: rgba(255,77,79,0.1);
  border-left: 4px solid #ff4d4f;
  padding: 15px;
  margin-bottom: 25px;
  color: #ff4d4f;
  font-weight: bold;
  border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .refund-header h1 {
    font-size: 24px;
  }

  .refund-content {
    margin: -20px 10px 20px;
    padding: 15px;
  }
}/* BACKGROUND */
.aml-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0b1320, #111c2e);
  color: white;
  font-family: "Segoe UI", sans-serif;
}

/* HEADER */
.aml-header {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
}

.aml-header h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.aml-header p {
  opacity: 0.9;
}

/* CONTENT */
.aml-content {
  max-width: 1100px;
  margin: -40px auto 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* INTRO */
.aml-intro {
  color: #ccc;
  margin-bottom: 25px;
}

/* SECTION */
.aml-section {
  margin-bottom: 25px;
  padding: 15px;
  border-left: 4px solid #4facfe;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  transition: 0.3s;
}

.aml-section:hover {
  background: rgba(255,255,255,0.05);
}

/* HEADINGS */
.aml-section h2 {
  color: #4facfe;
  margin-bottom: 10px;
}

/* LIST */
.aml-section ul {
  padding-left: 20px;
}

.aml-section li {
  margin-bottom: 8px;
  color: #ddd;
}

/* WARNING BOX */
.aml-warning {
  background: rgba(255, 77, 79, 0.1);
  border-left: 4px solid #ff4d4f;
  padding: 15px;
  margin-bottom: 25px;
  color: #ff4d4f;
  font-weight: bold;
  border-radius: 6px;
}

/* TABLET */
@media (max-width: 992px) {
  .aml-content {
    padding: 20px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .aml-header h1 {
    font-size: 24px;
  }

  .aml-content {
    margin: -20px 10px 20px;
    padding: 15px;
  }
}/* BACKGROUND */
.risk-container {
  min-height: 100vh;
  background: linear-gradient(180deg, #020617, #000);
  color: #e2e8f0;
  font-family: "Inter", sans-serif;
}

/* HERO */
.risk-hero {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(90deg, #ef4444, #7f1d1d);
}

.risk-hero h1 {
  font-size: 40px;
}

.risk-hero p {
  margin-top: 10px;
  color: #fecaca;
}

/* CONTENT */
.risk-content {
  max-width: 1100px;
  margin: -60px auto 40px;
  padding: 20px;
}

/* INTRO */
.risk-intro {
  margin-bottom: 25px;
  color: #94a3b8;
}

/* GRID */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* CARD */
.risk-card {
  background: rgba(239,68,68,0.08);
  border-left: 4px solid #ef4444;
  padding: 18px;
  border-radius: 10px;
  transition: 0.3s;
}

.risk-card:hover {
  transform: translateY(-4px);
  background: rgba(239,68,68,0.15);
}

/* FULL WIDTH */
.risk-card.full {
  margin-top: 20px;
}

/* WARNING BOX */
.risk-warning {
  margin-top: 25px;
  padding: 20px;
  text-align: center;
  background: rgba(239,68,68,0.15);
  border: 1px solid #ef4444;
  border-radius: 10px;
  font-weight: bold;
  color: #fca5a5;
}

/* LIST */
.risk-card ul {
  padding-left: 20px;
}

.risk-card li {
  margin-bottom: 8px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .risk-grid {
    grid-template-columns: 1fr;
  }

  .risk-hero h1 {
    font-size: 26px;
  }

  .risk-content {
    margin: -40px 10px;
  }
}/* =========================
   PAGE
========================= */

.realized-profit-history-page {
  padding: 40px;
  background: linear-gradient(145deg, #0f1b32, #0d1628);
  min-height: 100vh;
  color: white;
}

/* =========================
   FILTER BAR DESKTOP
========================= */

.filters-realized-profit-history {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 14px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);

  padding: 14px;
  border-radius: 14px;

  margin-bottom: 20px;

  backdrop-filter: blur(12px);
}

/* LEFT */
.left-filters-realized-profit-history {
  display: flex;
  align-items: center;

  gap: 8px;

  flex-wrap: wrap;
}

.left-filters-realized-profit-history label {
  font-size: 12px;
  color: #9ca3af;

  white-space: nowrap;

  font-weight: 500;
}

.left-filters-realized-profit-history input {
  width: 140px;
  height: 34px;

  background: #0f172a;
  border: 1px solid #1e293b;

  color: white;

  border-radius: 8px;

  font-size: 12px;

  padding: 0 10px;

  outline: none;
}

.left-filters-realized-profit-history input:focus {
  border-color: #00c6ff;

  box-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
}

/* BUTTONS */
.right-filters-realized-profit-history {
  display: flex;
  align-items: center;

  gap: 8px;
}

.right-filters-realized-profit-history button {
  min-width: 90px;
  height: 34px;

  border: none;
  border-radius: 8px;

  background: linear-gradient(135deg, #00ffa3, #00c6ff);

  color: #02111b;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  transition: all 0.3s ease;
}

.right-filters-realized-profit-history button:hover {
  transform: translateY(-1px);

  background: linear-gradient(135deg, #00e091, #00b8f5);

  box-shadow: 0 0 16px rgba(0, 255, 163, 0.35);
}

/* CALENDAR ICON */
.left-filters-realized-profit-history input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.8;
}

/* =========================
   TABLE
========================= */

.table-container {
  width: 100%;
  overflow: hidden;

  background: #121c33;

  border-radius: 14px;

  padding: 8px;

  border: 1px solid rgba(255, 255, 255, 0.05);
}

.trade-table {
  width: 100%;
  border-collapse: collapse;
}

/* HEADER */
.trade-table th {
  background: #1b2742;

  color: #9ca3af;

  font-size: 13px;
  font-weight: 600;

  padding: 14px 8px;

  text-align: center;

  border-bottom: 1px solid #2a3b5f;
}

/* BODY */
.trade-table td {
  padding: 14px 8px;

  text-align: center;
  vertical-align: middle;

  font-size: 12px;

  color: #e6edf7;

  border-bottom: 1px solid #1f2c4d;
}

/* HOVER */
.trade-table tbody tr:hover {
  background: #16223d;
}

/* DATE */
.date-time-box {
  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 2px;
}

.date-time-box small {
  color: #94a3b8;
  font-size: 10px;
}

/* COIN */
.coin-info {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 4px;
}

.coin-logo {
  width: 20px;
  height: 20px;

  border-radius: 50%;
}

/* PROFIT */
.profit {
  color: #00ffa3;
  font-weight: 700;
}

/* LOSS */
.loss {
  color: #ff5b5b;
  font-weight: 700;
}

/* =========================
   HEADING
========================= */

.trade-title{
  position:relative;

  display:flex;
  align-items:center;
  justify-content:center;

  gap:12px;

  width:fit-content;

  margin:0 auto 28px;

  font-size:28px;
  font-weight:400;

  color:#ffcc00;

  letter-spacing:0.5px;

  text-align:center;

  text-shadow:
    0 0 10px rgba(255,204,0,0.35),
    0 0 20px rgba(255,204,0,0.12);
}

/* UNDERLINE */
.trade-title::after{
  content:"";

  position:absolute;

  bottom:-12px;
  left:50%;

  transform:translateX(-50%);

  width:140px;
  height:4px;

  border-radius:20px;

  background:#ffcc00;

  box-shadow:
    0 0 10px rgba(255,204,0,0.5),
    0 0 20px rgba(255,204,0,0.25);
}



/* =========================
   MOBILE
========================= */

@media (max-width:768px) {

  .realized-profit-history-page {
    padding: 20px;
  }

  .filters-realized-profit-history {
    display: flex;
    flex-direction: column;

    gap: 8px;

    width: 100%;
  }

  /* FROM + TO */
  .left-filters-realized-profit-history {
    display: grid;

    grid-template-columns: auto 1fr auto 1fr;

    align-items: center;

    column-gap: 6px;

    width: 100%;
  }

  .left-filters-realized-profit-history label {
    font-size: 10px;
  }

  .left-filters-realized-profit-history input {
    width: 100%;

    min-width: 0;

    height: 30px;

    font-size: 10px;

    padding: 0 8px;
  }

  /* BUTTON ROW */
  .right-filters-realized-profit-history {
    display: flex;

    gap: 6px;

    width: 100%;
  }

  .right-filters-realized-profit-history button {
    flex: 1;

    min-width: 0;

    height: 30px;

    font-size: 9px;

    border-radius: 6px;

    white-space: nowrap;
  }

  .table-container {
    padding: 0;
  }

  .trade-table {
    width: 100%;
  }

  .trade-table thead {
    display: table-header-group !important;
  }

  .trade-table tbody {
    display: table-row-group !important;
  }

  .trade-table tr {
    display: table-row !important;

    background: none !important;

    border-radius: 0 !important;

    box-shadow: none !important;
  }

  .trade-table th,
  .trade-table td {
    display: table-cell !important;

    padding: 10px 4px;

    font-size: 10px;

    word-break: break-word;
  }

  /* COLUMN WIDTH */
  .trade-table th:nth-child(1),
  .trade-table td:nth-child(1) {
    width: 34%;
  }

  .trade-table th:nth-child(2),
  .trade-table td:nth-child(2) {
    width: 18%;
  }

  .trade-table th:nth-child(3),
  .trade-table td:nth-child(3) {
    width: 28%;
  }

  .trade-table th:nth-child(4),
  .trade-table td:nth-child(4) {
    width: 20%;
  }

  .coin-logo {
    width: 16px;
    height: 16px;
  }

  .date-time-box small {
    font-size: 8px;
  }

}/* TABLE HEADER */
.openorders-table-header-order-history {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr 0.8fr 0.8fr 1fr 1fr 0.8fr 1fr;

  align-items: center;

  background: #1b2a4a;

  padding: 14px 18px;

  border-radius: 12px;

  margin-bottom: 10px;

  font-size: 13px;
  font-weight: 600;

  color: #cbd5e1;
}

/* TABLE ROW */
.openorders-table-row-order-history {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr 0.8fr 0.8fr 1fr 1fr 0.8fr 1fr;

  align-items: center;

  padding: 18px;

  margin-bottom: 12px;

  background: rgba(255, 255, 255, 0.03);

  border: 1px solid rgba(255, 255, 255, 0.06);

  border-radius: 14px;

  color: white;
}

/* COIN */
.coin-info-open-history {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coin-logo-open-history {
  width: 22px;
  height: 22px;
}

/* =========================
   PAGE
========================= */

.open-order-history-page {
  padding: 40px;
  background: linear-gradient(145deg, #0f1b32, #0d1628);
  min-height: 100vh;
  color: white;
}

/* =========================
   FILTER BAR DESKTOP
========================= */

.filters-open-order-history {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 14px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);

  padding: 14px;
  border-radius: 14px;

  margin-bottom: 20px;

  backdrop-filter: blur(12px);
}

/* LEFT */
.left-filters-open-order-history {
  display: flex;
  align-items: center;

  gap: 8px;

  flex-wrap: wrap;
}

.left-filters-open-order-history label {
  font-size: 12px;
  color: #9ca3af;

  white-space: nowrap;

  font-weight: 500;
}

.left-filters-open-order-history input {
  width: 140px;
  height: 34px;

  background: #0f172a;
  border: 1px solid #1e293b;

  color: white;

  border-radius: 8px;

  font-size: 12px;

  padding: 0 10px;

  outline: none;
}

.left-filters-open-order-history input:focus {
  border-color: #00c6ff;

  box-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
}

/* BUTTONS */
.right-filters-open-order-history {
  display: flex;
  align-items: center;

  gap: 8px;
}

.right-filters-open-order-history button {
  min-width: 90px;
  height: 34px;

  border: none;
  border-radius: 8px;

  background: linear-gradient(135deg, #00ffa3, #00c6ff);

  color: #02111b;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  transition: all 0.3s ease;
}

.right-filters-open-order-history button:hover {
  transform: translateY(-1px);

  background: linear-gradient(135deg, #00e091, #00b8f5);

  box-shadow: 0 0 16px rgba(0, 255, 163, 0.35);
}

/* CALENDAR ICON */
.left-filters-open-order-history input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.8;
}

/* =========================
   MOBILE
========================= */

/* ==========================================================================
   MOBILE RESPONSIVE UPDATE (Only CSS modification)
   ========================================================================== */

/* ==========================================================================
   MOBILE RESPONSIVE: TABLE TO TRADING CARD CONVERSION (Only CSS)
   ========================================================================== */

/* @media (max-width: 768px) {

  .open-order-history-page {
    padding: 12px;
  }

  .filters-open-order-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.02);
  }

  .left-filters-open-order-history {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    align-items: center;
    column-gap: 8px;
    row-gap: 8px;
    width: 100%;
  }

  .left-filters-open-order-history label {
    font-size: 11px;
    color: #9ca3af;
  }

  .left-filters-open-order-history input {
    width: 100%;
    min-width: 0;
    height: 34px;
    font-size: 12px;
    padding: 0 6px;
    box-sizing: border-box;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 6px;
  }

  .right-filters-open-order-history {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 6px;
    width: 100%;
  }

  .right-filters-open-order-history button {
    width: 100%;
    min-width: 0;
    height: 32px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    padding: 0 4px;
  }

  .openorders-table-header {
    display: none !important;
  }

  .openorders-table-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1.2fr !important;
    grid-template-areas:
      "coin lev create"
      "side type price"
      "size status execute" !important;
    row-gap: 16px !important;
    column-gap: 12px !important;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 14px !important;
    padding: 16px !important;
    margin-bottom: 14px !important;
    align-items: start !important;
  }

  .openorders-table-row>div:nth-child(2)::before {
    content: "EXECUTE DATE";
    color: #475569;
    font-size: 10px;
    font-weight: 600;
  }

  .openorders-table-row>div:nth-child(1) {
    grid-column: span 1 !important;
    order: 3 !important;
    text-align: right !important;
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    align-self: center !important;
  }

  .openorders-table-row>div:nth-child(2) {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    grid-column: span 2 !important;
    order: 6 !important;
    text-align: right !important;
    align-items: flex-end !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
  }

  .openorders-table-row>div:nth-child(2)::before {
    content: "EXECUTE DATE";
    color: #475569;
    font-size: 10px;
    font-weight: 600;
  }

  .openorders-table-row>div:nth-child(3) {
    grid-column: span 1 !important;
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .openorders-table-row>div:nth-child(3) span {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.2px;
  }

  .openorders-table-row>div:nth-child(8) {
    position: absolute !important;
    top: 14px !important;
    left: 140px !important;
    grid-column: auto !important;
    order: 3 !important;
    background: rgba(30, 58, 138, 0.4) !important;
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
    color: #3b82f6 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    height: auto !important;
    display: inline-block !important;
  }

  .openorders-table-row>div:nth-child(8)::before {
    display: none !important;

  }

  .openorders-table-row>div:nth-child(4),
  .openorders-table-row>div:nth-child(5),
  .openorders-table-row>div:nth-child(6),
  .openorders-table-row>div:nth-child(7) {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    order: 4 !important;
  }

  .openorders-table-row>div:nth-child(9) {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    order: 5 !important;
    grid-column: span 1 !important;
    text-align: left !important;
  }

  .openorders-table-row>div:nth-child(4)::before {
    content: "SIDE";
    color: #475569;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .openorders-table-row>div:nth-child(5)::before {
    content: "TYPE";
    color: #475569;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .openorders-table-row>div:nth-child(6)::before {
    content: "PRICE";
    color: #475569;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .openorders-table-row>div:nth-child(7)::before {
    content: "SIZE";
    color: #475569;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .openorders-table-row>div:nth-child(9)::before {
    content: "STATUS";
    color: #475569;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .openorders-table-row>div:nth-child(4) {
    text-transform: uppercase;
  }

  .coin-logo {
    position: relative !important;
    border-radius: 50% !important;
    background-color: #1e293b !important;
    display: inline-block !important;
    width: 22px !important;
    height: 22px !important;
  }

  .coin-logo::after {
    content: "🪙" !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #11192e !important;
    border-radius: 50% !important;
    font-size: 11px !important;
  }
} */










/* ==========================================================================
   MOBILE RESPONSIVE: STRICT DOM ORDER MAPPING (LABELS GUARANTEED)
   ========================================================================== */
/* ==========================================================================
   MOBILE RESPONSIVE: EXTREME PREMIUM BUILD (LEVERAGE CENTERED & FIXED LINE)
   ========================================================================== */

@media (max-width: 768px) {

  .open-order-history-page {
    padding: 12px;
  }

  /* --- FILTERS CONFIGURATION --- */
  .filters-open-order-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.02);
  }

  /* FROM + TO Inputs Grid */
  .left-filters-open-order-history {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    align-items: center;
    column-gap: 8px;
    row-gap: 8px;
    width: 100%;
  }

  .left-filters-open-order-history label {
    font-size: 11px;
    color: #9ca3af;
  }

  .left-filters-open-order-history input {
    width: 100%;
    min-width: 0;
    height: 34px;
    font-size: 12px;
    padding: 0 6px;
    box-sizing: border-box;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 6px;
  }

  /* Action Buttons Grid Layout */
  .right-filters-open-order-history {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 6px;
    width: 100%;
  }

  .right-filters-open-order-history button {
    width: 100%;
    min-width: 0;
    height: 32px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    padding: 0 4px;
  }

  /* --- TABLE TO CARD TRANSFORMATION --- */

  /* 1. Close Desktop Table Header */
  .openorders-table-header-order-history {
    display: none !important;
  }

  /* 2. Main Card Layout (Strict Matrix Blueprint with Fixed Spacing) */
  .openorders-table-row-order-history {
    display: grid !important;
    grid-template-columns: 33.33% 33.33% 33.33% !important; /* Perfect 3 Column Ratio Split */
    row-gap: 18px !important;
    column-gap: 0px !important;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 14px !important;
    padding: 16px !important;
    margin-bottom: 14px !important;
    align-items: center !important; 
    position: relative !important;
    padding-top: 14px !important;
  }

  /* 3. SOLID UNBROKEN HORIZONTAL LINE DRAWN VIA CARD PSEUDO-ELEMENT */
  .openorders-table-row-order-history::after {
    content: "" !important;
    position: absolute !important;
    top: 48px !important; /* Fixed position right under the first row data */
    left: 16px !important;
    right: 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; /* Uniform line across full card */
    z-index: 5 !important;
    display: block !important;
  }

  /* --- HEADER ROW ELEMENTS (ABOVE THE LINE) --- */

  /* [Coin Name Block] - Column 1 Row 1 */
  .coin-info-open-history {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-bottom: 14px !important; 
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    border-bottom: none !important;
  }

  .coin-info-open-history span {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.2px;
    line-height: 1.2 !important;
    display: inline-block !important;
  }

  /* Completely Hide Coin Logo */
  .coin-logo-open-history {
    display: none !important;
  }

  /* [Leverage Badge] - Column 2 Row 1 (FIXED CENTERED BLOCK HO GAYA) */
  .openorders-table-row-order-history > div:nth-child(8) {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important; 
    align-items: center !important;
    justify-content: center !important; /* Perfect Center Alignment in Column 2 */
    padding-bottom: 14px !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
  }

  /* Core active structural capsule mapping */
  .openorders-table-row-order-history > div:nth-child(8) > div,
  .openorders-table-row-order-history > div:nth-child(8) span,
  .openorders-table-row-order-history > div:nth-child(8) {
    background: rgba(30, 58, 138, 0.4) !important;
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
    color: #3b82f6 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    display: inline-block !important; 
    width: auto !important;
  }

  .openorders-table-row-order-history > div:nth-child(8)::before {
    display: none !important;
  }

  /* [Create Date] - Column 3 Row 1 */
  .openorders-table-row-order-history > div:nth-child(1) {
    grid-column: 3 !important;
    grid-row: 1 !important;
    text-align: right !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    visibility: visible !important;
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    padding-bottom: 14px !important;
    box-sizing: border-box !important;
    border-bottom: none !important;
  }

  .openorders-table-row-order-history > div:nth-child(1)::before {
    display: none !important;
  }

  /* --- DATA GRID CONTENT (LINE KE NICHE) --- */

  .openorders-table-row-order-history > div:nth-child(2),
  .openorders-table-row-order-history > div:nth-child(4),
  .openorders-table-row-order-history > div:nth-child(5),
  .openorders-table-row-order-history > div:nth-child(6),
  .openorders-table-row-order-history > div:nth-child(7),
  .openorders-table-row-order-history > div:nth-child(9) {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding-top: 6px !important; /* Breath margin below the horizontal line */
  }

  /* --- ROW 2 ALLOCATIONS --- */
  .openorders-table-row-order-history > div:nth-child(4) {
    grid-column: 1 !important;
    grid-row: 2 !important;
    text-align: left !important;
    color: #ffffff !important;
    text-transform: uppercase;
  }

  .openorders-table-row-order-history > div:nth-child(5) {
    grid-column: 2 !important;
    grid-row: 2 !important;
    text-align: left !important;
    color: #ffffff !important;
  }

  .openorders-table-row-order-history > div:nth-child(6) {
    grid-column: 3 !important;
    grid-row: 2 !important;
    text-align: right !important;
    align-items: flex-end !important;
    color: #ffffff !important;
  }

  /* --- ROW 3 ALLOCATIONS --- */
  .openorders-table-row-order-history > div:nth-child(7) {
    grid-column: 1 !important;
    grid-row: 3 !important;
    text-align: left !important;
    color: #ffffff !important;
  }

  .openorders-table-row-order-history > div:nth-child(9) {
    grid-column: 2 !important;
    grid-row: 3 !important;
    text-align: left !important;
    font-weight: 700 !important;
  }

  .openorders-table-row-order-history > div:nth-child(2) {
    grid-column: 3 !important;
    grid-row: 3 !important;
    text-align: right !important;
    align-items: flex-end !important;
    font-size: 13px !important;
    color: #ffffff !important;
    width: 100% !important;
  }

  /* --- SUBHEADER GRAY LABELS CONFIGURATION --- */
  .openorders-table-row-order-history > div:nth-child(4)::before { content: "SIDE"; color: #475569; font-size: 10px; font-weight: 600; letter-spacing: 0.5px; }
  .openorders-table-row-order-history > div:nth-child(5)::before { content: "TYPE"; color: #475569; font-size: 10px; font-weight: 600; letter-spacing: 0.5px; }
  .openorders-table-row-order-history > div:nth-child(6)::before { content: "PRICE"; color: #475569; font-size: 10px; font-weight: 600; letter-spacing: 0.5px; }
  .openorders-table-row-order-history > div:nth-child(7)::before { content: "SIZE"; color: #475569; font-size: 10px; font-weight: 600; letter-spacing: 0.5px; }
  .openorders-table-row-order-history > div:nth-child(9)::before { content: "STATUS"; color: #475569; font-size: 10px; font-weight: 600; letter-spacing: 0.5px; }
  .openorders-table-row-order-history > div:nth-child(2)::before { content: "EXECUTE DATE"; color: #475569; font-size: 10px; font-weight: 600; letter-spacing: 0.5px; }
}/* GLOBAL SETTINGS */
.contact-container {
  min-height: 100vh;
  background-color: #020617;
  background-image: 
    radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.1) 0px, transparent 50%);
  color: #f8fafc;
  font-family: "Inter", -apple-system, sans-serif;
  line-height: 1.6;
}

/* HERO SECTION */
.contact-hero {
  padding: 120px 20px 140px;
  text-align: center;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  clip-path: ellipse(150% 100% at 50% 0%);
}

.contact-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.contact-hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* CONTENT WRAPPER */
.contact-content {
  max-width: 900px;
  margin: -80px auto 60px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* CARD STYLING */
.contact-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.3);
  background: rgba(15, 23, 42, 0.8);
}

.contact-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* EMAIL GRID */
.email-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.email-box {
  background: rgba(2, 6, 23, 0.5);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.2s;
}

.email-box:hover {
  background: rgba(14, 165, 233, 0.05);
  border-color: #0ea5e9;
}

.email-box span {
  display: block;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 4px;
}

.email-box p {
  font-weight: 500;
  color: #f1f5f9;
  word-break: break-all;
}

/* LINKS */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.links span {
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(99, 102, 241, 0.2);
  cursor: pointer;
  transition: 0.2s;
}

.links span:hover {
  background: #6366f1;
  color: white;
}

/* WARNING SECTION */
.contact-warning {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-left: 4px solid #ef4444;
  padding: 20px;
  border-radius: 12px;
  color: #fca5a5;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .contact-hero {
    padding: 80px 20px 100px;
  }

  .contact-content {
    margin-top: -60px;
    gap: 16px;
  }

  .contact-card {
    padding: 24px;
  }

  .email-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .links {
    justify-content: center;
  }
  
  .links span {
    width: 100%;
    text-align: center;
  }
}/* BACKGROUND */
.disclaimer-container {
  min-height: 100vh;
  background: linear-gradient(180deg, #020617, #0f172a);
  color: #e2e8f0;
  font-family: "Inter", sans-serif;
}

/* HERO */
.disclaimer-hero {
  padding: 90px 20px;
  text-align: center;
  background: linear-gradient(90deg, #1e293b, #020617);
}

.disclaimer-hero h1 {
  font-size: 38px;
}

.disclaimer-hero p {
  margin-top: 8px;
  color: #94a3b8;
}

/* CONTENT */
.disclaimer-content {
  max-width: 1000px;
  margin: -50px auto 40px;
  padding: 20px;
}

/* INTRO */
.intro {
  margin-bottom: 20px;
  color: #cbd5f5;
}

/* SECTION */
.disclaimer-section {
  margin-bottom: 20px;
  padding: 18px;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  border-left: 3px solid #0ea5e9;
  transition: 0.3s;
}

.disclaimer-section:hover {
  background: rgba(255,255,255,0.05);
}

/* HEADINGS */
.disclaimer-section h2 {
  color: #38bdf8;
  margin-bottom: 8px;
}

/* LIST */
.disclaimer-section ul {
  padding-left: 20px;
}

.disclaimer-section li {
  margin-bottom: 6px;
}

/* WARNING */
.disclaimer-warning {
  margin: 25px 0;
  padding: 15px;
  background: rgba(239,68,68,0.1);
  border: 1px solid #ef4444;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  color: #fca5a5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .disclaimer-hero h1 {
    font-size: 26px;
  }

  .disclaimer-content {
    margin: -30px 10px;
  }
}/* Full page background */
.auth-container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  font-family: "Poppins", sans-serif;
}

/* Card */
.auth-card {
  background: #0b1324;
  padding: 30px 25px;
  border-radius: 16px;
  width: 100%;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s ease-in-out;
}

/* Heading */
.auth-card h2 {
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Inputs */
.auth-card input {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: #1e293b;
  color: #fff;
  font-size: 14px;
  transition: 0.3s;
}

.auth-card input::placeholder {
  color: #94a3b8;
}

.auth-card input:focus {
  border: 1px solid #6366f1;
  box-shadow: 0 0 8px #6366f1;
}

/* Password wrapper */
.password-wrapper {
  position: relative;
  width: 100%;
}

/* Eye icon */
.password-wrapper span {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  cursor: pointer;
  transition: 0.3s;
}

.password-wrapper span:hover {
  color: #6366f1;
}

/* Button */
.auth-card button {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: white;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.auth-card button:hover {
  transform: scale(1.03);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

/* Error message */
.error {
  color: #f87171;
  font-size: 13px;
  margin-bottom: 10px;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .auth-card {
    padding: 25px 20px;
    border-radius: 12px;
  }

  .auth-card h2 {
    font-size: 20px;
  }

  .auth-card input {
    padding: 10px;
    font-size: 13px;
  }

  .auth-card button {
    padding: 10px;
    font-size: 14px;
  }
}.form-container-help-for-registered {
  width: 700px;
  margin: 60px auto;
  padding: 25px 35px;
  background: #0b1220;
  border: 1px solid #1e2a44;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  font-family: Arial, sans-serif;
}

.form-title-help-for-registered {
  text-align: center;
  color: #ffffff;
  margin-bottom: 25px;
  font-size: 26px;
  font-weight: 600;
}

.label-help-for-registered {
  display: block;
  margin-bottom: 8px;
  color: #d1d5db;
  font-size: 15px;
  font-weight: 500;
}

.input-help-for-registered,
.textarea-help-for-registered {
  width: 100%;
  min-height: 50px;
  max-width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #2d3b57;
  border-radius: 8px;
  background-color: #111827;
  color: #ffffff;
  font-size: 17px;
  outline: none;
  transition: 0.3s ease;
  box-sizing: border-box;

  resize: none;
  overflow-y: hidden;
}

/* .textarea-help-for-registered {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #2d3b57;
  border-radius: 8px;
  background-color: #111827;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: 0.3s ease;
  box-sizing: border-box;
} */

.input-help-for-registered::placeholder,
.textarea-help-for-registered::placeholder {
  color: #9ca3af;
}

.input-help-for-registered:focus,
.textarea-help-for-registered:focus {
  border-color: #1d9bf0;
  box-shadow: 0 0 8px rgba(29, 155, 240, 0.4);
}

.button-help-for-registered {
  width: 100%;
  padding: 13px;
  background: linear-gradient(90deg, #1d9bf0, #2563eb);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.button-help-for-registered:hover {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  transform: translateY(-1px);
}



.file-input-help-for-registered {
  width: 100%;
  margin-bottom: 20px;
  color: white;
  font-size: 14px;
}


.pending-status-box {
  margin-top: 15px;
  padding: 10px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid #ffc107;
  border-radius: 8px;
  color: white;
  font-size: 14px;
}

.pending-status-text {
  color: #ffc107;
  font-weight: 700;
  margin-left: 5px;
}






.ticket-history-container {
  margin-top: 35px;
  width: 92%;
  margin-left: auto;
  margin-right: auto;
}

.ticket-history-title {
  color: white;
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 700;
}

.ticket-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #1e293b;
  background: #081028;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
}

.ticket-history-table {
  width: 100%;
  border-collapse: collapse;
}

.ticket-history-table thead {
  background: #1e293b;
}

.ticket-history-table th {
  padding: 16px;
  text-align: left;
  color: #38bdf8;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #334155;
}

.ticket-history-table td {
  padding: 16px;
  border-bottom: 1px solid #1e293b;
  color: #e2e8f0;
  font-size: 14px;
  vertical-align: middle;
}

.ticket-history-table tr {
  transition: 0.3s;
}

.ticket-history-table tbody tr:hover {
  background: rgba(30, 41, 59, 0.45);
}

.ticket-table-image {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #334155;
}

.ticket-image-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-image-link {
  background: linear-gradient(90deg,
      #0ea5e9,
      #2563eb);
  color: white;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: 0.3s;
}

.view-image-link:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.pending-badge {
  background: #f59e0b;
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
}

.closed-badge {
  background: #22c55e;
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
}

.no-ticket-cell {
  text-align: center;
  color: #94a3b8;
  padding: 30px;
}

.no-image-text {
  color: #94a3b8;
  font-size: 13px;
}

/* View Message Button */
.view-message-btn {
  background: linear-gradient(90deg,
      #0ea5e9,
      #2563eb);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.view-message-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}



@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
  }

  .form-container-help-for-registered {
    width: 95%;
    margin: 25px auto;
    padding: 18px;
    box-sizing: border-box;
    border-radius: 14px;
  }

  .form-title-help-for-registered {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .input-help-for-registered,
  .textarea-help-for-registered {
    font-size: 17px;
    padding: 10px;
  }

  .button-help-for-registered {
    padding: 12px;
    font-size: 14px;
  }

  .ticket-history-container {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .ticket-history-title {
    font-size: 25px;
    margin-bottom: 15px;
    text-align: center;
  }

  .ticket-table-wrapper {
    width: 100%;
    overflow-x: hidden;
    border-radius: 14px;
  }

  .ticket-history-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
  }

  .ticket-history-table th,
  .ticket-history-table td {
    padding: 8px 5px;
    font-size: 13px;
    word-break: break-word;
    overflow-wrap: break-word;
    vertical-align: middle;
    text-align: center;
  }

  /* Column widths */
  .ticket-history-table th:nth-child(1),
  .ticket-history-table td:nth-child(1) {
    width: 24%;
  }

  .ticket-history-table th:nth-child(2),
  .ticket-history-table td:nth-child(2) {
    width: 16%;
  }

  .ticket-history-table th:nth-child(3),
  .ticket-history-table td:nth-child(3) {
    width: 28%;
  }

  .ticket-history-table th:nth-child(4),
  .ticket-history-table td:nth-child(4) {
    width: 14%;
  }

  .ticket-history-table th:nth-child(5),
  .ticket-history-table td:nth-child(5) {
    width: 18%;
  }

  /* Image button */
  .view-image-link {
    padding: 5px 10px;
    font-size: 10px;
    border-radius: 6px;
    display: inline-block;
    white-space: nowrap;
  }

  /* Status badges */
  .pending-badge,
  .closed-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 5px 8px;
    font-size: 10px;
    border-radius: 20px;
    font-weight: 700;
    white-space: nowrap;
  }

  .ticket-image-wrapper {
    justify-content: center;
  }

  .no-image-text {
    font-size: 10px;
  }

  .view-message-btn {
    padding: 5px 10px;
    font-size: 10px;
    border-radius: 6px;
    white-space: nowrap;
  }
}/* =========================
   PAGE
========================= */

.tpsl-page {

    min-height: 100vh;

    background: #000814;

    color: white;

    padding: 24px 20px;

    max-width: 760px;

    margin: auto;
}

/* =========================
   HEADER
========================= */

.tpsl-top {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 5px;
}

.back-btn {

    background: transparent;

    border: none;

    color: white;

    font-size: 24px;

    cursor: pointer;
}

.tpsl-top h1 {

    font-size: 28px;

    font-weight: 700;
}

/* =========================
   PAIR
========================= */

.pair-box {

    display: flex;

    align-items: center;

    gap: 8px;

    /* margin-bottom: 10px; */
}

.pair-box h2 {

    font-size: 24px;

    font-weight: 700;
}

.pair-box span {

    font-size: 16px;

    font-weight: 600;

    color: #14f195;
}

/* =========================
   INFO GRID
========================= */

.tpsl-info-grid {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 24px;
}

.tpsl-info-grid div {

    flex: 1;

    min-width: 0;
}

.tpsl-info-grid span {

    display: block;

    color: #7c8599;

    font-size: 11px;

    margin-bottom: 5px;
}

.tpsl-info-grid h4 {

    font-size: 15px;

    font-weight: 700;

    white-space: nowrap;

    word-break: break-word;

    line-height: 1.4;
}

/* =========================
   LIQUIDATION
========================= */

.liquidation-box {

    margin-bottom: 24px;
}

.liquidation-box span {

    font-size: 15px;

    color: #cbd5e1;
}

.liquidation-box h4 {

    margin-top: 4px;

    font-size: 20px;

    font-weight: 700;

    color: #f59e0b;
}

/* =========================
   CARD
========================= */

.tpsl-card {

    background: #0b1120;

    border-radius: 18px;

    padding: 18px;

    margin-bottom: 18px;

    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================
   CARD HEADER
========================= */

.tpsl-card-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 16px;
}

.tpsl-card-header h3 {

    font-size: 22px;

    font-weight: 700;
}

.cancel-text {

    font-size: 14px;

    color: #7c8599;
}

/* =========================
   LABELS
========================= */

.tpsl-label-row {

    display: flex;

    justify-content: space-between;

    margin-bottom: 8px;
}

.tpsl-label-row span {

    font-size: 13px;

    color: #cbd5e1;
}

/* =========================
   INPUT ROW
========================= */

.tpsl-input-row {

    display: flex;

    gap: 10px;

    margin-bottom: 12px;
}

/* =========================
   INPUT BOX
========================= */

.tpsl-input-box {

    flex: 1;

    height: 48px;

    border-radius: 12px;

    background: #1b2235;

    border: 1px solid rgba(255, 255, 255, 0.06);

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 12px;
}

.tpsl-input-box input {

    width: 100%;

    background: transparent;

    border: none;

    outline: none;

    color: white;

    font-size: 15px;
}

.tpsl-input-box input::placeholder {

    color: #7c8599;
}

.tpsl-input-box span {

    font-size: 14px;

    color: #7c8599;
}

/* =========================
   EST TEXT
========================= */

.est-text {

    font-size: 14px;

    color: #cbd5e1;
}

.est-profit {

    color: #14f195;

    font-weight: 700;

    margin-left: 6px;
}

.est-loss {

    color: #ff4d4f;

    font-weight: 700;

    margin-left: 6px;
}

/* =========================
   BUTTON
========================= */

.confirm-btn {

    width: 100%;

    height: 56px;

    border: none;

    border-radius: 14px;

    background: #14f195;

    color: #08111f;

    font-size: 20px;

    font-weight: 700;

    cursor: pointer;

    margin-top: 10px;
}


.tpsl-input-box input:disabled {

    opacity: 0.7;

    cursor: not-allowed;
}

.delete-btn {

    background: transparent;

    border: none;

    color: #7c8599;

    font-size: 18px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: 0.3s;
}

.delete-btn:hover {

    color: #ff4d4f;

    transform: scale(1.08);
}

.error-text {
    color: #ff4d4f;
    font-size: 13px;
    margin-top: 8px;
}

.delete-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    body,
    html {

        overflow-x: hidden;
    }

    .tpsl-page {

        padding: 14px;

        overflow-x: hidden;
    }

    .tpsl-top {

        margin-bottom: -10px;
    }

    .tpsl-top h1 {

        font-size: 22px;
    }

    .back-btn {

        font-size: 22px;
    }



    .pair-box h2 {

        font-size: 18px;
    }

    .pair-box span {

        font-size: 15px;
    }

    .tpsl-info-grid {

        display: grid;

        grid-template-columns: repeat(5, 1fr);

        gap: 12px 8px;

        margin-bottom: 15px;
    }

    .tpsl-info-grid div {

        min-width: 0;
    }

    .tpsl-info-grid span {

        display: block;

        font-size: 13px;

        color: #7c8599;

        margin-bottom: 4px;

        line-height: 0.5;

        text-align: center;
    }

    .tpsl-info-grid h4 {

        font-size: 11px;

        font-weight: 700;

        line-height: 1;

        text-align: center;

        word-break: break-word;
    }

    .liquidation-box span {

        font-size: 14px;
    }

    .liquidation-box h4 {

        font-size: 16px;
    }

    .tpsl-card {

        padding: 16px;

        border-radius: 16px;
    }

    .tpsl-card-header h3 {

        font-size: 18px;
    }

    .cancel-text {

        font-size: 13px;
    }

    .tpsl-label-row span {

        font-size: 12px;
    }

    .tpsl-input-row {

        gap: 8px;
    }

    .tpsl-input-box {

        height: 48px;

        padding: 0 12px;
    }

    .tpsl-input-box input {

        font-size: 15px;
    }

    .tpsl-input-box span {

        font-size: 15px;
    }

    .est-text {

        font-size: 13px;
    }

    .confirm-btn {

        height: 54px;

        border-radius: 14px;

        font-size: 18px;
    }
}/* body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
} */

/* body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #0b1220 0%, #0d1628 100%);
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
} */


