/* Import Google font - Poppins and Cabin */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgb(255, 255, 255);
}

.container {
  position: relative;
  max-width: 400px;
  min-width: 200px;
  width: 100%;
  background: linear-gradient(#efeeee, #FFFEFE, #FAFAFA);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.container header {
  font-size: 1.5rem;
  color: #2F2F2F;
  font-weight: 500;
  text-align: center;
  font-family: 'Cabin';
  margin-top: 20px;
}

h2 {
  display: block;
  font-size: 15px;
  font-family: 'Poppins';
  color: #717171;
  font-weight: 400;
  text-align: center;
  margin: 13px;
}

textarea {
  position: relative;
  height: 100px;
  width: 100%;
  outline: none;
  font-size: 13px;
  color: #707070;
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 15px;
  resize: none;
}

/* Input box styling */
.input-box {
  width: 100%;
  margin-top: 20px;
  position: relative;
}

/* Label styling */
.input-box label {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
  display: inline-block; /* Ensure label is inline with input */
}

/* Input container to manage icon positioning */
.input-container {
  position: relative;
}

/* General styles for input fields */
.input-container input[type="text"],
.input-container input[type="email"],
.input-container input[type="tel"] {
  padding-right: 30px; /* Space for the icon */
}

/* Icon container */
.icon {
  position: absolute;
  right: 1px;
  top: -45%;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  color: #ff7e0c;
}


/* General form input styling */
.form :where(.input-box input, .select-box) {
  position: relative;
  height: 50px;
  width: 100%;
  outline: none;
  font-size: 13px;
  color: #707070;
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 15px;
}

.input-box input:focus {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.form .column {
  display: flex;
  column-gap: 15px;
}

.address :where(input, .select-box) {
  margin-top: 15px;
}

.select-box select {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  color: #707070;
  font-size: 1rem;
}

.form button {
  height: 51px;
  width: 58%;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins';
  border-radius: 8px;
  margin-block: inherit;
  margin-left: 20%;
  display: block;
  padding: 10px 10px;
  background: linear-gradient(#d35735, #d56236, #da7e37, #dd9038);
}

.form button:hover {
  /* background: rgb(88, 56, 250); */
}

/* Responsive */
@media screen and (max-width: 500px) {
  .form .column {
    flex-wrap: wrap;
  }
  .form :where(.gender-option, .gender) {
    row-gap: 15px;
  }
}
