/* Accreditation pages shared styles */
.accred-page { min-height: 100vh; padding-top: 90px; padding-bottom: 4rem; }
.accred-container { max-width: 640px; margin: 0 auto; padding: 0 1.5rem; }
.accred-intro { text-align: center; margin-bottom: 2.5rem; }
.accred-intro p.desc { font-size: 0.95rem; line-height: 1.8; margin-top: 1rem; opacity: 0.8; }

/* Card flip */
.flip-container { perspective: 1200px; }
.flip-card {
  position: relative; width: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card.flipped { transform: rotateY(180deg); }
.flip-front, .flip-back { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-front { position: relative; z-index: 2; }
.flip-back { position: absolute; top: 0; left: 0; right: 0; transform: rotateY(180deg); z-index: 1; }
.flip-card.flipped .flip-front { pointer-events: none; }
.flip-card.flipped .flip-back { position: relative; pointer-events: auto; }

/* Form card */
.accred-form-card,
.success-card {
  background: #fff;
  border: 1px solid rgba(214, 202, 185, 0.6);
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(39, 10, 16, 0.06);
}

input[type="radio"], .day-group input[type="radio"] {
    display: none;
}

.accred-form-card h3 { margin-bottom: 0.3rem; }
.form-note { font-size: 0.8rem; opacity: 0.5; margin-bottom: 1.5rem; }

/* Success card */
.success-card h3 { color: #742030; margin-bottom: 1rem; }
.success-card p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 0.8rem; }
.success-card ul { margin: 1rem 0 1rem 1.2rem; font-size: 0.9rem; line-height: 1.8; }
.success-card ul li { margin-bottom: 0.4rem; }
.success-card .divider { border-top: 1px solid #d6cab9; padding-top: 1rem; margin-top: 1rem; }
.success-card a { color: #b8924a; font-weight: 600; }

/* Select dropdown */
.accred-form-card .form-group select {
  width: 100%;
  padding: 0.8rem 2.5rem 0.8rem 1rem;
  border: 1px solid #d6cab9;
  background: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: #270a10;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23742030' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
  transition: border-color 0.3s;
}
.accred-form-card .form-group select:focus {
  outline: none;
  border-color: #b8924a;
}

/* Radio buttons — uniform pill style */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid #d6cab9;
  background: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.3;
  color: #270a10;
  user-select: none;
}
.radio-group label:hover {
  border-color: #b8924a;
  background: #f9f5f0;
}
.radio-group input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #742030;
  flex-shrink: 0;
}
.radio-group input[type="radio"]:checked + span,
.radio-group label:has(input:checked) {
  border-color: #742030;
  background: rgba(116, 32, 48, 0.06);
  color: #742030;
  font-weight: 700;
}

/* Day selector — slightly larger pills */
.day-group {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.4rem;
}
.day-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid #d6cab9;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  color: #270a10;
  user-select: none;
}
.day-group label:hover {
  border-color: #b8924a;
}
.day-group input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #742030;
  flex-shrink: 0;
}
.day-group label:has(input:checked) {
  border-color: #742030;
  background: rgba(116, 32, 48, 0.06);
  color: #742030;
  font-weight: 700;
}

/* Privacy checkbox */
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f9f5f0;
  border: 1px solid rgba(214, 202, 185, 0.4);
}
.privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: #742030;
  cursor: pointer;
}
.privacy-check label {
  font-size: 0.8rem;
  line-height: 1.6;
  cursor: pointer;
  color: #270a10;
}
.privacy-check a {
  color: #b8924a;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .accred-form-card, .success-card { padding: 1.5rem; }
  .radio-group { gap: 0.4rem; }
  .radio-group label { padding: 0.45rem 0.7rem; font-size: 0.75rem; }
  .day-group { flex-direction: column; }
}
