.container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: nowrap;
  width: 95%;
  max-width: 1200px;
  margin: 40px auto;
}

.card {
  flex: 1 1 360px;
  min-width: 250px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 24px;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  border: 1px solid #f3f4f6;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  margin: 0 0 20px 0;
  font-size: 1.35rem;
  color: #111827;
  font-weight: 700;
  text-align: center;
}

#addLiquidity_form,
#Swap-frm,
#removeLiquidity_form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

#addLiquidity_form label,
#Swap-frm label,
#removeLiquidity_form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: -6px;
}

#addLiquidity_form input,
#Swap-frm input,
#Swap-frm select,
#removeLiquidity_form input,
#removeLiquidity_form select {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.95rem;
  color: #1f2937;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

#addLiquidity_form input:focus,
#Swap-frm input:focus,
#Swap-frm select:focus,
#removeLiquidity_form input:focus,
#removeLiquidity_form select:focus {
  outline: none;
  border-color: #2563eb;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

#addLiquidity_btn,
#Swap_btn,
#removeLiquidity_btn {
  width: 100%;
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: auto;
  transition:
    background-color 0.2s ease,
    transform 0.1s ease;
}

#addLiquidity_btn:hover,
#Swap_btn:hover,
#removeLiquidity_btn:hover {
  background-color: #1d4ed8;
}

#addLiquidity_btn:active,
#Swap_btn:active,
#removeLiquidity_btn:active {
  transform: scale(0.98);
}

#connect-btn {
  background-color: #10b981;
  color: #ffffff;
  border: 1px solid #059669;
  padding: 10px 20px;
  border-radius: 10px;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.1);
  transition: all 0.2s ease;
  margin: 20px;
}

#connect-btn:hover {
  background-color: #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

#connect-btn:active {
  transform: scale(0.97);
}

#connect-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.4);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background-color: #ffffff;
  border-bottom: 1px solid #f3f4f6;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  font-family: system-ui, sans-serif;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 600;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #2563eb;
}
