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

body {
  background-image: url('96a924af-0fcd-4414-a378-55416e7fb2a6.jpg');
  background: url('96a924af-0fcd-4414-a378-55416e7fb2a6.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 10px;
}

.container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 25px;
  width: 100%;
  max-width: 500px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(0, 0, 0, 0.3);
}

h2 {
  margin-bottom: 15px;
  color: rgb(255, 255, 255);
  font-size: 30px;
  font-weight: 1000;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.amount p,
.from p,
.to p {
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
  font-size: 20px;
}

.amount input {
  width: 100%;
  padding: 12px;
  font-weight: bold;
  font-size: 18px;
  border: 1px solid #000000;
  border-radius: 5px;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  outline: none;
}

.amount input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.dropdown {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  gap: 50px;
  flex-wrap: wrap;
  position: relative; 
}

.select-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

select {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  cursor: pointer;
  font-size: 14px;
  width: 120px;
  background: rgba(255, 255, 255, 0.2);
  color: rgb(0, 0, 0);
  outline: none;
  text-align: center;
}

.swap-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.swap-btn:hover {
  transform: translateX(-50%) rotate(180deg);
}

.msg {
  margin: 20px 0;
  font-weight: bold;
  color: white;
  font-size: 16px;
}

button {
  width: 100%;
  padding: 12px;
  background: #d8cece;
  color: rgb(0, 0, 0);
  border: none;
  font-weight: bold;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover {
  background-color: #ffffff;
  transform: scale(1.01);
}

@media (max-width: 450px) {
  .container {
    padding: 18px;
    max-width: 90%;
  }

  select {
    width: 100px;
    font-size: 12px;
  }

  .swap-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  button {
    padding: 10px;
    font-size: 14px;
  }
}
