/* Importing Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 15px;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #05075f, #d9dadb);
}

/* Container */
.container {
  width: 100%;
  max-width: 700px;
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Title */
.container .title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  color: #05075f;
}

.container .title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 40px;
  border-radius: 3px;
  background: linear-gradient(135deg, #71b7e6, #9b59b6);
}

/* Form Styling */
.content form .user-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

form .user-details .input-box {
  flex: 1 1 calc(50% - 20px);
  min-width: 220px;
}

form .input-box span.details {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.user-details .input-box input,
.user-details .input-box select {
  height: 45px;
  width: 100%;
  font-size: 15px;
  border-radius: 6px;
  padding: 0 15px;
  border: 1px solid #ccc;
  transition: 0.3s;
}

.user-details .input-box input:focus,
.user-details .input-box select:focus {
  border-color: #9b59b6;
  box-shadow: 0 0 4px rgba(155, 89, 182, 0.3);
}

/* Gender / Category Section */
form .gender-details .gender-title {
  font-size: 20px;
  font-weight: 600;
  margin-top: 15px;
  color: #05075f;
}

form .category {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 15px 0;
}

form .category label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
}

form .category label .dot {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  margin-right: 10px;
  background: #d9d9d9;
  border: 5px solid transparent;
  transition: all 0.3s ease;
}

#dot-1:checked ~ .category label .one,
#dot-2:checked ~ .category label .two,
#dot-3:checked ~ .category label .three {
  background: #9b59b6;
  border-color: #d9d9d9;
}

form input[type="radio"] {
  display: none;
}

/* Button */
form .button {
  margin-top: 25px;
}

form .button input {
  height: 50px;
  width: 100%;
  border-radius: 6px;
  border: none;
  background: linear-gradient(135deg, #05075f, #05075f);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

form .button input:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* ===========================
   RESPONSIVE DESIGN 
   =========================== */

/* Tablets */
@media (max-width: 768px) {
  .container {
    padding: 20px;
  }

  .container .title {
    font-size: 22px;
  }

  form .user-details .input-box {
    flex: 1 1 100%;
  }
}

/* Mobiles */
@media (max-width: 480px) {
  .container {
    padding: 15px;
    border-radius: 8px;
  }

  .container .title {
    font-size: 20px;
  }

  form .category {
    flex-direction: column;
    gap: 10px;
  }

  form .button input {
    font-size: 16px;
  }
}
