@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #f9f7ff, #e1f5fe);
  margin: 0;
}

form {
  background-color: #fff;
  padding: 25px 35px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 420px;
}

fieldset {
  border: none;
  padding: 0;
}

legend {
  font-size: 1.4em;
  font-weight: 600;
  color: #4A148C;
  margin-bottom: 15px;
}

label {
  display: block;
  margin-top: 12px;
  font-weight: 500;
  color: #333;
}

input, select, textarea, button {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 0.95em;
}

input:focus, select:focus, textarea:focus {
  border-color: #7E57C2;
  outline: none;
  box-shadow: 0 0 5px rgba(126, 87, 194, 0.4);
}

button {
  margin-top: 18px;
  background-color: #7E57C2;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #5E35B1;
}

.radio-option {
  display: flex;
  align-items: center;   /* keeps input + label aligned */
  margin-top: 6px;
}

.radio-option input[type="radio"] {
  margin: 0 8px 0 0;     /* spacing to the right */
  vertical-align: middle; /* force center alignment with label text */
  position: relative;
  top: 0;                /* reset any weird shift */
  width: 16px;
  height: 16px;
}
