@charset "UTF-8";
/* CSS Document */
body {
      margin: 0;
      background-color: #0c0c0c;
      color: #fff;
      font-family: 'Segoe UI', sans-serif;
    }

    .nav-tabs {
      display: flex;
      justify-content: center;
      background-color: #1a1a1a;
      padding: 10px;
    }

    .nav-tabs button {
      flex: 1;
      padding: 12px;
      background: none;
      color: #D4AF37;
      border: none;
      cursor: pointer;
      font-size: 1rem;
      transition: background 0.3s;
    }

    .nav-tabs button.active, 
    .nav-tabs button:hover {
      background-color: #2a2a2a;
    }

    .tab-section {
      display: none;
      padding: 20px;
      max-width: 600px;
      margin: auto;
    }

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

    .swap-box {
      background-color: #1a1a1a;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
      margin-bottom: 30px;
    }

    .swap-box input,
    .swap-box button {
      width: 100%;
      padding: 10px;
      margin-top: 10px;
      border: none;
      border-radius: 6px;
      font-size: 1rem;
    }

    .swap-box input {
      background-color: #2a2a2a;
      color: #fff;
    }

    .swap-box button {
      background-color: #D4AF37;
      color: #000;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }

    .swap-box button:disabled {
      background-color: #555;
      cursor: not-allowed;
    }

    .status {
      margin-top: 10px;
      font-size: 0.9rem;
      color: #ccc;
      min-height: 1.2em;
    }

    #currentPrice {
      font-weight: bold;
      font-size: 1.2em;
      color: #27ae60;
      text-align: center;
      margin: 20px 0;
    }
    #walletBalances {
        text-align: center;
        margin-top: 10px;
        font-size: 0.95em;
        color: #27ae60; /* change to suit your background */
        font-weight: 600;
        }
        .info-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  border-radius: 50%;
  background-color: #27ae60;
  color: white;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  vertical-align: middle; /* Align with text baseline */
}


.info-circle::before {
  content: "i";
  display: block;
}

.info-circle::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%; /* show above */
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 10;
}
.trade-title {
    position: relative;
    text-align: center;
    margin-bottom: 0.5rem; /* Adjust spacing */
  }

  .trade-subtext {
    display: block;
    font-size: 0.75rem;
    color: #666666;
    margin-top: 0.2rem;
  }
  .presale-banner {
  background-color: #d4af37;
  color: #fff;
  text-align: center;
  padding: 6px 12px;      /* Smaller inside padding */
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  max-width: 600px;
  margin: 0 auto 0.3rem auto;  /* Tight margin below */
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

main.form-container {
  margin-top: 0;          /* Remove top margin if any */
}

@media (max-width: 480px) {
  .presale-banner {
    font-size: 0.9rem;
    padding: 6px 12px;  /* same as desktop to reduce vertical space */
    max-width: 90%;
  }
}
.info-circle:hover::after,
.info-circle:focus::after {
  opacity: 1;
  pointer-events: auto;
} 
.form-container{max-width:600px;margin:60px auto;background:var(--black);color:var(--white);border-radius:12px;padding:30px;box-shadow:0 0 15px rgba(0,0,0,.3);}
.form-container h2{text-align:center;font-size:28px;margin-bottom:25px;}
.form-group{display:flex;flex-direction:column;margin-bottom:15px;}
.form-group label{font-weight:bold;margin-bottom:5px;}
.form-group input{padding:10px;border-radius:6px;border:1px solid #ccc;font-size:16px;}
.submit-btn,.confirm-btn{margin-top:20px;width:100%;background:var(--gold);color:var(--black);padding:12px;border:none;font-weight:bold;border-radius:8px;cursor:pointer;}
.submit-btn:hover,.confirm-btn:hover{background:#e6b800;}
.error-message{color:red;font-size:.9rem;margin-top:5px;}
.rate-box{text-align:center;margin-bottom:20px;font-weight:bold;color:#d4af37;}
.success-message{text-align:center;font-weight:bold;margin-bottom:15px;}
.currency-tabs{display:flex;justify-content:center;margin-bottom:20px;}
.currency-tab{padding:10px 20px;margin:0 5px;border:1px solid var(--gold);border-radius:5px;background:transparent;color:var(--gold);cursor:pointer;font-weight:bold;}
.currency-tab.active{background:var(--gold);color:var(--black);}
.upi-section{text-align:center;margin-top:20px;}
.upi-section img{display:block;width:200px;max-width:100%;height:auto;margin:10px auto;}
.upi-section input{padding:8px;width:80%;margin-bottom:10px;border:1px solid #ccc;border-radius:4px;font-size:16px;}   