.purchase-widget-container {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background-color: #0d111c;
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.purchase-widget {
  background-color: #101726;
  border-radius: 20px;
  padding: 40px 30px;
  max-width: 500px;
  width: 100%;
  color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #bbb;
  margin-bottom: 12px;
}

.progress-bar-wrapper {
  background-color: #1b2333;
  height: 14px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
}

.progress-bar {
  background: linear-gradient(90deg, #00d4ff, #0080ff);
  height: 100%;
  font-size: 12px;
  color: #fff;
  text-align: center;
  line-height: 14px;
  border-radius: 10px 0 0 10px;
  transition: width 0.3s ease;
}

.buy-title {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  color: #00d4ff;
  margin-bottom: 25px;
}

.wallet-address {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 25px;
}

#walletAddress {
  font-size: 14px;
  color: #aaa;
  margin-top: 10px;
}

#connectWalletBtn {
  background-color: #0d111c;
  border: 2px solid #00d4ff;
  color: #00d4ff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#connectWalletBtn:hover {
  background: #00d4ff;
  color: #0d111c;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-fields label {
    font-size: 18px;
    color: #f7f2f2;
    margin-bottom: 5px;
    line-height: 22px;
}

.form-fields select,
.form-fields input,
.form-fields number {
  background-color: #1b2333 !important;
  border: none  !important;
  padding: 12px !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-size: 18px !important;
  outline: none !important;
  width: 100% !important;
  line-height: 22px !important;
}

.form-fields select:focus,
.form-fields input:focus {
  border: 1px solid #00d4ff;
}

/* Parent container – make sure this wraps your element */
.center-container {
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center;     /* Vertical centering */
   
}


/* Button styles */
#buyBtn {
    background: linear-gradient(90deg, #00d4ff, #0080ff);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: center;
    width: 60%;
    font-size: 21px;
    line-height: 26px;
}

#buyBtn:hover {
  background: linear-gradient(90deg, #00bcd4, #0066ff);
}

/* Wallet Modal */
.modal {
    display: flex; /* Enables flex layout for centering */
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 17, 28, 0.85);
    align-items: center;     /* Vertical centering */
    justify-content: center; /* Horizontal centering */
}

.modal-content {
  background-color: #101726;
  padding: 30px;
  border-radius: 16px;
  max-width: 400px;
  width: 100%;
  color: #fff;
  position: relative;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.modal-content h2 {
  margin-top: 0;
  font-size: 20px;
  margin-bottom: 20px;
}

.wallet-option {
  padding: 12px 16px;
  background-color: #1b2333;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wallet-option:hover {
  background-color: #273145;
}

.modal .close {
  position: absolute;
  right: 16px;
  top: 12px;
  color: #ccc;
  font-size: 22px;
  cursor: pointer;
}

.progress-info span {
  font-size: 18px;
  line-height: 22px;
  color: #f4f1f1 !important;
}