/* Co-teaching dialogs. Builds on the dialog styles in account-security.css and class-handover.css. */
.coteach-heading { margin: .4rem 0 .35rem; font-size: .95rem; color: #0f2f5c; }
.coteach-list { display: grid; gap: .4rem; margin: 0 0 .9rem; padding: 0; list-style: none; }
.coteach-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 2.6rem;
  padding: .45rem .8rem;
  border: 1px solid #d6e1ee;
  border-radius: 12px;
  background: #f7faff;
  overflow-wrap: anywhere;
}
.coteach-list li small { color: #45607e; font-weight: 400; }
.coteach-dialog .coteach-list .handover-link-button { flex: none; justify-self: auto; }
.coteach-waiting { margin-block-end: .2rem; }
.coteach-confirm .session-actions { margin-top: .4rem; }
.coteach-dialog .coteach-danger { color: #a3261b; border-color: #e9b4ae; background: #fff5f4; font-weight: 700; }
.coteach-dialog .session-actions { flex-wrap: wrap; }
.coteach-dialog .session-actions .coteach-danger:first-child { margin-inline-end: auto; }

:root[data-climb-theme="dark"] .coteach-dialog .coteach-heading { color: var(--theme-ink); }
:root[data-climb-theme="dark"] .coteach-dialog .coteach-list li {
  color: var(--theme-ink);
  background: var(--theme-surface);
  border-color: var(--theme-line);
}
:root[data-climb-theme="dark"] .coteach-dialog .coteach-list li small { color: var(--theme-muted, #b9c6d8); }
:root[data-climb-theme="dark"] .coteach-dialog button.coteach-danger { color: #ffb4aa; background: #3a1a17; border-color: #7a3a33; }

/* Menu icons, matching the other Class and Account menu actions. */
.signed-in-dashboard #classMenuPanel #coTeachersBtn {--action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2034%2034%22%3E%3Crect%20width%3D%2234%22%20height%3D%2234%22%20rx%3D%228%22%20fill%3D%22%23f1e8ff%22%2F%3E%3Cg%20transform%3D%22translate%287%207%29%20scale%28.84%29%22%20stroke%3D%22%236b3fb8%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%223.2%22%2F%3E%3Ccircle%20cx%3D%2216.5%22%20cy%3D%229%22%20r%3D%222.6%22%2F%3E%3Cpath%20d%3D%22M2.5%2019c.6-3.4%202.8-5.2%205.5-5.2s4.9%201.8%205.5%205.2M14%2014.4c.8-.4%201.6-.6%202.5-.6%202.3%200%204%201.5%204.5%204.4%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
.signed-in-dashboard #teacherMenuPanel #joinSharedClassBtn {--action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2034%2034%22%3E%3Crect%20width%3D%2234%22%20height%3D%2234%22%20rx%3D%228%22%20fill%3D%22%23f1e8ff%22%2F%3E%3Cg%20transform%3D%22translate%287%207%29%20scale%28.84%29%22%20stroke%3D%22%236b3fb8%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223.2%22%2F%3E%3Cpath%20d%3D%22M3%2019c.6-3.4%202.8-5.2%206-5.2%201.4%200%202.6.3%203.6%201M18%2012v7M14.5%2015.5h7%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
.signed-in-dashboard :is(#classMenuPanel #coTeachersBtn, #teacherMenuPanel #joinSharedClassBtn)::before {
  content:"";flex:none;width:28px;height:28px;margin-inline-end:3px;border-radius:7px;
  background:var(--action-icon) center / contain no-repeat;padding:0;
}
