* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.wrapper {
  width: 100%;
  padding: 20px;
}

.payment-card {
  max-width: 420px;
  margin: auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(255,255,255,0.1);
}

.header h1 {
  font-size: 22px;
  margin-bottom: 5px;
}

.header p {
  font-size: 13px;
  opacity: 0.7;
}

.divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 20px 0;
}

.row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 14px;
}

.total-row {
  font-size: 18px;
  font-weight: bold;
  color: #00ffd5;
}

.status {
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.pulse {
  width: 12px;
  height: 12px;
  background: #00ffd5;
  border-radius: 50%;
  margin-right: 10px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.7; }
}

button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #00ffd5, #00aaff);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

button:disabled {
  background: #555;
  color: #aaa;
  cursor: not-allowed;
}

button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}

.error {
  margin-top: 15px;
  color: #ff4c4c;
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-content {
  background: #111;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  width: 90%;
  max-width: 350px;
  box-shadow: 0 0 40px rgba(0,255,255,0.2);
}

.modal-content h3 {
  margin-bottom: 10px;
  color: #00ffd5;
}

.modal-content p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.modal-content button {
  width: 100%;
}