/* Global App Styles */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  color: #1d1d1d;
}

#root {
  margin: 0;
  padding: 0;
  max-width: none;
  text-align: left;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Link styles */
a {
  color: black;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Button reset */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* Image responsive */
img {
  max-width: 100%;
  height: auto;
}


/* Utility classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Registration Page (TOP) */
.registration {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 80px;
  padding: 40px 20px;
  width: 100%;
  background-image: url('assets/BG.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
}

.registration__content {
  width: 100%;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.registration__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}

.body__intro,
.body__form,
.body__disclaimer {
  width: 100%;
  margin: 0;
  padding: 0;
}


.registration__header {
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 45px;
}



.registration-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 32px;
  width: 100%;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
  margin-top: 95px;
}

.registration__title {
  width: 100%;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 64px;
  line-height: 120%;
  text-align: center;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  flex: none;
  order: 0;
  flex-grow: 1;
  margin: 0 auto;
  
}

h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.registration__subtitle {
  width: 100%;
  max-width: 920px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 28px;
  line-height: 140%;
  text-align: center;
  letter-spacing: 0.01em;
  color: #FFFFFF;
  flex: none;
  order: 0;
  flex-grow: 1;
  margin: 0 auto;
  padding: 0 32px;
}

.registration__intro {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px 110px;
  width: 100%;
  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 0;
}

.registration__intro p {
  width: 100%;
  margin: auto;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 161%;
  text-align: center;
  color: #FFFFFF;
}

.registration__badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  justify-content: center;
  margin: 40px 0;
  padding: 0;
  gap: 40px;
  width: 100%;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 1;
}

.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.badge--brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  width: 100%;
  min-height: 188px;
  background: #FEE252;
  border-radius: 24px;
}

.badge--brand .badge__image {
  width: 70%;
  margin: 40px auto;
  object-fit: contain;
}

.badge--event {
  background: #ffffff;
  color: #1f3db6;
  width: 100%;
  min-height: 188px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.event-lines span {
  display: block;
  width: 100%;
  padding: 0 24px;
  font-family: sans-serif;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 200%;
  letter-spacing: 0.1em;
  text-align: center;
}


/* Glass Form Card */
/* .glass-form {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 40px;
  animation: slideUp 0.6s ease-out;
} */

/* .glass-form {
  background: #FFFFFF; 
  border-radius: 40px; 
  border: 1px solid #E5E7EB; 
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); 
  padding: 48px;
  max-width: 920px;
  margin: 0 auto;
  backdrop-filter: none; 
} */

/* .glass-form {
  background: rgba(255, 255, 255, 0.95); 
  backdrop-filter: blur(10px);
  border-radius: 40px; 
  border: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  padding: 60px; 
  max-width: 920px;
  margin: 0 auto;
} */


.glass-form {
  background: rgba(255, 255, 255, 0.95); /* Brighter, solid feel like the image */
  backdrop-filter: blur(10px);
  border-radius: 40px; /* More rounded corners per image_0757a4 */
  border: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  padding: 60px; /* Increased padding */
  max-width: 920px;
  margin: 0 auto;   /* Remove glass effect for solid white look */
}

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

/* Sections */
.form-section {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 30px;
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* .form-section h2 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
} */

/* .form-section h2 {
  font-size: 1.8rem;
  color: #1d1d1d;
  font-weight: 700;
  margin-bottom: 30px;
  border: none; 
} */

.form-section h2 {
  font-size: 1.8rem;
  color: #1d1d1d;
  font-weight: 700;
  margin-bottom: 30px;
  border: none;
}

.form-section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Inputs & Labels */
.input-group {
  margin-bottom: 20px;
}

/* label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: 0.95rem;
} */

label {
  font-weight: 600;
  color: #1d1d1d;
  margin-bottom: 12px;
}

.required {
  color: #e74c3c;
}

.hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--text-main);
  transition: all 0.3s ease;
} */

/* --- Input Fields Styling --- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  border: 1px solid #D1D5DB; /* Defined border for all inputs */
  border-radius: 12px;
  padding: 14px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--input-focus);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(223, 166, 71, 0.2);
}

