/* Wallet Popup Backdrop */
#walletBackdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9998;
}

/* Popup Container */
#walletPopup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1e1e1e;
  color: #fff;
  width: 320px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  text-align: center;
  animation: fadeIn 0.3s ease-out;
}

/* Heading */
#walletPopup h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #00d084;
}

/* Wallet Buttons */
.wallet-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.walletOption {
  background: #2b2b2b;
  border: 1px solid #444;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

.walletOption:hover {
  background: #00d084;
  color: #fff;
  border-color: #00d084;
}

/* Close Button */
.close-btn {
  margin-top: 20px;
  background: #ff4d4d;
  border: none;
  padding: 10px 15px;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.25s;
}

.close-btn:hover {
  background: #e60000;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}


/* Connect Wallet Button */
#connetBtn {
  background: linear-gradient(135deg, #00bfff, #006eff);
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  width: 100%;
  margin-top: 10px;
}

#connetBtn:hover {
  background: linear-gradient(135deg, #ff9900, #ffcc00);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 168, 0, 0.4);
}

/* Disconnect Button */
.disconnect-btn {
  background: #28a745;
  border: none;
  padding: 8px 14px;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s;
}

.disconnect-btn:hover {
  background: #218838;
}

/* Wallet Status */
.wallet-status {
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.6;
}

.wallet-status .address {
  word-break: break-all;
  font-weight: 500;
  color: #ddd;
}

.wallet-status .connected {
  color: #28a745;
  font-weight: 600;
}
