/* Solana Pay Modal & Payment Component Styles */

.solana-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.solana-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.solana-modal-card {
  background: #11141c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 90%;
  max-width: 480px;
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  text-align: center;
}

.solana-modal-overlay.active .solana-modal-card {
  transform: translateY(0) scale(1);
}

.solana-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.solana-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.solana-modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.solana-modal-subtitle {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 24px;
}

.solana-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(109, 56, 255, 0.15);
  border: 1px solid rgba(109, 56, 255, 0.4);
  color: #a855f7;
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
}

.solana-qr-container {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  display: inline-block;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.solana-qr-container img {
  display: block;
  width: 180px;
  height: 180px;
}

.solana-wallet-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.solana-wallet-address {
  font-family: monospace;
  font-size: 13px;
  color: #cbd5e1;
  word-break: break-all;
}

.solana-copy-btn {
  background: #6d38ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.solana-copy-btn:hover {
  background: #5925dc;
}

.solana-status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: #94a3b8;
}

.solana-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #6d38ff;
  border-radius: 50%;
  animation: solana-spin 0.8s linear infinite;
}

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

.solana-input-group {
  margin-bottom: 20px;
  text-align: left;
}

.solana-input-group label {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.solana-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-size: 15px;
  box-sizing: border-box;
}

.solana-input:focus {
  outline: none;
  border-color: #6d38ff;
  background: rgba(255, 255, 255, 0.08);
}

.solana-submit-btn {
  width: 100%;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.solana-submit-btn:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
  color: #000000;
}
