* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
 /* Page Background  */
body {
  background: linear-gradient(135deg, #fdfcfb, #e2d1c3);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
  animation: fadeIn 1s ease-in-out forwards;
  opacity: 0;
}

/* Container */
.container {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 1.25rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  animation: slideUp 1s 0.3s ease-out forwards;
  opacity: 0;
}
/* Heading */
h2 {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
}
/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Amount Input */
.amount p {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #555;
}

.amount input {
  width: 100%;
  height: 3rem;
  font-size: 1.1rem;
  border-radius: 0.75rem;
  padding: 0 1rem;
  border: 1px solid #ccc;
  transition: 0.3s ease;
}

.amount input:focus {
  border-color: #af4d98;
  outline: none;
  box-shadow: 0 0 6px rgba(175, 77, 152, 0.4);
}

/* Dropdown Section  */
.dropdown {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.dropdown i {
  font-size: 1.5rem;
  color: #af4d98;
  transition: transform 0.3s ease;
}

.select-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 0.75rem;
  width: 100%;
  background-color: #f9f9f9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.select-container:hover {
  transform: scale(1.03);
  box-shadow: 0 0 8px rgba(175, 77, 152, 0.2);
}

.select-container img {
  width: 2rem;
  height: auto;
}

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

/* Result Message */
.msg {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 500;
  color: #222;
  animation: pulse 0.5s ease-in-out;
}

/* Button */
form button {
  height: 3rem;
  background-color: #af4d98;
  color: white;
  border: none;
  font-size: 1.1rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
}

form button:hover {
  background-color: #92287d;
}

form button:active {
  transform: scale(0.97);
}

@media (max-width: 600px) {
  .dropdown {
    flex-direction: column;
    gap: 1rem;
  }

  .dropdown i {
    transform: rotate(90deg);
  }

  h2 {
    font-size: 1.6rem;
  }

  .msg {
    font-size: 1.05rem;
  }
}

 /* Animations */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    color: #222;
  }
  50% {
    transform: scale(1.05);
    color: #af4d98;
  }
  100% {
    transform: scale(1);
    color: #222;
  }
}
