@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #2980b9, #6dd5fa);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
  font-weight: 600;
}

form .amount {
  margin-bottom: 20px;
}

.amount p {
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.amount input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  transition: border 0.3s ease;
}

.amount input:focus {
  border-color: #2980b9;
  outline: none;
}

.dropdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.from, .to {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.select-container {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 10px;
}

.select-container img {
  width: 40px;
  height: auto;
}

.select-container select {
  border: none;
  font-size: 16px;
  background: transparent;
  outline: none;
  flex: 1;
  cursor: pointer;
}

.fa-arrow-right-arrow-left {
  font-size: 24px;
  color: #2980b9;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.fa-arrow-right-arrow-left:hover {
  transform: rotate(180deg);
}

.msg {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #2c3e50;
  margin: 15px 0;
}

button {
  width: 100%;
  padding: 12px;
  background: #2980b9;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #1f5f89;
}

/* Responsive Design */
@media (max-width: 500px) {
  .dropdown {
    flex-direction: column;
    gap: 20px;
  }

  .fa-arrow-right-arrow-left {
    transform: rotate(90deg);
  }

  .select-container {
    flex-direction: row;
    width: 100%;
  }
}
