/* Crypto Payment Modal - Heleket Style */

/* Overlay */
.crypto-payment-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  z-index: 1003;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.crypto-payment-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

/* Modal */
.crypto-payment-modal {
  position: relative;
  background: #040404;
  border: 1px solid #1f1f1f;
  border-radius: 16px;
  width: 850px;
  max-width: 95vw;
  height: auto;
  max-height: 700px;
  z-index: 1004;
  display: none;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s ease;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.crypto-payment-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(0, 123, 255, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(138, 43, 226, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 90%, rgba(255, 140, 0, 0.03) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
}

.crypto-payment-modal.active {
  display: block;
  opacity: 1;
  transform: scale(1);
}

/* Header */
.crypto-payment-header {
  position: relative;
  z-index: 1;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.crypto-payment-logo {
  height: 28px;
  width: auto;
}

.crypto-payment-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.crypto-payment-help {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}

.crypto-payment-help:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.crypto-payment-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.crypto-payment-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.crypto-payment-close .material-symbols-rounded {
  font-size: 18px;
}

/* Body */
.crypto-payment-body {
  position: relative;
  z-index: 1;
  padding: 24px;
  min-height: auto;
  max-height: calc(700px - 80px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

/* Fix nested scroll */
.crypto-payment-body::-webkit-scrollbar {
  width: 6px;
}

.crypto-payment-body::-webkit-scrollbar-track {
  background: transparent;
}

.crypto-payment-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.crypto-dropdown::-webkit-scrollbar {
  width: 4px;
}

.crypto-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.crypto-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

/* Amount Display */
.amount-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.amount-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.amount-value {
  text-align: right;
}

.amount-main {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.amount-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

/* Network Fee Info */
.network-fee-info {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #3b82f6;
}

.network-fee-info .material-symbols-rounded {
  font-size: 16px;
}

/* Section Label */
.section-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

/* Custom Select / Dropdown */
.crypto-select-wrapper {
  position: relative;
  margin-bottom: 16px;
  z-index: 50;
}

.crypto-select-wrapper:first-of-type {
  z-index: 60;
}

#network-select-wrapper {
  z-index: 40;
}

.crypto-select {
  width: 100%;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
}

.crypto-select:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.crypto-select.open {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.crypto-select-value {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.crypto-select-value span {
  flex-shrink: 0;
}

#currency-select-text,
#network-select-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crypto-select-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  vertical-align: middle;
}

.crypto-select-arrow {
  transition: transform 0.2s;
  color: rgba(255, 255, 255, 0.4);
}

.crypto-select.open .crypto-select-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.crypto-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  z-index: 9999;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
}

.crypto-dropdown.open {
  max-height: 300px;
  overflow-y: auto;
  opacity: 1;
  overscroll-behavior: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Search in dropdown */
.crypto-search {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  background: #0a0a0a;
}

.crypto-search input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.crypto-search input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.crypto-search input:focus {
  border-color: rgba(255, 255, 255, 0.2);
}

.crypto-search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.3);
  font-size: 18px;
  pointer-events: none;
}

/* Dropdown options */
.crypto-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s;
}

.crypto-option:hover {
  background: rgba(255, 255, 255, 0.06);
}

.crypto-option.selected {
  background: rgba(59, 130, 246, 0.15);
}

.crypto-option-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.crypto-option-info {
  flex: 1;
}

.crypto-option-name {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.crypto-option-network {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

/* Amount Info Row */
.amount-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.amount-info-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.amount-info-value {
  font-size: 15px;
  font-weight: 500;
  color: #3b82f6;
}

/* Exchange Rate Timer */
.rate-timer {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rate-timer-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #10b981;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.rate-timer-text {
  font-size: 14px;
  color: #10b981;
  font-weight: 500;
}

/* Continue Button */
.crypto-continue-btn {
  width: 100%;
  padding: 16px;
  margin-top: 20px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.crypto-continue-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.crypto-continue-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Payment Timer Footer */
.payment-timer-footer {
  text-align: center;
  padding-top: 20px;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.payment-timer-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.payment-timer-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #ef4444;
}

.payment-timer-value .material-symbols-rounded {
  font-size: 18px;
}

/* Footer */
.crypto-payment-footer {
  position: relative;
  z-index: 0;
  text-align: center;
  padding: 16px 24px 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  background: #040404;
}

.crypto-payment-footer a {
  color: #3b82f6;
  text-decoration: none;
}

/* ============================================
   STEP 2: Payment Details
   ============================================ */

.payment-step {
  display: none;
}

/* Active state moved to bottom with grid layout */

/* Payment Amount Header */
.payment-amount-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.payment-amount-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.payment-amount-value {
  text-align: right;
}

.payment-amount-crypto {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.payment-amount-usd {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* Network Badge */
.payment-network-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.payment-network-badge a {
  color: #3b82f6;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* QR Section */
.payment-qr-section {
  margin: 20px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.payment-qr-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.payment-qr-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.payment-qr-code {
  flex-shrink: 0;
}

.payment-qr-code img {
  width: 140px;
  height: 140px;
  border-radius: 8px;
}

.payment-details {
  flex: 1;
  min-width: 0;
}

/* Address & Amount boxes */
.payment-detail-box {
  margin-bottom: 16px;
}

.payment-detail-box:last-child {
  margin-bottom: 0;
}

.payment-detail-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}

.payment-detail-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.payment-detail-text {
  font-size: 13px;
  color: #fff;
  word-break: break-all;
  font-family: 'Monaco', 'Menlo', monospace;
}

.payment-detail-text .network-tag {
  color: rgba(255, 255, 255, 0.4);
  font-weight: normal;
}

.copy-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.copy-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.copy-btn.copied {
  border-color: #10b981;
  color: #10b981;
}

.copy-btn .material-symbols-rounded {
  font-size: 16px;
}

/* Warning Box */
.payment-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  margin-top: 20px;
}

.payment-warning-icon {
  color: #ef4444;
  font-size: 20px;
}

.payment-warning-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* Success Info Message (Green) */
.payment-info-message {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
  margin-top: 20px;
}

.payment-info-icon {
  color: #10b981;
  font-size: 20px;
  flex-shrink: 0;
}

.payment-info-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* Status Section */
.payment-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
}

.payment-status.hidden {
  display: none;
}

.status-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 12px;
}

.status-icon.pending {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.status-icon.confirming {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.status-icon.completed {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.status-icon.expired,
.status-icon.failed {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.status-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.status-message {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Loading Spinner */
.loading-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Icon Colors */
.crypto-icon-btc { background: #F7931A; }
.crypto-icon-eth { background: #627EEA; }
.crypto-icon-usdt { background: #26A17B; }
.crypto-icon-usdc { background: #2775CA; }
.crypto-icon-bnb { background: #F3BA2F; }
.crypto-icon-trx { background: #FF0013; }
.crypto-icon-ltc { background: #345D9D; }
.crypto-icon-sol { background: #9945FF; }
.crypto-icon-matic { background: #8247E5; }

/* Scrollbar */
.crypto-dropdown::-webkit-scrollbar,
.crypto-payment-body::-webkit-scrollbar {
  width: 6px;
}

.crypto-dropdown::-webkit-scrollbar-track,
.crypto-payment-body::-webkit-scrollbar-track {
  background: transparent;
}

.crypto-dropdown::-webkit-scrollbar-thumb,
.crypto-payment-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.crypto-dropdown::-webkit-scrollbar-thumb:hover,
.crypto-payment-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Cancel Button */
.crypto-cancel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 6px;
}

.crypto-cancel-btn:hover {
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.03);
}

.crypto-cancel-btn .material-symbols-rounded {
  font-size: 16px;
}

/* Payment Notification (minimized state) */
.crypto-payment-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #1a1a2e 0%, #0a0a14 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.1);
  cursor: pointer;
  z-index: 9998;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s ease;
}

.crypto-payment-notification.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.crypto-payment-notification:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.15);
}

.cpn-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.cpn-icon .material-symbols-rounded {
  font-size: 22px;
}

.cpn-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cpn-title {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.cpn-timer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'SF Mono', 'Consolas', monospace;
}

.cpn-expand {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: all 0.2s;
}

.cpn-expand:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.cpn-expand .material-symbols-rounded {
  font-size: 18px;
}

/* Responsive */
@media (max-width: 480px) {
  .crypto-payment-modal {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
  
  .crypto-payment-header {
    padding: 16px;
  }
  
  .crypto-payment-logo {
    height: 28px;
  }
  
  .crypto-payment-body {
    padding: 16px;
    max-height: calc(100vh - 120px);
  }
  
  .amount-main {
    font-size: 24px;
  }
  
  .section-label {
    font-size: 12px;
  }
  
  .crypto-select {
    padding: 12px 14px;
  }
  
  .crypto-select-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    font-size: 11px;
  }
  
  .crypto-option {
    padding: 10px 12px;
  }
  
  .crypto-option-icon {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .crypto-continue-btn {
    padding: 14px;
    font-size: 14px;
  }
  
  .payment-timer-footer {
    padding: 12px;
    margin-top: 16px;
  }
  
  .crypto-cancel-btn {
    padding: 8px;
    font-size: 12px;
    margin-bottom: 50px;
  }
  
  /* Payment step mobile */
  .payment-qr-content {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .payment-qr-code {
    padding: 12px;
  }
  
  .payment-qr-code img {
    width: 180px;
    height: 180px;
  }
  
  .payment-details {
    width: 100%;
  }
  
  .payment-detail-box {
    padding: 12px;
  }
  
  .payment-detail-label {
    font-size: 11px;
  }
  
  .payment-detail-text {
    font-size: 12px;
  }
  
  .payment-amount-crypto {
    font-size: 20px;
  }
  
  .payment-warning {
    padding: 10px 12px;
    font-size: 12px;
  }
  
  /* Notification mobile */
  .crypto-payment-notification {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    gap: 10px;
    flex-wrap: nowrap;
  }
  
  .cpn-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
  }
  
  .cpn-icon .material-symbols-rounded {
    font-size: 18px;
  }
  
  .cpn-content {
    flex: 1;
    min-width: 0;
  }
  
  .cpn-title {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .cpn-timer {
    font-size: 11px;
  }
  
  .cpn-expand {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  
  .cpn-expand .material-symbols-rounded {
    font-size: 16px;
  }
}

/* Small phones */
@media (max-width: 360px) {
  .crypto-payment-body {
    padding: 12px;
  }
  
  .amount-main {
    font-size: 22px;
  }
  
  .payment-qr-code img {
    width: 150px;
    height: 150px;
  }
}

/* =====================================================
   HORIZONTAL LAYOUT FOR DESKTOP (850x700)
   ===================================================== */

/* Selection Step - Horizontal Layout */
.selection-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 16px 40px;
  min-height: 450px;
}

.selection-step .amount-header {
  grid-column: 1 / -1;
}

.selection-step .network-fee-info {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.selection-step .selection-left {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.selection-step .selection-right {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.selection-step .crypto-continue-btn {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.selection-step .crypto-cancel-btn {
  grid-column: 1 / -1;
}

/* Payment Step - Horizontal Layout */
.payment-step.active {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto auto;
  gap: 24px 40px;
  min-height: 450px;
}

.payment-step .payment-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payment-step .payment-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.payment-step .payment-qr-code {
  margin: 0;
  background: #fff;
  padding: 12px;
  border-radius: 12px;
}

.payment-step .payment-qr-code img {
  width: 200px;
  height: 200px;
  display: block;
}

.payment-step .payment-info-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  padding: 14px;
  max-width: 280px;
  text-align: left;
}

.payment-step .payment-info-notice .payment-info-icon {
  color: #10b981;
  font-size: 20px;
  flex-shrink: 0;
}

.payment-step .payment-info-notice .payment-info-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.payment-step .payment-timer-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.payment-step #payment-status {
  grid-column: 1 / -1;
}

.payment-step .crypto-cancel-btn {
  grid-column: 1 / -1;
}

/* Selection right side styles */
.selection-right #amount-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}

.selection-right .payment-timer-footer {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* Responsive - back to vertical on mobile */
@media (max-width: 900px) {
  .crypto-payment-modal {
    width: 95vw;
    max-width: 480px;
    max-height: 95vh;
  }
  
  .selection-step {
    display: block !important;
  }
  
  .selection-step .selection-left,
  .selection-step .selection-right {
    display: block;
  }
  
  .payment-step.active {
    display: block !important;
  }
  
  .payment-step .payment-qr-code img {
    width: 180px;
    height: 180px;
  }
}

