@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

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

body {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background: #1e1e1e;
}

.container {
  max-width: 700px;
  width: 100%;
  background: #fff;
  padding: 25px 30px;
  border-radius: 5px;
}

.container .title {
  font-size: 25px;
  font-weight: 500;
  position: relative;
}

.container .title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 30px;
  background: #6ea4f5b4;
}

.container form .user-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0 12px 0;
}

form .user-details .input-box {
  margin-bottom: 15px;
  width: calc(100% / 2 - 20px);
}

.user-details .input-box .details {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}

.user-details .input-box input {
  height: 45px;
  width: 100%;
  outline: none;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding-left: 15px;
  font-size: 16px;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}

.user-details .input-box input:focus,
.user-details .input-box input:valid {
  border-color: #6ea4f5b4;
}

form .gender-details .gender-title {
  font-size: 20px;
  font-weight: 500;
}

form .gender-details .category {
  display: flex;
  width: 80%;
  margin: 14px 0;
  justify-content: space-between;
}

.gender-details .category label {
  display: flex;
  align-items: center;
}

.gender-details .category .dot {
  height: 18px;
  width: 18px;
  background: #d9d9d9;
  border-radius: 50%;
  margin-right: 10px;
  border: 5px solid transparent;
  transition: all 0.3s ease;
}

input[type="radio"]:checked + label .dot {
  background: #6ea4f5b4;
  border-color: #d9d9d9;
}

.one:hover,
.two:hover,
.three:hover {
  cursor: pointer;
}

form input[type="radio"] {
  display: none;
}

form .button-container {
  display: flex;
  justify-content: space-between;
}

form .button {
  width: 48%;
}

form .button input[type="button"] {
  height: 45px;
  width: 100%;
  outline: none;
  color: #fff;
  background-color: #6ea4f5;
  border: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 5px;
  letter-spacing: 1px;
  transition: background-color 0.3s, color 0.3s;
}

form .button input[type="button"]:hover {
  background: #265df2;
  color: #fff;
  cursor: pointer;
}

form .button input[type="submit"] {
  background-color: #808080;
  color: #fff;
  cursor: not-allowed;
  height: 45px;
  width: 100%;
  outline: none;
  border: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 5px;
  letter-spacing: 1px;
  transition: background-color 0.3s, color 0.3s;
}

form .button input[type="submit"]:enabled {
  background-color: #6ea4f5;
  cursor: pointer;
}

form .button input[type="submit"]:enabled:hover {
  background-color: #4169e1;
}

.feedback {
  visibility: hidden;
  height: 20px;
  transition: visibility 0.2s ease;
}

.feedback.visible {
  visibility: visible;
}

@media (max-width: 584px) {
  .container {
    max-width: 100%;
  }
  form .user-details .input-box {
    margin-bottom: 15px;
    width: 100%;
  }
  form .gender-details .category {
    width: 100%;
  }
  .container form .user-details {
    max-height: 300px;
    overflow-y: scroll;
  }
  .user-details::-webkit-scrollbar {
    width: 0;
  }
  .user-details {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .user-details::-webkit-scrollbar {
    display: none;
  }
}

#orientation-lock {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  font-size: 2em;
  text-align: center;
  z-index: 1000;
  display: none;
}

@media screen and (orientation: portrait) {
  body {
    background-color: #f0f0f0;
  }
}
