.container1 {
  max-width: 450px;
  width: 100%;
  margin-right: 0;
}

.header {
  text-align: center;
  margin-bottom: 20px;
}

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

.header p {
  color: #c084fc;
  font-size: 0.9rem;
}

.price-ribbon {
  background: rgba(126, 34, 206, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 0.8rem;
  text-align: center;
}

.price-ribbon-text {
  color: #e9d5ff;
}

.qc-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid #475569;
  border-radius: 15px;
  padding: 25px;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.error-title-1 {
  font-size: 29px;
}

.error-help-text {
  font-size: 15px;
}


.success-title {
  justify-content: center;
}

.card-subtitle {
  color: #94a3b8;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.chain-option {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  padding-right: 50px;
}

.chain-option:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.chain-option.avalanche {
  background: linear-gradient(135deg, #E84142 0%, #E84142 100%);
}

.chain-option.bnb {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
}

.chain-option.polygon {
  background: linear-gradient(135deg, #8247E5 0%, #6B3DC4 100%);
}

.chain-option.optimism {
  background: linear-gradient(135deg, #f41f1f 0%, #ec1831 100%);
}

.chain-option.arbitrum {
  background: linear-gradient(135deg, #182130 0%, #1f3971 100%);
}
.chain-option.tron {
    background: linear-gradient(135deg, #e81b1c 0%, #e2191a 100%);
  }


.chain-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chain-logo img {
  max-width: 29px;
  height: auto;
}

.chain-details h3 {
  font-size: 0.95rem;
  margin-bottom: 3px;
  text-align: left;
  line-height: 1.1;
}

.chain-details p {
  font-size: 0.69rem;
  opacity: 0.9;
  line-height: 1.29;
}


.info-link {
  display: block;
  text-align: center;
  color: #c084fc;
  text-decoration: none;
  margin-top: 12px;
  font-size: 0.8rem;
}

.info-link:hover {
  color: #e9d5ff;
}

.wallet-info {
  background: rgba(51, 65, 85, 0.5);
  border-radius: 8px;
  padding: 12px;
  margin: 15px 0;
  font-size: 0.85rem;
}

.wallet-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.wallet-header span {
  color: #94a3b8;
  font-size: 0.75rem;
}

.change-btn {
  color: #fff;
  /* text color */
  font-size: 0.8rem;
  /* slightly bigger */
  background-color: #153b77;
  /* purple button */
  border: 2px solid #1e4b93;
  /* darker purple border */
  border-radius: 6px;
  /* rounded corners */
  padding: 6px 12px;
  /* some space inside the button */
  cursor: pointer;
  text-decoration: none;
  /* remove underline */
  transition: background-color 0.2s, transform 0.2s;
  /* smooth hover effects */
  margin-top: -8px;
  margin-bottom: 5px;
  font-weight: 600;
}

.change-btn:hover {
  background-color: #1e4b93;
  /* darker purple on hover */
  transform: translateY(-2px);
  /* small lift effect */
}

.change-btn:active {
  background-color: #102d53;
  /* even darker when clicked */
  transform: translateY(0);
  /* press effect */
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ef4444;
  /* red = not connected */
}

/* Connected */
.status-dot.connected {
  background-color: #22c55e;
  /* green */
}

/* Disconnected */
.status-dot.disconnected {
  background-color: #ef4444;
  /* red */
}

.wallet-address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Courier New', monospace;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.wallet-stats {
  border-top: 1px solid #475569;
  padding-top: 10px;
  font-size: 0.75rem;
  color: #94a3b8;
}

.wallet-stats p {
  margin-bottom: 3px;
}

.payment-option {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.payment-option:hover {
  transform: translateY(-2px);
}

.payment-option.moonpay {
  background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
}

.payment-details h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.payment-details p {
  font-size: 0.75rem;
  opacity: 0.9;
}

.back-btn {
  color: #c084fc;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  margin-bottom: 15px;
  padding: 0;
}

.back-btn:hover {
  color: #e9d5ff;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  color: #cbd5e1;
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.form-group input {
  width: 100%;
  background: #334155;
  border: 1px solid #475569;
  border-radius: 8px;
  padding: 12px;
  color: #fff;
  font-size: 0.9rem;
}

.form-group input:focus {
  outline: none;
  border-color: #a855f7;
}

.transaction-summary {
  background: rgba(51, 65, 85, 0.5);
  border-radius: 8px;
  padding: 12px;
  margin: 15px 0;
  font-size: 0.85rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.summary-row:not(:last-child) {
  border-bottom: 1px solid #475569;
}

.summary-row span:first-child {
  color: #94a3b8;
}

.summary-row span:last-child {
  color: #fff;
  font-weight: 600;
  margin-left: 8px;
}

.alert {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 15px;
  font-size: 0.8rem;
}

.alert h5 {
  color: #fecaca;
  margin-bottom: 5px;
}

.alert p {
  color: #fca5a5;
  margin-bottom: 6px;
}

.alert-link {
  color: #fecaca;
  text-decoration: underline;
  font-size: 0.75rem;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
}

.nativePayBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nativePayBtn .icon-img {
  width: 20px;
  height: 20px;
  max-width: 20px;
  flex: 0 0 auto;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.4);
}

.btn-primary:disabled {
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
  cursor: not-allowed;
}

.btn-secondary {
  width: 100%;
  background: #334155;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 8px;
}

.btn-secondary:hover {
  background: #475569;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 2rem;
}

.confirmation-box {
  background: rgba(51, 65, 85, 0.5);
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  font-size: 0.85rem;
}

.confirmation-item {
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.confirmation-item:not(:last-child) {
  border-bottom: 1px solid #475569;
}

.confirmation-label {
  color: #94a3b8;
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.confirmation-value {
  color: #fff;
  font-size: 15px;
  word-break: break-all;
}

.confirmation-value.large {
  font-size: 1.3rem;
  font-weight: 700;
}

.confirmation-value.success {
  color: #4ade80;
  font-size: 1.5rem;
}

.moonpay-info {
  background: rgba(126, 34, 206, 0.3);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 8px;
  padding: 12px;
  margin: 15px 0;
  font-size: 0.8rem;
}

.moonpay-info h4 {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.moonpay-info ul {
  list-style: none;
  margin-bottom: 10px;
}

.moonpay-info li {
  color: #e9d5ff;
  margin-bottom: 5px;
}

.moonpay-info .info-note {
  color: #c084fc;
  font-size: 0.7rem;
}

.footer {
  text-align: center;
  margin-top: 15px;
  color: #94a3b8;
  font-size: 0.75rem;
}

.hidden {
  display: none;
}

/* QuickCam Coin availability / waitlist (purchase flow) — reuse qc-card language */
.stepAvailability .wl-panel {
  text-align: left;
}

.stepAvailability .wl-status {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(51, 65, 85, 0.7);
  border: 1px solid #475569;
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.stepAvailability .wl-body {
  margin-bottom: 14px;
  line-height: 1.45;
}

.stepAvailability .wl-meta {
  color: #94a3b8;
  font-size: 0.75rem;
  margin: 0 0 12px;
}

.stepAvailability .wl-disclosure {
  background: rgba(51, 65, 85, 0.55);
  border: 1px solid #475569;
  border-radius: 8px;
  padding: 12px;
  margin: 12px 0 16px;
  color: #cbd5e1;
  font-size: 0.78rem;
  line-height: 1.45;
}

.stepAvailability .wl-prefs {
  background: rgba(51, 65, 85, 0.45);
  border-radius: 8px;
  padding: 12px;
  margin: 12px 0;
}

.stepAvailability .wl-prefs-label {
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.stepAvailability .wl-pref {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.82rem;
  margin-bottom: 6px;
  cursor: pointer;
}

.stepAvailability .wl-pref input {
  width: auto;
  margin: 0;
  accent-color: #22c55e;
}

.stepAvailability .wl-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.stepAvailability .wl-actions .btn-primary,
.stepAvailability .wl-actions .btn-secondary {
  margin-top: 0;
  margin-bottom: 0;
}

.stepAvailability .wl-leave {
  background: #3f2a2a;
}

.stepAvailability .wl-leave:hover {
  background: #5c2b2b;
}

.stepAvailability .wl-loading {
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 8px 0 4px;
}

.stepAvailability .wl-ack {
  min-height: 1.2em;
  margin-top: 12px;
  color: #4ade80;
  font-size: 0.8rem;
}

.stepAvailability .wl-ack.is-error {
  color: #fca5a5;
}


.arrow-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  /* arrow size */
  height: 28px;
  opacity: 0.9;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.arrow-icon img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
}

.chain-option:hover .arrow-icon {
  transform: translateY(-50%) translateX(4px);
}