/* static/css/wallet.css */

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #0e0e0e;
  color: #f0f0f0;
}

header, footer {
  background: #111;
  text-align: center;
  padding: 1rem;
  color: #ffd700;
}

main.wallet-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

section {
  background: #1a1a1a;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.1);
}

section h2 {
  margin-top: 0;
  color: #ffd700;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

input, select, button {
  padding: 0.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

input, select {
  background: #2a2a2a;
  color: #fff;
}

button {
  background: #ffd700;
  color: #000;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #e6c200;
}

#token-balances p,
#wallet-history .tx-item {
  margin: 0.3rem 0;
}

.tx-item {
  padding: 0.4rem;
  background: #252525;
  border-left: 4px solid #ffd700;
  border-radius: 4px;
}

/* Баланс */
#wallet-balance {
  font-size: 2rem;
  color: #00ffae;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Адрес пополнения */
#recharge-address {
  font-family: monospace;
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

/* QR код */
#recharge-qr {
  margin-top: 1rem;
}

/* История транзакций */
#wallet-history {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Ответы */
#transfer-response,
#withdraw-response {
  margin-top: 0.5rem;
  font-weight: bold;
  color: #00ffae;
}

/* Медиа-запрос для адаптива */
@media (max-width: 600px) {
  main.wallet-container {
    padding: 0.5rem;
  }

  section {
    padding: 0.8rem;
  }

  input, select, button {
    font-size: 0.95rem;
  }

  #wallet-balance {
    font-size: 1.5rem;
  }
}
