/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Full-page background */
body {
  font-family: Arial, sans-serif;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("background.jpeg") no-repeat center center fixed;
  background-size: cover;
}

/* Container for the form */
.container {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 12px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Heading */
.container h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #222;
}

/* Labels */
label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
  color: #333;
}

/* Inputs, selects, textarea */
input, select, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

/* Textarea sizing */
textarea {
  resize: vertical;
  min-height: 80px;
}

/* Submit button */
button {
  width: 100%;
  padding: 12px;
  background-color: #2c7be5;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #1a5bb8;
}
/* Mobile adjustments */
@media (max-width: 480px) {
  body {
    padding: 10px;
    align-items: flex-start;
  }

  .container {
    padding: 20px;
    margin-top: 20px;
    box-shadow: none; /* removes heavy shadow for cleaner mobile look */
  }

  .container h1 {
    font-size: 1.4rem;
  }

  input, select, textarea, button {
    font-size: 0.9rem;
    padding: 8px;
  }
}
/* Fieldset + legend for consistent headings */
.fieldset {
  border: 0;
  padding: 0;
  margin: 10px 0 0;
}

.field-label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
  color: #333;
}

/* Radio buttons: clean inline layout */
.radio-group {
  display: flex;
  gap: 24px;          /* spacing between the two options */
  margin: 6px 0 12px;
  flex-wrap: wrap;    /* allows wrapping on narrow screens */
}

.radio-group .radio {
  display: inline-flex;
  align-items: center;
  font-weight: normal;
  color: #333;
  white-space: nowrap;
}

.radio-group .radio input[type="radio"] {
  margin: 0 6px 0 0;   /* small gap between circle and text */
  width: auto;
  flex-shrink: 0;
}
/* Optional: small-screen polish */
@media (max-width: 420px) {
  .radio-group { gap: 14px; }
}
.note-box {
  background-color: #1e293b;   /* dark slate */
  color: #f1f5f9;             /* light text */
  border-left: 4px solid #3b82f6; /* bright blue bar */
  padding: 12px 16px;
  margin: 12px 0;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.note-box strong {
  color: #3b82f6;   /* bright blue for "Note:" */
  margin-right: 6px;
}
