/* Education Modal — 🎓 button target-audience picker */

.education-modal {
  border: none;
  border-radius: 12px;
  padding: 0;
  max-width: 400px;
  width: 92vw;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.25);
  background: #fff;
  color: #0f172a;
  /* 画面中央配置 (native <dialog> の user-agent CSS が global reset で効かないケースへの保険) */
  position: fixed;
  inset: 0;
  margin: auto;
  max-height: calc(100vh - 40px);
}

.education-modal::backdrop {
  background: rgba(15, 23, 42, 0.45);
}

.education-modal__header {
  padding: 16px 20px 8px;
  border-bottom: 1px solid #e2e8f0;
}

.education-modal__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.education-modal__item-title {
  font-size: 0.85rem;
  color: #475569;
  margin: 4px 0 0;
}

.education-modal__body {
  padding: 16px 20px;
}

.education-modal__body p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: #334155;
}

.education-modal__audiences {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.education-modal__audiences label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
}

.education-modal__audiences label:has(input:checked) {
  border-color: var(--accent, #1e5be6);
  background: var(--accent-light, #dff0ff);
}

.education-modal__status {
  margin-top: 12px;
  padding: 10px 12px;
  background: #fef3c7;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #78350f;
}

.education-modal__status--cancelled {
  background: #f1f5f9;
  color: #475569;
}

.education-modal__footer {
  padding: 12px 20px 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid #e2e8f0;
}

.education-modal__btn {
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}

.education-modal__btn--primary {
  background: var(--accent, #1e5be6);
  color: #fff;
}

.education-modal__btn--primary:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.education-modal__btn--secondary {
  background: #f1f5f9;
  color: #334155;
}

.education-modal__btn--danger {
  background: #fee2e2;
  color: #b91c1c;
}

/* submitted 状態 (🎓 カードボタン用) */
.action-btn.submitted {
  background: var(--accent-light, #dff0ff);
  border-color: var(--accent, #1e5be6);
}
