@import url('https://fonts.googleapis.com/css2?family=ABeeZee&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'ABeeZee', sans-serif;
  background: #e2ddd5;
  color: #5c2621;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* Container */
.swap-container {
  background: #e2ddd5;
  border: 1px solid #d6ccc4;
  border-radius: 20px;
  padding: 32px;
  width: 400px;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.swap-container:hover {
  transform: scale(1.01);
}

/* Logo Inside Container Row */
.logo-inside-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.logo-inside-row img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.logo-inside-row h1 {
  margin: 0;
  font-size: 22px;
  color: #5c2621;
  font-family: 'ABeeZee', sans-serif;
  font-weight: normal;
}

/* Card */
.swap-card {
  background: #f4ede6;
  border: 1px solid #d6ccc4;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  transition: transform 0.2s ease;
}
.swap-card:hover {
  transform: translateY(-3px);
}

/* Labels */
.label {
  font-size: 14px;
  color: #5c2621;
  margin-bottom: 10px;
}

/* Input Row */
.input-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.input-row input {
  background: transparent;
  border: none;
  font-size: 26px;
  color: #5c2621;
  width: 160px;
}
.input-row input:focus {
  outline: none;
  color: #b13d32;
}

/* Token Select */
.token-select {
  display: flex;
  align-items: center;
  background: rgba(92,38,33,0.1);
  border-radius: 14px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.token-select:hover {
  background: rgba(92,38,33,0.2);
}
.token-select img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-right: 6px;
}
.token-select span {
  margin-right: 4px;
}
.token-select .arrow {
  font-size: 12px;
}

/* Values */
.usd-value {
  font-size: 14px;
  color: #7a4a42;
  margin-top: 6px;
}
.balance-under {
  display: block;
  width: 100%;
  text-align: right;
  margin-top: 6px;
  font-size: 13px;
  color: #7a4a42;
}

/* Switch Button */
.switch {
  background: linear-gradient(135deg, #b13d32, #5c2621);
  border: none;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.switch:hover {
  transform: rotate(180deg) scale(1.05);
}
.switch span {
  font-size: 22px;
  color: #fff;
}

/* Main Action Button */
.main-btn {
  background: linear-gradient(135deg, #b13d32, #5c2621);
  border: none;
  border-radius: 14px;
  padding: 16px;
  font-size: 16px;
  color: #fff;
  width: 100%;
  cursor: pointer;
  margin-top: 20px;
  font-family: 'ABeeZee', sans-serif;
  transition: background 0.3s ease, transform 0.3s ease;
}
.main-btn:hover {
  background: linear-gradient(135deg, #962e26, #4a1f1b);
  transform: translateY(-3px);
}

/* Connect Wallet Button */
.connect-fixed {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #b13d32, #5c2621);
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  z-index: 1000;
  font-family: 'ABeeZee', sans-serif;
  transition: background 0.3s ease, transform 0.3s ease;
}
.connect-fixed:hover {
  background: linear-gradient(135deg, #962e26, #4a1f1b);
  transform: translateY(-2px);
}

/* Percent Buttons */
.percent-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}
.percent-buttons button {
  background: rgba(92,38,33,0.1);
  border-radius: 8px;
  color: #5c2621;
  font-size: 12px;
  padding: 5px 10px;
  cursor: pointer;
  font-family: 'ABeeZee', sans-serif;
  transition: background 0.2s ease;
}
.percent-buttons button:hover {
  background: rgba(92,38,33,0.2);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(92,38,33,0.9);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
