/**
 * Cryptocurrency Purchase Styles
 * Styles for cryptocurrency payment options in the purchase modal
 */

/* Cryptocurrency selector in purchase modal */
.crypto-currency-selector {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

/* Crypto equivalent price */
.crypto-equivalent {
  font-size: 14px;
  margin-top: 4px;
  color: #6c63ff;
  font-weight: 500;
}

/* Wallet connection */
.wallet-connection {
  margin-top: 15px;
}

.btn-connect-wallet {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 15px;
  background: linear-gradient(135deg, #6c63ff 0%, #4d44db 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-connect-wallet:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-connect-wallet i {
  margin-right: 8px;
}

.wallet-status {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: rgba(108, 99, 255, 0.1);
  border-radius: 6px;
  margin-top: 10px;
}

.wallet-status i {
  color: #4CAF50;
  margin-right: 8px;
}

.wallet-address {
  font-family: monospace;
  font-size: 14px;
}

/* Blockchain payment page */
.blockchain-payment-page {
  z-index: 1001;
}

.blockchain-payment-content {
  max-width: 600px;
}

.network-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.network-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  background-color: #6c63ff;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.network-badge.testnet {
  background-color: #ff9800;
}

.network-warning {
  color: #ff9800;
  font-size: 12px;
  margin-top: 5px;
}

.payment-details {
  margin-bottom: 20px;
}

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

.crypto-amount {
  font-size: 24px;
  font-weight: 700;
  color: #6c63ff;
  margin-top: 5px;
}

.transaction-details {
  margin-top: 15px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.transaction-hash {
  display: inline-flex;
  align-items: center;
  font-family: monospace;
  color: #6c63ff;
  text-decoration: none;
}

.transaction-hash i {
  margin-left: 5px;
  font-size: 12px;
}

/* Purchase summary */
.purchase-summary {
  margin-top: 20px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary-item.total {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .purchase-grid {
    flex-direction: column;
  }
  
  .vehicle-preview {
    margin-bottom: 20px;
  }
}
