/* ===== CHECKLIST COMPONENT ===== */
/* 
  Interactive checklist with custom checkboxes.
  Used in study-apply template for application requirements.
*/

.apply-checklist {
  margin-top: 3rem;
}

.apply-checklist-label {
  font-family: var(--font-body);
  font-size: var(--sidebar-heading-size);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.apply-checklist-intro {
  font-family: var(--font-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.apply-checklist-intro p {
  margin: 0;
}

.apply-checklist-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.apply-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  list-style: none;
}

.apply-checklist-checkbox {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border: var(--border-size) solid var(--border);
  border-radius: var(--border-radius);
  margin-top: 0.1rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: transparent;
}

.apply-checklist-checkbox:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.apply-checklist-checkbox:checked::after {
  content: '';
  display: block;
  width: 0.4rem;
  height: 0.7rem;
  border: solid var(--accent-text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
  margin: 0.1rem 0 0 0.35rem;
}

.apply-checklist-text {
  font-family: var(--font-body);
  line-height: 1.4;
  cursor: pointer;
}

.apply-checklist-text p {
  margin: 0;
}

.apply-checklist-download {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--h4-size);
  padding: 0.4rem 0.6rem 0.3rem 0.6rem;
  border: var(--border-size) solid var(--border);
  border-radius: var(--border-radius);
  margin-top: 1.5rem;
  line-height: 1.2;
}

.apply-checklist-download:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}
