    body {
      margin: 0;
      font-family: "Poppins", sans-serif;
      background: #0e1525;
      color: #fff;
      
            display: flex;
            justify-content: center;
            align-items: center;
    }
    
    .page {
            background-color: #0e1525;
            border-radius: 10px;
            width: 100%;
            max-width: 450px;
            padding: 20px 20px 10px 20px;
            box-shadow: 0 4px 6px rgba(255, 255, 255, 0.2);
            height: 96vh;
            display: flex;
            flex-direction: column; 
            overflow: hidden;
            overflow-y: auto;
        }

    .header {
      padding: 15px 30px;
      background: #1A1F35;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
      margin-top: -20px;
      margin-left: -20px;   /* cancel page padding */
  margin-right: -20px;  /* cancel page padding */
  border-radius: 10px 10px 0 0;
    }

    .header .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .header .logo img {
      width: 32px;
      height: 32px;
      border-radius: 6px;
    }

    .header .logo span {
      font-size: 20px;
      font-weight: 600;
      color: #C084FC; /* BNB Gold color */
    }

 .connect-btn {
  background: #C084FC;
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.4);
}

.connect-btn:hover {
  background: #E879F9;
  color: #fff;
  box-shadow: 0 0 15px rgba(232, 121, 249, 0.8), 0 0 25px rgba(192, 132, 252, 0.6);
  transform: translateY(-2px);
}

    .connect-btn i {
      color: #000;
    }

    @media (max-width: 753px) {
      .header {
        padding: 20px 20px;
      }
      .header .logo span {
        font-size: 18px;
      }
      .connect-btn {
        padding: 8px 16px;
        font-size: 14px;
      }
    }
    

.recent {
  background: #1A1F35;
  border-radius: 10px;
  padding: 15px 20px;
  width: 100%;
  margin-top: 20px;
  color: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.recent-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.recent-header img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}

.recent-header span {
  font-weight: 600;
  font-size: 16px;
  color: #C084FC;
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.txn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1c2538;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 15px;
  word-break: break-all;
}

.txn-text {
  color: #f2f2f2;
  flex: 1;
  margin-right: 8px; /* reduces space between text and time */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.txn-time {
  color: #C084FC;
  font-weight: 500;
  flex-shrink: 0;
}

@media (max-width: 753px) {
  .recent {
    padding: 12px 15px;
  }
  .txn {
    font-size: 13px;
    padding: 7px 8px;
  }
}


    .trade-card {
  background: #1A1F35;
  border-radius: 16px;
  padding: 20px;
  margin-top: 25px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.trade-title {
  color: #C084FC;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

.swap-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.swap-section {
  background: #1c2538;
  border-radius: 18px;
  padding: 12px 15px;
}

.swap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #ccc;
  margin-bottom: 8px;
}

.swap-label i {
  color: #C084FC;
  margin: 0 5px;
}

.swap-balance {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #C084FC;
}

.swap-balance img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.swap-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0e1525;
  border-radius: 14px;
  padding: 8px 10px;
}

.token-select {
  display: flex;
  align-items: center;
  gap: 8px;
}

.token-select img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.token-select select {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.swap-input input {
  width: 40%;
  background: transparent;
  border: none;
  text-align: right;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.swap-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 5px 0;
}

.swap-divider .line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.swap-divider .icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #C084FC;
  font-size: 12px;
}

/* For Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.select2-results__option img,
.select2-selection__rendered img {
  vertical-align: middle;
  margin-right: 6px;
}

.swap-btn {
  width: 50%;
  background: #C084FC;
  color: #000;
  border: none;
  padding: 12px 0;
  margin: 30px auto 5px auto;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(192, 132, 252, 0.6), 0 0 30px rgba(232, 121, 249, 0.1);
}

.swap-btn i {
  font-size: 16px;
}

.swap-btn:hover {
  background: #E879F9;
  box-shadow: 0 0 20px rgba(232, 121, 249, 0.8), 0 0 35px rgba(192, 132, 252, 0.6);
  transform: translateY(-2px);
}





    .rate-card {
  background: #1A1F35;
  border-radius: 12px;
  padding: 15px;
  margin-top: 20px;
  box-shadow: 0 0 15px rgba(243, 186, 47, 0.1);
}

.rate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: #fff;
}

.rate-header img {
  width: 18px;
  height: 18px;
  margin-right: 5px;
}

.rate-left, .rate-right {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}

.rate-info {
  text-align: left;
  font-size: 13px;
  margin-bottom: 10px;
  color: #fff;
}

.change-up {
  color: #16c784; /* green for up */
  font-weight: 600;
}

.change-down {
  color: #ea3943; /* red for down */
}

.chart-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
}

.chart-frame {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 10px;
}




    .footer {
  background: #1A1F35;
  padding: 30px 15px 15px;
  margin-top: 30px;
  text-align: center;
  color: #fff;
  margin-top: 150px;
  margin-left: -20px;
  margin-right: -20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
}

.footer-left p {
  font-size: 11px;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 6px;
}

.ca {
  color: #C084FC;
  font-weight: 600;
  word-break: break-all;
  font-size: 11px;
}

.footer-right h3 {
  font-size: 14px;
  margin-bottom: 8px;
  color: #fff;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  font-size: 16px;
  color: #fff;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #C084FC;
}

.footer-line {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 18px 0 8px;
}

.footer-bottom p {
  font-size: 11px;
  color: #ccc;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-logo img {
  width: 18px;
  height: 18px;
}

.footer-logo h2 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* ðŸ“± Responsive (Compact Mobile View) */
@media (max-width: 753px) {
  .footer {
    padding: 25px 10px 10px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px; /* reduce vertical spacing */
  }

  .footer-left p {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .footer-right h3 {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .social-links a {
    font-size: 14px;
  }

  .footer-bottom p {
    font-size: 10px;
  }
}


  