* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;

}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  /* background-color: #f4e4ba; */
  background: linear-gradient(to right, #130035, #27002e);
  /* purple gradient */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.container {
  background-color: #cdb5e8;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 1px 1px 17px 7px rgb(122, 1, 1);
  min-height: 45vh;
  width: 40vh;
}

form {
  margin: 2rem 0 1rem 0;
}

form select,
button,
input {
  width: 100%;
  border: none;
  outline: none;
  border-radius: 0.75rem;
}

form input {
  border: 1px solid lightgray;
  font-size: 1rem;
  height: 3rem;
  padding-left: 0.5rem;
}

.dropdown {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.dropdown i {
  font-size: 0.7rem;
  margin-top: 1rem;
}

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

.select-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 6rem;
  border-radius: 0.5rem;
  border: 1px solid lightgray;
}

.select-container select {
  font-size: 1rem;
  width: auto;
}

.msg {
  margin: 2rem 0 2rem 0;
}

form button {
  height: 3rem;
  background-color: #af4d98;
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
}
/* ----------- Responsive Design ----------- */

@media (max-width: 768px) {
  .container {
    width: 90vw;
    padding: 1.5rem;
  }

  .dropdown {
    flex-direction: column;
    gap: 1rem;
  }

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

  .select-container {
    width: 100%;
  }

  .msg {
    font-size: 1rem;
    text-align: center;
  }

  form button {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .container {
    padding: 1rem;
    border-radius: 1rem;
  }

  form input,
  form select,
  form button {
    font-size: 0.95rem;
    height: 2.7rem;
  }
}
