@import url('global.css');

/* ------------------------------------------
   FORM SECTION
------------------------------------------- */
.form-section {
  max-width: 500px;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ------------------------------------------
   RIGHT COLUMN
------------------------------------------- */
.right-column {
  background: var(--brand-bg-light);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ------------------------------------------
   FORM STEPS
------------------------------------------- */
.form-step {
  display: none;
  width: 100%;
  max-width: 500px;
  text-align: left;
  min-height: 40vh;
  flex-direction: column;
}

.form-step.active {
  display: flex;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------
   QUESTIONS (H2)
------------------------------------------- */
.form-step h2 {
  color: var(--brand-blue);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  width: 100%;
  max-width: 400px;
  font-weight: 700;
}

/* ------------------------------------------
   BUTTON GROUP
------------------------------------------- */
.button-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
  max-width: 400px;
}

.form-btn {
  background: var(--brand-blue);
  color: var(--brand-text-light);
  padding: var(--space-sm);
  width: 100%;
  border: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.form-btn:hover {
  background: var(--brand-blue-dark);
}

/* ------------------------------------------
   INPUT GROUP
------------------------------------------- */
.input-group {
  display: flex;
  flex-direction: column;
  max-width: 400px;
}

/* ------------------------------------------
   CONTACT METHOD SECTION
------------------------------------------- */

h3 {
  margin-bottom: 1em;
  color: var(--brand-green);
}

.contact-method-label {
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 1rem;
}

.contact-method-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}

.contact-method-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  margin-bottom: 1em;
  cursor: pointer;
  color: var(--brand-text-dark);
}

/* Smaller checkbox — overriding global.css */
.contact-method-options input[type="checkbox"] {
  height: 0.5em;
  width: 0.5em;
  margin: 0;
  appearance: none;
  border: 1px solid var(--brand-blue);
  background: white;
  position: relative;
  cursor: pointer;
}

.contact-method-options input[type="checkbox"]:checked::after {
  content: '✓';
  color: var(--brand-blue);
  font-size: 0.5em;
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ------------------------------------------
   CONSENT SECTION
------------------------------------------- */
.consent-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  max-width: 400px;
  line-height: 1.4;
}

/* Smaller checkbox — overriding global.css */
.consent-container input[type="checkbox"] {
  height: 0.5em;
  width: 0.5em;
  appearance: none;
  background: white;
  border: 1px solid var(--brand-blue) !important;
  cursor: pointer;
  position: relative;
  margin-top: 3px;
}

.consent-container input[type="checkbox"]:checked::after {
  content: 'x';
  color: var(--brand-blue);
  font-size: 0.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.consent-container label {
  font-size: 0.70rem;
  color: var(--brand-gray);
  font-weight: 400;
  margin-top: 0;
  text-align: justify;
}

/* Consent links: no underline, bold, same color */
.consent-container a {
  text-decoration: none;
  font-weight: 700;
  color: var(--brand-gray);
}

/* ------------------------------------------
   UTILITY
------------------------------------------- */
.hidden {
  display: none;
}