textarea {
  resize: vertical;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Radio Cards */
.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-card {
  flex: 1;
  position: relative;
  cursor: pointer;
  min-width: 120px;
}

.radio-card input {
  position: absolute;
  opacity: 0;
}

.radio-label {
  display: block;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  transition: all 0.3s ease;
  font-weight: 500;
}

.radio-card input:checked + .radio-label {
  background: var(--secondary-color);
  color: var(--text-light);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Small Radio Chips */
.radio-group.small {
  gap: 8px;
}

.radio-chip {
  cursor: pointer;
}
.radio-chip input {
  display: none;
}
.radio-chip span {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: #eee;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.radio-chip input:checked + span {
  background: var(--secondary-color);
  color: #fff;
}

/* Buttons */
.form-actions {
  text-align: center;
  margin-top: 40px;
}

/* .btn-primary {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 16px 48px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
} */

.btn-primary {
  background-color: #1A3494; /* Matching the G6 Blue from your button image */
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  padding: 16px 50px;
  border-radius: 50px;      /* Capsule shape */
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(26, 52, 148, 0.2);
}

/* .btn-primary:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(223, 166, 71, 0.4);
} */


.btn-primary:hover {
  background-color: #132770;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(26, 52, 148, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 2px dashed var(--input-border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-family);
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Section Header for Attendees */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.attendee-card {
  background: rgba(255,255,255,0.5);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid rgba(0,0,0,0.05);
}

.attendee-card h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 600px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .glass-form {
    padding: 24px;
  }
  
  .form-header h1 {
    font-size: 1.8rem;
  }
}


/* Disclaimer */
.body__disclaimer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #1d1d1d;
  text-align: left;
}

.disclaimer-card {
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

.disclaimer-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 16px;
}

.disclaimer-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.disclaimer-text {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: 0.01em;
  color: #333333;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
}

.disclaimer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.disclaimer-link {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  /* identical to box height, or 12px */
  letter-spacing: 0.01em;
  text-decoration-line: underline;
}

.copyright {
  text-align: center;
  color: #1E43A9;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0.02em;
}

/* --- Responsive Layouts --- */
@media (max-width: 1024px) {
  .registration {
    padding: 80px;
  }
  .registration__content {
    max-width: 800px;
  }
  .registration__intro {
    padding: 0px;
  }
  .registration__title {
    font-size: 52px;
  }
  .registration__subtitle {
    font-size: 24px;
  }
  .badge--brand {
    min-height: 160px;
  }
  .badge--brand .badge__image {
    width: 80%;
  }
  .form-grid {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  .registration__badges {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 548px) {
  .registration {
    padding: 80px 44px;
  }
  .registration__header {
    gap: 24px;
  }
  .registration__content {
    max-width: 375px;
  }
  .registration__intro p {
    width: 100%;
    margin: 0px;
  }
  .registration__subtitle {
    font-size: 22px;
  }
  .registration__title {
    font-size: 36px;
  }
  .badge--brand {
    min-height: 140px;
  }
  .badge--brand .badge__image {
    width: 80%;
  }
  .registration__badges {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .badge {
    padding: 18px 20px;
  }
  .button {
    width: 100%;
  }
  .disclaimer-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .disclaimer-logo {
    width: 64px;
    height: 64px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .form-block__title {
    font-size: 16px;
  }
  .field span {
    font-size: 13px;
  }
}
.button--primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Loading */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loading-modal {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

.spinner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid #e5e7eb;
  border-top-color: #1f3db6;
  animation: spin 0.8s linear infinite;
}

.loading-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loading-text {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #111827;
}

.loading-progress {
  width: 220px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.loading-progress span {
  position: absolute;
  top: 0;
  left: -30%;
  height: 100%;
  width: 30%;
  background: #1f3db6;
  border-radius: 999px;
  animation: indeterminate 1.6s ease-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes indeterminate {
  0% { left: -30%; }
  100% { left: 100%; }
}

.loading-subtext {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  color: #6b7280;
}

/* Dialog */
.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.dialog-card {
  width: 400px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

.dialog-title {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.dialog-title--success {
  color: #16a34a;
}

.dialog-title--error {
  color: #dc2626;
}

.dialog-message {
  margin-top: 8px;
  font-size: 14px;
  color: #111827;
}

.dialog-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

/* --- Visibility helpers (IMPORTANT) --- */
.dialog-overlay.hidden,
.loading-overlay.hidden {
  display: none !important;
}


/* * --- Back to Home Button (image_0757e1 design) --- */ 
.body__cta {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.button--secondary {
  background-color: #1A3494 !important; /* Specific blue from G6 design */
  color: #FFFFFF !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 22px;
  padding: 18px 60px;
  border-radius: 50px; /* Perfect capsule/pill shape */
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button--secondary:hover {
  background-color: #132770 !important;
}


/* --- Pricing/Attendance Table Style (New) --- */
/* Add this to style the guest pricing area seen in image_0757a4 */
.pricing-details {
  margin-top: 30px;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.guest-info h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.guest-info p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.price-value {
  font-size: 20px;
  font-weight: 800;
  color: #1d1d1d;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* --- The Submit Button (Inside Form) --- */
.form-actions {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
}


/* Dietary Layout */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

/* Hidden by default with a smooth fade */
.checkbox-grid-hidden {
    display: none; /* Controlled by JS */
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.checkbox-grid-hidden.show {
    display: grid;
    animation: fadeIn 0.4s ease forwards;
}

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

/* The "Show More" Button Styling */
.btn-more {
    background: none;
    border: none;
    color: #1A3494;
    font-weight: 600;
    font-size: 14px;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}

.btn-more:hover {
    color: #132770;
}

.checkbox-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    padding: 5px 0;
}

.checkbox-item input {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #1A3494;
}


/* Ensure Date and Time inputs match the rest of the form */
input[type="date"],
input[type="time"] {
  width: 100%;
  padding: 14px;
  border: 1px solid #D1D5DB; /* Light grey border like the image */
  border-radius: 12px;
  background-color: #ffffff;
  font-family: inherit;
  font-size: 16px;
}

/* Section specific spacing */
.form-section {
  margin-bottom: 48px;
  padding-bottom: 10px;
}

.form-section h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #1d1d1d;
}

.hint {
  color: #6b7280; /* Muted grey for hints */
  font-size: 14px;
  line-height: 1.5;
}


/* Styling for labels and hints to match Google Form style */
.form-section h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #202124;
}

.hint {
    font-size: 14px;
    color: #70757a;
    margin-bottom: 15px;
    display: block;
}

/* Ensure inputs look like the white cards in your reference */
input[type="text"],
input[type="date"],
input[type="time"],
textarea {
    width: 100%;
    padding: 12px 0; /* Google style often uses bottom-border only or very light boxes */
    border: none;
    border-bottom: 1px solid #dadce0;
    background: transparent;
    font-size: 16px;
    transition: border-color 0.2s;
}

/* If you prefer the boxed look from your previous screenshots */
.glass-form input, 
.glass-form textarea {
    border: 1px solid #D1D5DB !important;
    border-radius: 8px !important;
    padding: 14px !important;
    background: #FFFFFF !important;
}

input:focus, textarea:focus {
    outline: none;
    border-bottom: 2px solid #1A3494; /* Brand blue focus */
}


/* Styling for the checkbox declaration to ensure text doesn't wrap under the checkbox */
.declaration-box {
    align-items: flex-start !important;
    gap: 15px;
    padding: 15px;
    background: rgba(26, 52, 148, 0.03); /* Very light blue tint */
    border-radius: 12px;
}

.declaration-text {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

/* Ensure the radio cards expand nicely in the grid */
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

/* Specific styling for labels in the new sections */
.form-section h2 {
    border-left: 4px solid #1A3494; /* Adds a brand-color accent bar */
    padding-left: 15px;
    margin-bottom: 25px;
}

/* Adjusting the checkbox-grid for smaller screens */
@media (max-width: 768px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}


/* Radio Group Container */
.radio-group {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

/* The Card/Label itself */
.radio-card {
  flex: 1;
  cursor: pointer;
  position: relative;
}

/* Hide the actual browser radio circle */
.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* The visible button style */
.radio-label {
  display: block;
  text-align: center;
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid #D1D5DB;
  border-radius: 12px;
  font-weight: 600;
  color: #374151;
  transition: all 0.2s ease;
}

/* Hover state */
.radio-card:hover .radio-label {
  border-color: #1A3494;
  background: rgba(26, 52, 148, 0.02);
}

/* SELECTED STATE: When the input is checked, change the sibling label's color */
.radio-card input[type="radio"]:checked + .radio-label {
  background-color: #1A3494;
  border-color: #1A3494;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(26, 52, 148, 0.2);
}

/* Container for the chips */
.radio-group.small {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

/* Base style for the chip label */
.radio-chip {
  cursor: pointer;
  flex: 1; /* Makes Yes and No equal width */
  max-width: 120px;
}

/* Hide the actual radio input */
.radio-chip input {
  display: none;
}

/* The visible pill/chip */
.radio-chip span {
  display: block;
  text-align: center;
  padding: 10px 20px;
  border-radius: 50px; /* Pill shape */
  background: #F3F4F6; /* Light gray background when unselected */
  color: #374151;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid #D1D5DB;
  transition: all 0.2s ease;
}

/* Hover effect */
.radio-chip:hover span {
  border-color: #1A3494;
  background: rgba(26, 52, 148, 0.05);
}

/* SELECTED STATE: Turns blue when the hidden input is checked */
.radio-chip input:checked + span {
  background-color: #1A3494 !important; /* Brand Blue */
  color: #FFFFFF !important; /* White text */
  border-color: #1A3494;
  box-shadow: 0 4px 8px rgba(26, 52, 148, 0.2);
}