:root {
  --glass-bg: rgba(22, 27, 34, 0.85);
  --glass-border: rgba(48, 54, 61, 0.6);
  --accent-1: #10b981;
  --accent-2: #06b6d4;
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-card: rgba(22, 27, 34, 0.85);
  --border-color: rgba(48, 54, 61, 0.6);
  --text-primary: #e6edf3;
  --accent-green: #10b981;
  --accent-cyan: #06b6d4;
  --glow-green: rgba(16, 185, 129, 0.4);
}

html {
  background: #0d1117 !important;
  background-color: #0d1117 !important;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: #0d1117 !important;
  background-color: #0d1117 !important;
  color: var(--text-primary, #e6edf3);
  min-height: 100vh;
}

.glass-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(48, 54, 61, 0.6) !important;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(2, 6, 23, .6);
  position: relative;
  z-index: 1;
}

.btn-primary {
  padding: .7rem 1.5rem;
  border-radius: .9rem;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 18px 40px var(--glow-green);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.input-field {
  width: 100%;
  padding: .65rem .9rem;
  border-radius: .75rem;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  outline: none;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.input-field:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px var(--glow-green);
}

select.input-field {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #1e293b !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2314F195' d='M8 12L2 6h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
  min-height: 48px;
  height: 48px;
  line-height: 1.5;
  color: #e6eef8 !important;
  font-size: 16px !important;
}

select.input-field option {
  background-color: #1e293b !important;
  background: #1e293b !important;
  color: #e6eef8 !important;
  padding: 12px 8px !important;
  font-size: 16px !important;
  min-height: 44px;
  line-height: 1.6;
}

select.input-field option:checked,
select.input-field option:hover {
  background-color: #334155 !important;
  background: linear-gradient(90deg, #334155, #475569) !important;
}

select.input-field:hover {
  background-color: #2d3748 !important;
  border-color: rgba(245, 158, 11, 0.5);
}

select.input-field:focus {
  background-color: #1e293b !important;
  border-color: rgba(6, 182, 212, 0.8);
}

.muted {
  color: rgba(230, 238, 248, .7);
}

.swap-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s ease;
  margin: -0.5rem auto;
  position: relative;
  z-index: 2;
}

.swap-btn:hover {
  transform: rotate(180deg);
}

.account-card {
  background: rgba(13, 17, 23, 0.9) !important;
  border: 1px solid rgba(48, 54, 61, 0.6);
  border-radius: 0.75rem;
  padding: 1rem;
}

.account-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.balance-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.balance-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.balance-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #14f195;
}

.max-btn {
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #ea580c;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s;
}

.max-btn:hover {
  background: rgba(6, 182, 212, 0.3);
}

.fee-info {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
}

.fee-info:last-child {
  border-bottom: none;
}

.fee-label {
  color: rgba(255, 255, 255, 0.6);
}

.fee-value {
  color: #e6eef8;
  font-weight: 500;
}

.success-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-modal.active {
  opacity: 1;
  visibility: visible;
}

.success-content {
  background: #1a1d2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  max-width: 320px;
  width: 90%;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14f195, #ea580c);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.inline-style-6593306916 {
  min-height: 100svh;
  min-height: -webkit-fill-available;
}