/* Checkout Modal Styles */
.checkout-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(2, 4, 8, 0.85);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.checkout-modal-content {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 12px;
  width: 90%;
  max-width: 750px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.checkout-close-btn {
  position: absolute;
  top: 15px; right: 15px;
  background: none; border: none;
  color: #8b949e; font-size: 24px;
  cursor: pointer;
}
.checkout-close-btn:hover { color: #c9d1d9; }

.checkout-header {
  padding: 20px 25px;
  border-bottom: 1px solid #30363d;
  text-align: center;
}

.checkout-header h2 {
  color: #c9d1d9; margin: 0 0 5px 0; font-size: 20px;
}
.checkout-subtitle {
  color: #8b949e; font-size: 14px; margin: 0;
}

.checkout-body-split {
  display: flex;
  gap: 30px;
  align-items: stretch;
  padding: 20px 25px;
}
.checkout-left, .checkout-right {
  flex: 1;
}

.mobile-pay-btn {
  display: none; /* hidden on desktop */
}

@media (max-width: 650px) {
  .checkout-body-split {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }
  .mobile-pay-btn {
    display: block;
    background: #5f259f; /* PhonePe Purple */
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Fallback for old step-indicator in case used elsewhere */
.step-indicator {
  display: none;
}

.step-content input {
  width: 100%;
  background: #010409;
  border: 1px solid #30363d;
  color: #c9d1d9;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  box-sizing: border-box;
}
.step-content input:focus {
  outline: none; border-color: #58a6ff;
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.3);
}

.checkout-price-highlight {
  color: #3fb950; font-size: 18px; font-weight: bold;
}

.payment-qr-container {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  margin-top: 10px;
}

.qr-placeholder {
  border: 2px dashed #ccc;
  padding: 30px 10px;
  color: #666;
  border-radius: 6px;
}

.checkout-submit-btn {
  width: 100%;
  background: #238636;
  color: #fff;
  border: 1px solid rgba(240, 246, 252, 0.1);
  padding: 12px;
  border-radius: 6px;
  font-weight: bold; font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}
.checkout-submit-btn:hover { background: #2ea043; }
.checkout-submit-btn:disabled { background: #21262d; color: #8b949e; cursor: not-allowed; }

.checkout-status-msg {
  margin-top: 10px; font-size: 14px; text-align: center;
}
.status-error { color: #ff7b72; }
.status-success { color: #3fb950; }
