/* Bridge page specific styles */
.bridge-body {
  background: #0E0F1E;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.bridge-container {
  background: #1C1F2E;
  color: white;
  border-radius: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 42rem;
  margin: 2rem auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bridge-header {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.bridge-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bridge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.bridge-column {
  flex: 1;
}

.bridge-label {
  color: #3B82F6;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  display: block;
}

.swap-box {
  background: rgba(28, 31, 46, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.token-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-container {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 16px;
  padding: 0;
}

.token-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  background-color: #1f2937;
  min-width: 140px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 8px;
}

.dropdown-content a {
  color: #d1d5db;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #374151;
}

.dropdown-content img {
  width: 20px;
  height: 20px;
}

.show {
  display: block;
}

.down-arrow {
  border: solid #9ca3af;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  margin-left: 12px;
}

.swap-input {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  text-align: right;
  width: 100%;
  outline: none;
}

.swap-input::placeholder {
  color: #4B5563;
}

.balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9CA3AF;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.max-button {
  color: #3B82F6;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 500;
  margin-left: 0.5rem;
}

.switch-networks {
  width: 3rem;
  height: 3rem;
  background: #1C1F2E;
  border: 4px solid #0E0F1E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #3B82F6;
  margin: -1rem auto;
  z-index: 1;
  position: relative;
}

.transfer-button {
  width: 100%;
  padding: 1rem;
  background: #2563EB;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 2rem;
}

.transfer-button:hover {
  background: #1D4ED8;
}

.notice-section {
  margin-top: 3rem;
  color: #9CA3AF;
}

.notice-title {
  color: #FFD700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.notice-subtitle {
  color: #FFD700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.notice-text {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .bridge-container {
    padding: 1.5rem;
    margin: 1rem auto;
  }

  .bridge-header {
    font-size: 1.75rem;
  }

  .bridge-row {
    flex-direction: column;
  }

  .switch-networks {
    margin: 1rem auto;
  }
}