/* ══════════════════════════════════════════════════════════════════
   Área do aluno - EAD moderno (redesign 2025)
══════════════════════════════════════════════════════════════════ */

:root {
  --ead-navy:          #0b148e;
  --ead-navy-dark:     #080f68;
  --ead-navy-deeper:   #050a4a;
  --ead-navy-mid:      #1630b8;
  --ead-blue:          #2563eb;
  --ead-blue-light:    #3b82f6;
  --ead-accent:        #ffcd00;
  --ead-accent-hover:  #ffe566;
  --ead-green:         #10b981;
  --ead-red:           #ef4444;
  --ead-amber:         #f59e0b;

  --ead-sidebar-w:           272px;
  --ead-sidebar-w-collapsed: 68px;
  --ead-topbar-h:            68px;

  --ead-bg:            #f1f4fa;
  --ead-surface:       #ffffff;
  --ead-surface-2:     #f8fafc;
  --ead-border:        rgba(15, 23, 42, 0.07);
  --ead-border-med:    rgba(15, 23, 42, 0.12);

  --ead-text:          #0f172a;
  --ead-text-2:        #334155;
  --ead-muted:         #64748b;
  --ead-muted-light:   #94a3b8;

  --ead-radius:        0.875rem;
  --ead-radius-lg:     1.125rem;
  --ead-radius-xl:     1.5rem;

  --ead-shadow-sm:   0 1px 2px rgba(15,23,42,0.06);
  --ead-shadow:      0 1px 3px rgba(15,23,42,0.08), 0 4px 16px rgba(15,23,42,0.05);
  --ead-shadow-md:   0 4px 12px rgba(15,23,42,0.10), 0 1px 4px rgba(15,23,42,0.06);
  --ead-shadow-lg:   0 8px 32px rgba(15,23,42,0.12), 0 2px 8px rgba(15,23,42,0.06);
  --ead-shadow-xl:   0 20px 60px rgba(15,23,42,0.16);
  --ead-glow-blue:   0 0 0 3px rgba(37,99,235,0.18);
  --ead-glow-navy:   0 0 0 3px rgba(11,20,142,0.14);
}

*,*::before,*::after { box-sizing: border-box; }

.ead-aluno-area {
  margin: 0;
  min-height: 100vh;
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: var(--ead-text);
  background: var(--ead-bg);
  -webkit-font-smoothing: antialiased;
}
.ead-aluno-area--app { overflow-x: hidden; }

/* ─── App Shell ─── */
.ead-lms-app {
  display: flex;
  min-height: 100vh;
}

/* ─── Sidebar ─── */
.ead-lms-sidebar {
  position: fixed;
  top: 0; left: 0;
  z-index: 1040;
  width: var(--ead-sidebar-w);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ead-navy);
  color: #fff;
  box-shadow: 4px 0 40px rgba(5,10,74,0.35);
  transition: width 0.28s cubic-bezier(0.4,0,0.2,1), transform 0.28s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}

/* decoração lateral */
.ead-lms-sidebar::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,205,0,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.ead-lms-sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.1rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}

.ead-lms-brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}

.ead-lms-brand-img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ead-lms-brand-mark {
  display: inline-flex;
  width: 2.35rem; height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  background: var(--ead-accent);
  color: var(--ead-navy);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.ead-lms-brand-text {
  font-weight: 600;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ead-lms-sidebar-close {
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  width: 2.1rem; height: 2.1rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Collapse toggle (desktop only) */
.ead-lms-sidebar-collapse {
  border: none;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  width: 2rem; height: 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.ead-lms-sidebar-collapse:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.ead-lms-sidebar-collapse i {
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ══ Collapsed state ══ */
.ead-lms-sidebar.is-collapsed {
  width: var(--ead-sidebar-w-collapsed);
}
.ead-lms-main.is-sidebar-collapsed {
  margin-left: var(--ead-sidebar-w-collapsed);
}

/* brand: hide logo link, center toggle */
.ead-lms-sidebar.is-collapsed .ead-lms-sidebar-brand {
  justify-content: center;
  padding-left: 0; padding-right: 0;
}
.ead-lms-sidebar.is-collapsed .ead-lms-brand-link { display: none; }

/* rotate icon to indicate "expand" */
.ead-lms-sidebar.is-collapsed .ead-lms-sidebar-collapse i {
  transform: rotate(180deg);
}

/* user: hide info, center avatar */
.ead-lms-sidebar.is-collapsed .ead-lms-sidebar-user {
  justify-content: center;
  padding: 0.75rem 0;
}
.ead-lms-sidebar.is-collapsed .ead-lms-sidebar-user-info { display: none; }

/* nav: hide kickers and label text, center icons */
.ead-lms-sidebar.is-collapsed .ead-lms-nav-kicker {
  height: 0; margin: 0; overflow: hidden; opacity: 0;
}
.ead-lms-sidebar.is-collapsed .ead-lms-nav-link {
  justify-content: center;
  padding: 0.65rem;
}
.ead-lms-sidebar.is-collapsed .ead-lms-nav-link span { display: none; }
.ead-lms-sidebar.is-collapsed .ead-lms-nav-link i { width: auto; }

/* foot: center icon */
.ead-lms-sidebar.is-collapsed .ead-lms-sidebar-foot {
  padding-left: 0.5rem; padding-right: 0.5rem;
}

/* ─ User profile block in sidebar ─ */
.ead-lms-sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  z-index: 1;
}

.ead-lms-sidebar-user-avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,205,0,0.45);
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ead-lms-sidebar-user-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.ead-lms-sidebar-user-avatar-placeholder {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
}

.ead-lms-sidebar-user-info { min-width: 0; flex: 1; }

.ead-lms-sidebar-user-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.ead-lms-sidebar-user-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.2rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ead-accent);
  opacity: 0.9;
}

/* ─ Nav ─ */
.ead-lms-sidebar-nav {
  flex: 0 0 auto;
  overflow-y: auto;
  padding: 0.85rem 0.75rem;
  position: relative;
  z-index: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
}
.ead-lms-sidebar-nav::-webkit-scrollbar { width: 4px; }
.ead-lms-sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.ead-lms-sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 2px; }

.ead-lms-nav-kicker {
  margin: 1rem 0.5rem 0.3rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.ead-lms-nav-kicker:first-child { margin-top: 0; }

.ead-lms-nav-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.625rem 0.85rem;
  margin-bottom: 0.15rem;
  border-radius: 0.6rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: background 0.15s, color 0.15s, transform 0.12s;
  position: relative;
}

.ead-lms-nav-link i {
  font-size: 1.1rem;
  opacity: 0.85;
  width: 1.3rem;
  text-align: center;
  flex-shrink: 0;
}

.ead-lms-nav-link:hover {
  background: rgba(255,255,255,0.09);
  color: #fff;
}

.ead-lms-nav-link.is-active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* barra lateral no item ativo */
.ead-lms-nav-link.is-active::before {
  content: '';
  position: absolute;
  left: -0.75rem;
  top: 20%;
  bottom: 20%;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--ead-accent);
}

.ead-lms-nav-link.is-active i { color: var(--ead-accent); }

.ead-lms-nav-link--muted { opacity: 0.7; }

.ead-lms-nav-link--logout:hover {
  background: rgba(239,68,68,0.18);
  color: #fca5a5;
}

.ead-lms-nav-link--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.ead-lms-nav-badge {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.13rem 0.4rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}

.ead-lms-sidebar-foot {
  margin-top: auto;
  padding: 0.65rem 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}

.ead-lms-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1035;
  background: rgba(5,10,60,0.6);
  backdrop-filter: blur(3px);
}

/* ─── Main content area ─── */
.ead-lms-main {
  flex: 1 1 auto;
  margin-left: var(--ead-sidebar-w);
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ─── Topbar ─── */
.ead-lms-topbar {
  position: sticky;
  top: 0; z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--ead-topbar-h);
  padding: 0 1.5rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom: 1px solid var(--ead-border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9), var(--ead-shadow-sm);
}

.ead-lms-topbar-start {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.ead-lms-topbar-menu {
  border: none;
  background: var(--ead-bg);
  color: var(--ead-navy);
  width: 2.4rem; height: 2.4rem;
  border-radius: 0.6rem;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.ead-lms-topbar-menu:hover { background: #e8ecf5; }

.ead-lms-topbar-titles { min-width: 0; }

.ead-lms-topbar-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ead-text);
}

.ead-lms-topbar-lead {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  color: var(--ead-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Search bar in topbar */
.ead-lms-topbar-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: var(--ead-bg);
  border: 1.5px solid var(--ead-border);
  border-radius: 999px;
  max-width: 240px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
}
.ead-lms-topbar-search:focus-within {
  border-color: var(--ead-blue);
  box-shadow: var(--ead-glow-blue);
}
.ead-lms-topbar-search i {
  color: var(--ead-muted);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.ead-lms-topbar-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.8125rem;
  color: var(--ead-text);
  width: 100%;
  font-family: inherit;
}
.ead-lms-topbar-search input::placeholder { color: var(--ead-muted-light); }

.ead-lms-topbar-end {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Notification bell */
.ead-lms-topbar-notif {
  position: relative;
  border: none;
  background: var(--ead-bg);
  color: var(--ead-text-2);
  width: 2.4rem; height: 2.4rem;
  border-radius: 0.6rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}
.ead-lms-topbar-notif:hover { background: #e8ecf5; }
.ead-lms-topbar-notif-dot {
  position: absolute;
  top: 0.35rem; right: 0.35rem;
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--ead-red);
  border: 2px solid rgba(255,255,255,0.92);
}
/* remove seta padrão do dropdown no botão de notif */
.ead-lms-topbar-notif.dropdown-toggle::after { display: none; }

/* ── Notification panel dropdown ── */
.ead-notif-panel {
  width: 360px;
  max-height: 480px;
  flex-direction: column;
  padding: 0;
  border-radius: var(--ead-radius-lg);
  border: 1px solid var(--ead-border);
  overflow: hidden;
}
.ead-notif-panel.show {
  display: flex !important;
}
.ead-notif-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem 0.7rem;
  border-bottom: 1px solid var(--ead-border);
  flex-shrink: 0;
}
.ead-notif-panel-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ead-text);
}
.ead-notif-marcar-todas {
  background: none;
  border: none;
  font-size: 0.72rem;
  color: var(--ead-blue);
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-weight: 500;
}
.ead-notif-marcar-todas:hover { text-decoration: underline; }

.ead-notif-list {
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
}
.ead-notif-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--ead-muted);
}
.ead-notif-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--ead-muted);
  font-size: 0.82rem;
}
.ead-notif-empty i { font-size: 2rem; display: block; margin-bottom: 0.5rem; opacity: 0.4; }

.ead-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--ead-border);
  cursor: default;
  transition: background 0.12s;
}
.ead-notif-item:last-child { border-bottom: none; }
.ead-notif-item--nao-lida { background: #f0f5ff; }
.ead-notif-item--nao-lida:hover { background: #e8efff; }
.ead-notif-item:not(.ead-notif-item--nao-lida):hover { background: var(--ead-bg); }

.ead-notif-item-icon {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.ead-notif-item-icon--info    { background: #dbeafe; color: var(--ead-blue); }
.ead-notif-item-icon--sucesso { background: #d1fae5; color: var(--ead-green); }
.ead-notif-item-icon--aviso   { background: #fef3c7; color: var(--ead-amber); }
.ead-notif-item-icon--erro    { background: #fee2e2; color: var(--ead-red); }

.ead-notif-item-body { flex: 1; min-width: 0; }
.ead-notif-item-titulo {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ead-text);
  margin-bottom: 0.2rem;
  line-height: 1.35;
}
.ead-notif-item-msg {
  font-size: 0.75rem;
  color: var(--ead-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ead-notif-item-time {
  font-size: 0.68rem;
  color: var(--ead-muted-light);
  margin-top: 0.3rem;
}
.ead-notif-item-dot {
  width: 0.45rem; height: 0.45rem;
  border-radius: 50%;
  background: var(--ead-blue);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* ─── Buttons ─── */
.ead-lms-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
  line-height: 1.4;
  white-space: nowrap;
  background-image: none;
}
.ead-lms-btn:active { opacity: 0.92; }

.ead-lms-btn--accent {
  background: var(--ead-accent);
  color: #000a1a;
}
.ead-lms-btn--accent:hover {
  background: var(--ead-accent-hover);
  color: #000;
}

.ead-lms-btn--primary {
  background: var(--ead-blue);
  color: #fff;
}
.ead-lms-btn--primary:hover {
  background: var(--ead-navy);
  color: #fff;
}

.ead-lms-btn--outline {
  background: transparent;
  border: 1.5px solid var(--ead-border-med);
  color: var(--ead-navy);
}
.ead-lms-btn--outline:hover {
  background: rgba(11,20,142,0.05);
  border-color: var(--ead-navy);
  color: var(--ead-navy);
}

.ead-lms-btn--ghost {
  background: transparent;
  color: var(--ead-muted);
  border: 1.5px solid var(--ead-border);
}
.ead-lms-btn--ghost:hover {
  background: var(--ead-bg);
  color: var(--ead-text);
}

.ead-lms-btn--sm {
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  border-radius: 999px;
}

.ead-lms-btn:disabled, .ead-lms-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* User menu button */
.ead-lms-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.55rem 0.3rem 0.3rem;
  border: 1.5px solid var(--ead-border);
  border-radius: 999px;
  background: var(--ead-surface);
  color: var(--ead-text);
  font-size: 0.84rem;
  font-weight: 500;
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.ead-lms-user-btn:hover {
  border-color: var(--ead-border-med);
  box-shadow: var(--ead-shadow-sm);
}

.ead-lms-user-avatar {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ead-blue) 0%, var(--ead-navy) 100%);
}
.ead-lms-user-avatar-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ead-lms-dropdown {
  border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius);
  padding: 0.35rem;
  min-width: 13rem;
  box-shadow: var(--ead-shadow-lg);
}
.ead-lms-dropdown .dropdown-item {
  border-radius: 0.5rem;
  font-size: 0.875rem;
  padding: 0.5rem 0.85rem;
}

/* ─── Content area ─── */
.ead-lms-content {
  flex: 1 1 auto;
  padding: 1.75rem 1.75rem 2.5rem;
  width: 100%;
}
.ead-lms-content--full {
  padding: 0;
}
.ead-lms-footer {
  padding: 1rem 1.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--ead-muted);
  border-top: 1px solid var(--ead-border);
  background: var(--ead-surface);
}
.ead-lms-footer p { margin: 0; }

/* ─── Alerts ─── */
.ead-lms-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--ead-radius);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
.ead-lms-alert--success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #166534;
  border: 1px solid #bbf7d0;
}
.ead-lms-alert--success i { color: var(--ead-green); font-size: 1.2rem; }

.ead-lms-alert--warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #92400e;
  border: 1px solid #fde68a;
}
.ead-lms-alert--warning i { color: var(--ead-amber); font-size: 1.2rem; }

.ead-lms-alert--info {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.ead-lms-alert--info i { color: var(--ead-blue-light); font-size: 1.2rem; }

.ead-lms-alert-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 0.4rem;
}
.ead-lms-alert-link:hover { opacity: 0.8; }

/* ─── Welcome banner ─── */
.ead-lms-welcome {
  position: relative;
  overflow: hidden;
  border-radius: var(--ead-radius-xl);
  padding: 2.25rem 2.25rem 2.5rem;
  margin-bottom: 1.75rem;
  background: var(--ead-navy);
  color: #fff;
  box-shadow: var(--ead-shadow-xl);
}

/* orbs decorativos */
.ead-lms-welcome::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,205,0,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.ead-lms-welcome::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 30%;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.35) 0%, transparent 65%);
  pointer-events: none;
}

.ead-lms-welcome-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ead-accent);
  margin: 0 0 0.6rem;
  position: relative;
}

.ead-lms-welcome-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  position: relative;
}

.ead-lms-welcome-text {
  margin: 0;
  max-width: 38rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  position: relative;
}

.ead-lms-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
  position: relative;
}
.ead-lms-welcome-actions .ead-lms-btn--accent {
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
}
.ead-lms-welcome-actions .ead-lms-btn--ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2);
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}
.ead-lms-welcome-actions .ead-lms-btn--ghost:hover {
  background: rgba(255,255,255,0.18);
}

/* Continue studying card */
.ead-lms-continue {
  position: relative;
  border-radius: var(--ead-radius-xl);
  overflow: hidden;
  margin-bottom: 1.75rem;
  background: var(--ead-surface);
  border: 1px solid var(--ead-border);
  box-shadow: var(--ead-shadow-md);
  display: flex;
  align-items: stretch;
  min-height: 120px;
}
.ead-lms-continue-cover {
  width: 180px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ead-navy) 0%, var(--ead-blue) 100%);
}
.ead-lms-continue-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ead-lms-continue-cover-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.3);
}
.ead-lms-continue-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(255,255,255,0.06) 100%);
}
.ead-lms-continue-body {
  flex: 1; min-width: 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ead-lms-continue-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ead-blue);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.ead-lms-continue-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ead-text);
  margin: 0 0 0.5rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ead-lms-continue-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--ead-muted);
  margin-bottom: 0.85rem;
}
.ead-lms-continue-prog-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.ead-lms-continue-prog-bar {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: var(--ead-bg);
  overflow: hidden;
}
.ead-lms-continue-prog-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ead-blue) 0%, var(--ead-green) 100%);
  transition: width 0.5s ease;
}
.ead-lms-continue-prog-pct {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ead-navy);
  flex-shrink: 0;
}
.ead-lms-continue-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  flex-shrink: 0;
  border-left: 1px solid var(--ead-border);
}

/* ─── Stats grid ─── */
.ead-lms-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

.ead-lms-stat {
  background: var(--ead-surface);
  border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--ead-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ead-lms-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--ead-shadow-md);
}

.ead-lms-stat-icon {
  width: 2.6rem; height: 2.6rem;
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.ead-lms-stat-icon--navy  { background: linear-gradient(135deg, rgba(11,20,142,0.12), rgba(37,99,235,0.08)); color: var(--ead-navy); }
.ead-lms-stat-icon--blue  { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1d4ed8; }
.ead-lms-stat-icon--green { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #059669; }
.ead-lms-stat-icon--amber { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #b45309; }

.ead-lms-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ead-text);
}
.ead-lms-stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--ead-muted);
  font-weight: 500;
}

/* ─── Section headers ─── */
.ead-lms-section { margin-bottom: 2.25rem; }

.ead-lms-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.ead-lms-section-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ead-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ead-lms-section-title i {
  font-size: 1.1rem;
  color: var(--ead-blue);
  opacity: 0.9;
}

.ead-lms-section-sub {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--ead-muted);
}

/* ─── Filter tabs (Meus cursos) ─── */
.ead-filter-tabs {
  display: inline-flex;
  align-items: center;
  background: var(--ead-surface);
  border: 1px solid var(--ead-border-med);
  border-radius: 10px;
  padding: 4px;
  gap: 2px;
  margin-bottom: 1.75rem;
  box-shadow: var(--ead-shadow-sm);
}
.ead-filter-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.42rem 1rem;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ead-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
}
.ead-filter-tab:hover {
  background: var(--ead-surface-2);
  color: var(--ead-text);
}
.ead-filter-tab.is-active {
  background: var(--ead-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.ead-filter-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255,255,255,0.22);
  color: inherit;
  line-height: 1;
}
.ead-filter-tab:not(.is-active) .ead-filter-tab-count {
  background: var(--ead-border-med);
  color: var(--ead-muted);
}
[data-bs-theme="dark"] .ead-filter-tabs {
  background: var(--ead-surface);
  border-color: var(--ead-border-med);
}
[data-bs-theme="dark"] .ead-filter-tab:hover {
  background: var(--ead-surface-2);
  color: var(--ead-text);
}
[data-bs-theme="dark"] .ead-filter-tab:not(.is-active) .ead-filter-tab-count {
  background: rgba(255,255,255,0.08);
}

/* ─── Action cards (Explorar / Depoimento / Certificados) ─── */
.ead-lms-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

.ead-lms-action-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem;
  background: var(--ead-surface);
  border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-lg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--ead-shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.ead-lms-action-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ead-blue), var(--ead-navy));
  transform: scaleX(0);
  transition: transform 0.2s;
  transform-origin: left;
}
.ead-lms-action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ead-shadow-lg);
  border-color: rgba(37,99,235,0.15);
  color: inherit;
}
.ead-lms-action-card:hover::after { transform: scaleX(1); }
.ead-lms-action-card--disabled {
  opacity: 0.55;
  pointer-events: none;
}

.ead-lms-action-icon {
  width: 3rem; height: 3rem;
  border-radius: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(11,20,142,0.06));
  color: var(--ead-navy);
}

.ead-lms-action-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ead-text);
}
.ead-lms-action-desc {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--ead-muted);
  flex: 1 1 auto;
  line-height: 1.55;
}
.ead-lms-action-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ead-blue);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ─── Course cards ─── */
.ead-lms-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.35rem;
}

.ead-lms-course-card {
  background: var(--ead-surface);
  border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-xl);
  overflow: hidden;
  box-shadow: var(--ead-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}
.ead-lms-course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ead-shadow-md);
}

.ead-lms-course-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--ead-navy) 0%, #1e40af 50%, #4338ca 100%);
  overflow: hidden;
}

.ead-curso-fav-btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 4;
  width: 2.35rem;
  height: 2.35rem;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #e11d48;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ead-curso-fav-btn:hover {
  transform: scale(1.06);
}

.ead-curso-fav-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
.ead-lms-course-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.ead-lms-course-card:hover .ead-lms-course-cover img {
  transform: scale(1.03);
}

.ead-lms-course-cover-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.75rem;
  color: rgba(255,255,255,0.25);
}

.ead-lms-course-badge {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  z-index: 1;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.95);
  color: var(--ead-navy);
  box-shadow: var(--ead-shadow-sm);
}
.ead-lms-course-badge--inline {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  background: rgba(11,20,142,0.09);
  color: var(--ead-navy);
}

.ead-lms-course-body {
  padding: 1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
}

.ead-lms-course-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ead-text);
}

.ead-lms-course-meta {
  margin: 0;
  font-size: 0.74rem;
  color: var(--ead-muted);
}

.ead-lms-course-progress {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.25rem 0 0.15rem;
}

.ead-lms-course-progress .ead-lms-progress-bar {
  flex: 1;
  margin: 0;
}

.ead-lms-course-progress-pct {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ead-navy);
  min-width: 2.4rem;
  text-align: right;
}

/* Progress bar */
.ead-lms-progress { margin-bottom: 1.1rem; }

.ead-lms-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ead-muted);
  margin-bottom: 0.4rem;
}

.ead-lms-progress-bar {
  height: 5px;
  border-radius: 999px;
  background: #e8ecf5;
  overflow: hidden;
}

.ead-lms-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ead-navy);
  transition: width 0.5s ease;
}

.ead-lms-progress-fill.is-done {
  background: var(--ead-green);
}

.ead-lms-course-foot {
  margin-top: auto;
  padding-top: 0.45rem;
  display: flex;
  gap: 0.5rem;
}
.ead-lms-course-foot .ead-lms-btn {
  flex: 1;
  justify-content: center;
  font-size: 0.8rem;
  padding: 0.55rem 0.75rem;
}

/* Empty state */
.ead-lms-empty {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--ead-surface);
  border: 2px dashed var(--ead-border);
  border-radius: var(--ead-radius-xl);
}
.ead-lms-empty-icon {
  font-size: 3.25rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}
.ead-lms-empty-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.ead-lms-empty-text {
  margin: 0 auto 1.35rem;
  max-width: 24rem;
  color: var(--ead-muted);
  font-size: 0.875rem;
}

/* ─── Panel / cards (depoimento, forms) ─── */
.ead-lms-panel {
  background: var(--ead-surface);
  border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-lg);
  box-shadow: var(--ead-shadow);
  padding: 1.5rem 1.75rem;
}
.ead-lms-panel + .ead-lms-panel { margin-top: 1rem; }
.ead-lms-panel-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ead-text);
}
.ead-lms-panel--warning { border-left: 4px solid var(--ead-amber); }
.ead-lms-panel--success { border-left: 4px solid var(--ead-green); }

.ead-aluno-depoimento-preview {
  border-left: 3px solid var(--ead-border);
  padding-left: 1rem;
  margin: 0;
  font-style: italic;
  color: var(--ead-muted);
}

/* ─── Meu depoimento ─── */
.ead-dep {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}

.ead-dep-status {
  background: var(--ead-surface);
  border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-xl);
  box-shadow: var(--ead-shadow);
  overflow: hidden;
}

.ead-dep-status-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 1.5rem 1.15rem;
  border-bottom: 1px solid var(--ead-border);
}

.ead-dep-status-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.ead-dep-status--publicado .ead-dep-status-icon {
  background: rgba(16, 185, 129, 0.14);
  color: var(--ead-green);
}

.ead-dep-status--pendente .ead-dep-status-icon {
  background: rgba(245, 158, 11, 0.14);
  color: #d97706;
}

.ead-dep-status--rejeitado .ead-dep-status-icon {
  background: rgba(239, 68, 68, 0.12);
  color: var(--ead-red);
}

.ead-dep-status-copy { min-width: 0; }

.ead-dep-status-badge {
  margin: 0 0 0.2rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ead-muted);
}

.ead-dep-status--publicado .ead-dep-status-badge { color: #059669; }
.ead-dep-status--pendente .ead-dep-status-badge { color: #b45309; }
.ead-dep-status--rejeitado .ead-dep-status-badge { color: #dc2626; }

.ead-dep-status-title {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ead-text);
  line-height: 1.25;
}

.ead-dep-status-lead {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ead-muted);
}

.ead-dep-quote {
  position: relative;
  margin: 0;
  padding: 1.5rem 1.5rem 1.35rem;
}

.ead-dep-quote-mark {
  position: absolute;
  top: 0.55rem;
  left: 1.15rem;
  font-size: 3.5rem;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  color: color-mix(in srgb, var(--ead-navy) 18%, transparent);
  pointer-events: none;
  user-select: none;
}

.ead-dep-quote blockquote {
  margin: 0;
  padding: 0;
  border: none;
}

.ead-dep-quote blockquote p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ead-text);
}

.ead-dep-quote--muted blockquote p {
  font-weight: 400;
  color: var(--ead-muted);
  font-style: italic;
}

.ead-dep-quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ead-border);
}

.ead-dep-quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--ead-surface-2);
}

.ead-dep-quote-who {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.ead-dep-quote-who strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ead-text);
}

.ead-dep-quote-who span {
  font-size: 0.78rem;
  color: var(--ead-muted);
}

.ead-dep-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0 1.5rem 1.4rem;
}

.ead-dep-empty {
  text-align: center;
  background: var(--ead-surface);
  border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-xl);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--ead-shadow);
}

.ead-dep-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ead-navy) 10%, transparent);
  color: var(--ead-navy);
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.ead-dep-empty-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ead-text);
}

.ead-dep-empty-text {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--ead-muted);
  line-height: 1.5;
}

.ead-dep-form-card {
  background: var(--ead-surface);
  border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-xl);
  box-shadow: var(--ead-shadow);
  padding: 1.5rem 1.6rem 1.65rem;
}

.ead-dep-form-head {
  margin-bottom: 1.25rem;
}

.ead-dep-form-title {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ead-text);
}

.ead-dep-form-lead {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ead-muted);
  line-height: 1.45;
}

.ead-dep-field {
  margin-bottom: 1.1rem;
}

.ead-dep-form-hint {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--ead-muted);
}

[data-bs-theme="dark"] .ead-dep-status--publicado .ead-dep-status-badge { color: #6ee7b7; }
[data-bs-theme="dark"] .ead-dep-status--pendente .ead-dep-status-badge { color: #fcd34d; }
[data-bs-theme="dark"] .ead-dep-status--rejeitado .ead-dep-status-badge { color: #fca5a5; }
[data-bs-theme="dark"] .ead-dep-quote-mark {
  color: rgba(147, 197, 253, 0.22);
}
[data-bs-theme="dark"] .ead-dep-empty-icon {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
}

.ead-lms-form .form-label { font-weight: 500; font-size: 0.875rem; }
.ead-lms-form .form-control,
.ead-lms-form .form-select {
  border-radius: 0.65rem;
  border-color: var(--ead-border-med);
  background: var(--ead-surface);
  color: var(--ead-text);
  padding: 0.6rem 0.875rem;
  font-size: 0.9rem;
}
.ead-lms-form .form-control:focus,
.ead-lms-form .form-select:focus {
  border-color: var(--ead-blue);
  box-shadow: var(--ead-glow-blue);
}

/* ─────────────────────────────────────────────
   AUTH / LOGIN (preservado)
───────────────────────────────────────────── */
.ead-lms-auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ead-lms-auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem;
  background: linear-gradient(150deg, var(--ead-navy-deeper) 0%, var(--ead-navy) 45%, #1a2fb0 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ead-lms-auth-brand::before {
  content: '';
  position: absolute;
  bottom: -15%; left: -12%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,205,0,0.13), transparent 62%);
  pointer-events: none;
}
.ead-lms-auth-brand::after {
  content: '';
  position: absolute;
  top: -8%; right: -12%;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.2), transparent 60%);
  pointer-events: none;
}
.ead-lms-auth-brand-inner { position: relative; max-width: 28rem; }

/* Logo or badge at top of brand panel */
.ead-lms-auth-brand-logo {
  display: block;
  max-height: 54px;
  max-width: 200px;
  width: auto;
  margin-bottom: 2.5rem;
  object-fit: contain;
}
.ead-lms-auth-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 1rem;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  font-size: 1.75rem; font-weight: 700;
  color: #fff;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.ead-lms-auth-brand h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.15;
}
.ead-lms-auth-brand p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}
.ead-lms-auth-features {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.ead-lms-auth-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}
.ead-lms-auth-features i { color: var(--ead-accent); font-size: 1.1rem; }

.ead-lms-auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  background: var(--ead-bg);
}

/* Premium card */
.ead-lms-auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--ead-surface);
  border-radius: var(--ead-radius-xl);
  padding: 2.75rem 2.5rem;
  box-shadow: 0 24px 72px rgba(15,23,42,0.14), 0 4px 16px rgba(15,23,42,0.06);
  border: 1px solid var(--ead-border);
}

.ead-lms-auth-card h1 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.ead-lms-auth-card .ead-lms-auth-lead {
  color: var(--ead-muted);
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

/* Icon-prefixed inputs */
.ead-auth-field { position: relative; }
.ead-auth-field-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ead-muted-light);
  pointer-events: none;
  font-size: 0.875rem;
  z-index: 2;
  transition: color 0.15s;
}
.ead-auth-field .form-control {
  padding-left: 2.85rem;
  height: 50px;
  font-size: 0.9rem;
  border-radius: 0.75rem;
}
.ead-auth-field:focus-within .ead-auth-field-icon { color: var(--ead-blue); }

/* Submit button */
.ead-auth-submit {
  height: 52px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 0.75rem;
  margin-top: 0.25rem;
}

.ead-lms-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--ead-muted);
  text-decoration: none;
  margin-top: 1.25rem;
}
.ead-lms-back-link:hover { color: var(--ead-navy); }

/* ─────────────────────────────────────────────
   PERFIL / FOTO (preservado)
───────────────────────────────────────────── */
.ead-lms-perfil--page { margin-bottom: 0; }
.ead-lms-perfil--full .ead-lms-perfil-panel { padding: 1.75rem 2rem 2rem; }
.ead-aluno-area--perfil-page .ead-lms-page-head { max-width: none; }
.ead-lms-perfil-panel { padding: 1.5rem 1.75rem; }
.ead-lms-perfil-foto-zone { width: 100%; }
.ead-lms-perfil-foto-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}
.ead-lms-perfil-foto-controls { flex: 1 1 16rem; min-width: 0; max-width: 28rem; }
.ead-lms-perfil-file { max-width: 22rem; }
.ead-lms-perfil-avatars-wrap { width: 100%; }
.ead-lms-perfil-divider { margin: 1.75rem 0; border-color: rgba(11,20,142,0.1); opacity: 1; }
.ead-lms-perfil-form-zone { width: 100%; }
.ead-lms-field-readonly {
  background-color: var(--ead-surface-2);
  color: var(--ead-muted);
  cursor: not-allowed;
  border-color: var(--ead-border-med);
}
.ead-lms-foto-preview-host {
  position: relative;
  width: 160px; height: 160px;
  flex-shrink: 0;
}
.ead-lms-foto-preview-host .ead-lms-foto-preview-wrap--circle { width: 100%; height: 100%; }
.ead-lms-foto-preview-host .ead-lms-foto-remove-btn { position: absolute; top: 2px; right: 2px; z-index: 10; }
.ead-lms-foto-preview-host.is-empty .ead-lms-foto-remove-btn { display: none; }
.ead-lms-foto-remove-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; padding: 0;
  border: 2px solid #fff; border-radius: 50%;
  background: #dc2626; color: #fff; font-size: 0.85rem;
  cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.15s, transform 0.12s;
}
.ead-lms-foto-remove-btn:hover { background: #b91c1c; transform: scale(1.06); }
.ead-lms-foto-remove-btn:focus-visible { outline: 2px solid var(--ead-navy); outline-offset: 2px; }
.ead-lms-perfil-block-title { font-size: 0.95rem; font-weight: 600; margin: 0 0 1rem; color: var(--ead-navy); }
.ead-lms-foto-row { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: flex-start; }
.ead-lms-foto-preview-wrap {
  width: 140px; height: 140px;
  border-radius: 16px;
  border: 2px dashed rgba(11,20,142,0.15);
  overflow: hidden; background: var(--ead-surface-2); flex-shrink: 0;
}
.ead-lms-foto-preview-wrap.ead-lms-foto-preview-wrap--circle {
  position: relative; width: 160px; height: 160px;
  border-radius: 50%; border: 2px solid rgba(11,20,142,0.12);
  overflow: hidden; isolation: isolate;
}
.ead-lms-foto-preview-host .ead-lms-foto-preview-wrap.ead-lms-foto-preview-wrap--circle { width: 100%; height: 100%; }
.ead-lms-foto-preview-wrap--circle .ead-lms-foto-placeholder { font-size: 3rem; color: rgba(11,20,142,0.25); }
.ead-lms-foto-preview-wrap--circle .ead-lms-foto-preview { border-radius: 50%; }
.ead-lms-foto-preview { width: 100%; height: 100%; object-fit: cover; display: block; }
.ead-lms-foto-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: var(--ead-muted); }
.ead-lms-foto-actions { flex: 1 1 12rem; min-width: 0; }
.ead-lms-foto-avatar-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; max-height: 220px; overflow-y: auto; padding-right: 0.25rem; }
.ead-lms-foto-avatar-btn {
  padding: 0; border: 2px solid transparent; border-radius: 50%;
  background: var(--ead-surface-2); cursor: pointer; line-height: 0;
  transition: border-color 0.15s, transform 0.12s, box-shadow 0.15s; overflow: hidden;
}
.ead-lms-foto-avatar-btn:hover { border-color: rgba(11,20,142,0.35); transform: translateY(-1px); }
.ead-lms-foto-avatar-btn.is-active { border-color: var(--ead-navy); box-shadow: 0 0 0 2px rgba(11,20,142,0.15); }
.ead-lms-foto-avatar-btn img { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.ead-lms-perfil-submit .ead-lms-btn { padding: 0.65rem 1.35rem; }
.ead-lms-perfil .ead-senha-strength-bar { height: 0.35rem; border-radius: 999px; background: #e5e7eb; overflow: hidden; }
.ead-lms-perfil .ead-senha-strength-fill { display: block; height: 100%; width: 0; border-radius: inherit; transition: width 0.2s ease; }
.ead-lms-perfil .ead-senha-strength-label { display: block; margin-top: 0.35rem; font-size: 0.8125rem; font-weight: 600; }
.ead-lms-perfil .ead-senha-strength--n1 .ead-senha-strength-fill { background: #ef4444; }
.ead-lms-perfil .ead-senha-strength--n1 .ead-senha-strength-label { color: #b91c1c; }
.ead-lms-perfil .ead-senha-strength--n2 .ead-senha-strength-fill { background: #f97316; }
.ead-lms-perfil .ead-senha-strength--n2 .ead-senha-strength-label { color: #c2410c; }
.ead-lms-perfil .ead-senha-strength--n3 .ead-senha-strength-fill { background: #eab308; }
.ead-lms-perfil .ead-senha-strength--n3 .ead-senha-strength-label { color: #a16207; }
.ead-lms-perfil .ead-senha-strength--n4 .ead-senha-strength-fill { background: #22c55e; }
.ead-lms-perfil .ead-senha-strength--n4 .ead-senha-strength-label { color: #15803d; }

/* Legacy compat */
.ead-aluno-card { border-radius: var(--ead-radius); }

/* ─── Responsive ─── */
@media (max-width: 1199.98px) {
  .ead-lms-stats { grid-template-columns: repeat(2, 1fr); }
  .ead-lms-topbar-search { max-width: 180px; }
}

@media (max-width: 991.98px) {
  /* ── App shell ── */
  .ead-lms-sidebar { transform: translateX(-100%); }
  .ead-lms-sidebar.is-open { transform: translateX(0); }
  .ead-lms-main { margin-left: 0; }
  .ead-lms-actions-grid { grid-template-columns: 1fr; }
  .ead-lms-topbar-search { display: none; }
  .ead-lms-continue-cover { width: 120px; }

  /* ── Auth: empilha verticalmente ── */
  .ead-lms-auth-wrap {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
  }
  /* Painel vira cabeçalho compacto (logo + título lado a lado) */
  .ead-lms-auth-brand {
    display: flex;
    min-height: unset;
    padding: 1.5rem 1.5rem 1.35rem;
  }
  .ead-lms-auth-brand-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: none;
  }
  .ead-lms-auth-brand p,
  .ead-lms-auth-features { display: none; }
  .ead-lms-auth-brand h2 {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.3;
  }
  .ead-lms-auth-brand-logo {
    margin-bottom: 0;
    max-height: 38px;
    flex-shrink: 0;
  }
  .ead-lms-auth-brand-badge {
    margin-bottom: 0;
    width: 42px; height: 42px;
    font-size: 1.25rem;
    border-radius: 0.65rem;
    flex-shrink: 0;
  }
  /* Área do formulário */
  .ead-lms-auth-form-wrap {
    flex: 1;
    align-items: flex-start;
    padding: 1.75rem 1.25rem 3rem;
  }
  .ead-lms-auth-card { padding: 1.75rem 1.5rem; }
}

@media (max-width: 575.98px) {
  /* ── App shell ── */
  .ead-lms-content { padding: 1rem 1rem 2rem; }
  .ead-lms-topbar { padding: 0 1rem; }
  .ead-lms-welcome { padding: 1.5rem 1.35rem 1.75rem; }
  .ead-lms-stats { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .ead-lms-stat { padding: 1rem; }
  .ead-lms-stat-value { font-size: 1.65rem; }
  .ead-lms-continue { flex-direction: column; }
  .ead-lms-continue-cover { width: 100%; height: 120px; }
  .ead-lms-continue-action { border-left: none; border-top: 1px solid var(--ead-border); padding: 0.875rem 1.25rem; }

  /* ── Auth: telas pequenas (≤ 575px) ── */
  .ead-lms-auth-brand { padding: 1.1rem 1rem 1rem; gap: 0.75rem; }
  .ead-lms-auth-brand-logo { max-height: 32px; }
  .ead-lms-auth-brand-badge { width: 36px; height: 36px; font-size: 1.1rem; }
  .ead-lms-auth-brand h2 { font-size: 0.95rem; }
  .ead-lms-auth-form-wrap { padding: 1.25rem 0.75rem 2.5rem; }
  .ead-lms-auth-card { padding: 1.5rem 1.1rem; border-radius: 1rem; }
  .ead-auth-field .form-control { height: 46px; }
  .ead-auth-submit { height: 48px; font-size: 0.875rem; }
}

/* ─────────────────────────────────────────────
   TOAST (preservado)
───────────────────────────────────────────── */
.admin-save-toast-host {
  position: fixed; top: 4.75rem; right: 1.15rem;
  bottom: auto; z-index: 10850;
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 0.5rem;
  pointer-events: none;
  max-width: min(22rem, calc(100vw - 2rem));
}
.admin-save-toast {
  pointer-events: auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(15,23,42,0.14), 0 2px 8px rgba(15,23,42,0.06);
  border: 1px solid rgba(11,20,142,0.1);
  background: var(--ead-surface); color: var(--ead-text); overflow: hidden;
}
.admin-save-toast-inner {
  display: flex; align-items: flex-start;
  gap: 0.75rem; padding: 0.85rem 0.65rem 0.85rem 0.9rem;
}
.admin-save-toast-ico { flex-shrink: 0; width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; }
.admin-save-toast-ico--plain { font-size: 1.35rem; }
.admin-save-toast--danger .admin-save-toast-ico--plain { color: #ef4444; }
.admin-save-toast--warning .admin-save-toast-ico--plain { color: #f59e0b; }
.admin-save-toast-check-svg { width: 2.5rem; height: 2.5rem; display: block; }
.admin-save-toast--success .admin-save-toast-check-circle {
  stroke: #22c55e; stroke-width: 2.5;
  stroke-dasharray: 145; stroke-dashoffset: 145;
  transform-origin: 50% 50%;
  animation: netsAdminToastCircle 0.55s ease-out 0.05s forwards;
}
.admin-save-toast--success .admin-save-toast-check-path {
  stroke: #16a34a; stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 48; stroke-dashoffset: 48;
  animation: netsAdminToastCheck 0.42s ease-out 0.38s forwards;
}
@keyframes netsAdminToastCircle { to { stroke-dashoffset: 0; } }
@keyframes netsAdminToastCheck  { to { stroke-dashoffset: 0; } }
.admin-save-toast-title { font-weight: 600; font-size: 0.95rem; line-height: 1.25; margin-bottom: 0.15rem; }
.admin-save-toast-msg { font-size: 0.875rem; line-height: 1.45; color: var(--ead-muted); }
.admin-save-toast-close { flex-shrink: 0; color: #94a3b8 !important; opacity: 0.85; min-width: 2rem; margin: -0.2rem -0.1rem 0 0; }
.admin-save-toast-close:hover { color: #64748b !important; opacity: 1; }
.nets-admin-save-toast-in { animation: netsAdminToastSlideIn 0.4s cubic-bezier(0.22,1,0.36,1) both; }
.nets-admin-save-toast-out { animation: netsAdminToastSlideOut 0.28s ease forwards; }
@keyframes netsAdminToastSlideIn {
  from { opacity: 0; transform: translate3d(calc(100% + 12px), -8px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes netsAdminToastSlideOut {
  to { opacity: 0; transform: translate3d(12px, -8px, 0); }
}

/* ─────────────────────────────────────────────
   CURSO - visualizador
───────────────────────────────────────────── */
.ead-curso-header {
  background: var(--ead-surface);
  border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-xl);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--ead-shadow);
}
.ead-curso-breadcrumb {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; color: var(--ead-muted); margin-bottom: 0.75rem;
}
.ead-curso-breadcrumb a { color: var(--ead-blue); text-decoration: none; font-weight: 500; }
.ead-curso-breadcrumb a:hover { text-decoration: underline; }
.ead-curso-titulo { font-size: 1.5rem; font-weight: 800; color: var(--ead-text); margin: 0 0 0.25rem; letter-spacing: -0.025em; }
.ead-curso-subtitulo { color: var(--ead-muted); margin: 0 0 0.75rem; }
.ead-curso-meta-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; font-size: .875rem; color: var(--ead-muted); margin-bottom: .75rem; }
.ead-curso-meta-bar i { margin-right: .25rem; }
.ead-curso-progress-wrap { margin-top: .5rem; }
.ead-curso-section { margin-bottom: 1.5rem; }
.ead-curso-section .ead-lms-section-title { display: flex; align-items: center; gap: .5rem; }
.ead-curso-videos { display: flex; flex-direction: column; gap: 1.5rem; }
.ead-curso-video-item {
  background: var(--ead-surface);
  border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-lg);
  overflow: hidden;
  box-shadow: var(--ead-shadow);
}
.ead-curso-video-titulo { padding: .875rem 1.25rem .5rem; font-weight: 700; margin: 0; color: var(--ead-text); }
.ead-curso-video-wrap { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; }
.ead-curso-video-wrap iframe, .ead-curso-video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: none; display: block; }
.ead-curso-materiais-list { list-style: none; margin: 0; padding: 0; background: var(--ead-surface); border: 1px solid var(--ead-border); border-radius: var(--ead-radius-lg); overflow: hidden; }
.ead-curso-material-item { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.35rem; border-bottom: 1px solid var(--ead-border); transition: background 0.15s; }
.ead-curso-material-item:last-child { border-bottom: none; }
.ead-curso-material-item:hover { background: var(--ead-surface-2); }
.ead-curso-material-icon { font-size: 1.25rem; color: var(--ead-blue); flex-shrink: 0; }
.ead-curso-material-nome { flex: 1; font-size: .9rem; color: var(--ead-text); }
.ead-curso-descricao { padding: 1.5rem; line-height: 1.8; color: var(--ead-text); }
.ead-curso-descricao h1,.ead-curso-descricao h2,.ead-curso-descricao h3 { margin-top: 1.25rem; }
.ead-curso-descricao ul,.ead-curso-descricao ol { padding-left: 1.5rem; }
.ead-curso-descricao img { max-width: 100%; border-radius: .5rem; }
.ead-curso-actions-bar {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .75rem;
  padding: 1.25rem 1.5rem;
  background: var(--ead-surface);
  border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-lg);
  margin-top: 1.5rem;
  box-shadow: var(--ead-shadow);
}
.ead-curso-badge-tentativas { font-size: .75rem; opacity: .75; margin-left: .25rem; }

/* ─────────────────────────────────────────────
   PROVA
───────────────────────────────────────────── */
.ead-prova-header {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  justify-content: space-between; gap: 1rem;
  background: var(--ead-surface); border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-xl); padding: 1.75rem 2rem;
  margin-bottom: 1.5rem; box-shadow: var(--ead-shadow);
}
.ead-prova-info { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: .75rem 0 0; font-size: .875rem; color: var(--ead-muted); }
.ead-prova-info i { margin-right: .2rem; }
.ead-prova-timer {
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem 1.25rem;
  background: linear-gradient(135deg, var(--ead-navy), var(--ead-blue));
  color: #fff; border-radius: .875rem;
  font-size: 1.2rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0; letter-spacing: .04em;
  box-shadow: 0 4px 16px rgba(11,20,142,0.3);
}
.ead-prova-timer--urgente { background: linear-gradient(135deg, #dc2626, #ef4444); animation: timerPulse .8s ease-in-out infinite; }
@keyframes timerPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.03); } }
.ead-prova-form { display: flex; flex-direction: column; gap: 1.5rem; }
.ead-prova-questao {
  background: var(--ead-surface); border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-lg); padding: 1.75rem 2rem;
  box-shadow: var(--ead-shadow);
  scroll-margin-top: calc(var(--ead-topbar-h) + 1rem);
  transition: border-color 0.2s;
}
.ead-prova-questao:focus-within { border-color: var(--ead-blue); }
.ead-prova-questao-num { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ead-blue); margin: 0 0 .5rem; }
.ead-prova-questao-total { font-weight: 400; color: var(--ead-muted); }
.ead-prova-questao-texto { font-size: 1.05rem; font-weight: 600; color: var(--ead-text); margin: 0 0 1.35rem; line-height: 1.65; }
.ead-prova-alternativas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.ead-prova-alt {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1.1rem;
  border: 1.5px solid var(--ead-border);
  border-radius: .75rem;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
  user-select: none;
}
.ead-prova-alt:hover { border-color: var(--ead-blue); background: #eff6ff; transform: translateX(2px); }
.ead-prova-alt input[type=radio] { display: none; }
.ead-prova-alt--sel { border-color: var(--ead-blue); background: #eff6ff; }
.ead-prova-alt-letra {
  width: 2.1rem; height: 2.1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--ead-bg);
  font-weight: 700; font-size: .85rem; color: var(--ead-navy);
  flex-shrink: 0; transition: background .15s, color .15s;
}
.ead-prova-alt--sel .ead-prova-alt-letra { background: var(--ead-blue); color: #fff; }
.ead-prova-alt-texto { font-size: .925rem; line-height: 1.5; }
.ead-prova-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; padding: 1.25rem 0; border-top: 1px solid var(--ead-border); }
.ead-prova-resultado-overlay {
  position: fixed; inset: 0;
  background: rgba(5,10,60,0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
}
.ead-prova-resultado-overlay[hidden] { display: none; }
.ead-prova-resultado-modal {
  background: var(--ead-surface); border-radius: var(--ead-radius-xl);
  padding: 2.75rem 2.25rem; text-align: center;
  max-width: 460px; width: 100%;
  box-shadow: var(--ead-shadow-xl);
  animation: modalPop .35s cubic-bezier(.22,1,.36,1) both;
  border: 1px solid var(--ead-border);
}
@keyframes modalPop { from { opacity:0; transform:scale(.88) translateY(24px); } to { opacity:1; transform:scale(1) translateY(0); } }
.ead-prova-res-icon { margin-bottom: 1.1rem; }
.ead-prova-res-titulo { font-size: 1.45rem; font-weight: 800; margin: 0 0 .5rem; letter-spacing: -0.02em; }
.ead-prova-resultado--aprovado .ead-prova-res-titulo { color: #16a34a; }
.ead-prova-resultado--reprovado .ead-prova-res-titulo { color: #dc2626; }
.ead-prova-res-nota { font-size: 1.15rem; font-weight: 700; color: var(--ead-navy); margin: 0 0 .5rem; }
.ead-prova-res-msg { font-size: .9rem; color: var(--ead-muted); margin: 0 0 1.75rem; }
.ead-prova-res-bts { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ─────────────────────────────────────────────
   CERTIFICADOS
───────────────────────────────────────────── */
.ead-cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.ead-cert-card {
  background: var(--ead-surface);
  border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-xl); overflow: hidden;
  box-shadow: var(--ead-shadow); display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.ead-cert-card:hover { box-shadow: var(--ead-shadow-lg); transform: translateY(-3px); }
.ead-cert-card-top { position: relative; }
.ead-cert-capa { width: 100%; height: 160px; object-fit: cover; display: block; }
.ead-cert-capa-placeholder {
  width: 100%; height: 160px;
  background: linear-gradient(135deg, var(--ead-navy-deeper) 0%, var(--ead-navy) 50%, #1e40af 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.3); font-size: 3.5rem;
}
.ead-cert-badge-wrap { position: absolute; top: .75rem; right: .75rem; }
.ead-cert-badge-concluido {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .3rem .7rem; background: #16a34a; color: #fff;
  border-radius: 999px; font-size: .7rem; font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.ead-cert-card-body { padding: 1.25rem 1.25rem .75rem; flex: 1; }
.ead-cert-titulo { font-size: 1rem; font-weight: 700; color: var(--ead-text); margin: 0 0 .75rem; line-height: 1.4; }
.ead-cert-meta { display: grid; grid-template-columns: 1.25rem 1fr; gap: .3rem .5rem; font-size: .8125rem; color: var(--ead-muted); margin: 0; }
.ead-cert-meta dt { display: flex; align-items: center; justify-content: center; color: var(--ead-blue); }
.ead-cert-meta dd { margin: 0; align-self: center; }
.ead-cert-codigo { font-family: monospace; font-size: .75rem; letter-spacing: .04em; color: var(--ead-navy); font-weight: 700; }
.ead-cert-card-foot { padding: .875rem 1.25rem; border-top: 1px solid var(--ead-border); display: flex; gap: .625rem; }

/* ─── Responsive extra (novas páginas) ─── */
@media (max-width: 767px) {
  .ead-curso-header { padding: 1.25rem; }
  .ead-curso-actions-bar { flex-direction: column; align-items: stretch; }
  .ead-curso-actions-bar .ead-lms-btn { justify-content: center; }
  .ead-prova-header { padding: 1.25rem; }
  .ead-prova-questao { padding: 1.25rem 1rem; }
  .ead-prova-footer { flex-direction: column; }
  .ead-prova-footer .ead-lms-btn { width: 100%; justify-content: center; }
  .ead-cert-grid { grid-template-columns: 1fr; }
  .ead-cert-card-foot { flex-direction: column; }
  .ead-cert-card-foot .ead-lms-btn { justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   DARK MODE
═══════════════════════════════════════════════════ */
[data-bs-theme="dark"] {
  --ead-bg:          #0f1117;
  --ead-surface:     #1a1d27;
  --ead-surface-2:   #222534;
  --ead-border:      rgba(255,255,255,0.07);
  --ead-border-med:  rgba(255,255,255,0.13);
  --ead-text:        #f1f5f9;
  --ead-text-2:      #cbd5e1;
  --ead-muted:       #94a3b8;
  --ead-muted-light: #5a677d;
  --ead-shadow-sm:   0 1px 2px rgba(0,0,0,0.35);
  --ead-shadow:      0 1px 3px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.28);
  --ead-shadow-md:   0 4px 12px rgba(0,0,0,0.45), 0 1px 4px rgba(0,0,0,0.3);
  --ead-shadow-lg:   0 8px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.35);
  color-scheme: dark;
}
/* Sidebar escura no dark mode */
[data-bs-theme="dark"] .ead-lms-sidebar {
  background: #111318 !important;
  box-shadow: 4px 0 24px rgba(0,0,0,0.5);
}
[data-bs-theme="dark"] .ead-lms-sidebar-brand { border-color: rgba(255,255,255,0.06); }
[data-bs-theme="dark"] .ead-lms-sidebar-user  { border-color: rgba(255,255,255,0.06); }
[data-bs-theme="dark"] .ead-lms-sidebar-foot  { border-color: rgba(255,255,255,0.06); }
[data-bs-theme="dark"] .ead-lms-nav-link { color: rgba(255,255,255,0.6); }
[data-bs-theme="dark"] .ead-lms-nav-link:hover { background: rgba(255,255,255,0.07); color: #fff; }
[data-bs-theme="dark"] .ead-lms-nav-link.is-active { background: rgba(255,255,255,0.1); color: #fff; }
[data-bs-theme="dark"] .ead-lms-nav-kicker { color: rgba(255,255,255,0.25); }
[data-bs-theme="dark"] .ead-lms-sidebar-collapse { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); }
[data-bs-theme="dark"] .ead-lms-sidebar-close { color: rgba(255,255,255,0.7); }
[data-bs-theme="dark"] .ead-lms-brand-text { color: #fff; }
[data-bs-theme="dark"] .ead-lms-topbar {
  background: rgba(26,29,39,0.96);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), var(--ead-shadow-sm);
}
[data-bs-theme="dark"] .ead-lms-topbar-title { color: var(--ead-text); }
[data-bs-theme="dark"] .ead-lms-topbar-lead { color: var(--ead-muted); }
[data-bs-theme="dark"] .ead-lms-topbar-search {
  background: var(--ead-surface-2);
  border-color: var(--ead-border);
}
[data-bs-theme="dark"] .ead-lms-topbar-notif,
[data-bs-theme="dark"] .ead-lms-topbar-menu { background: var(--ead-surface-2); color: var(--ead-muted); }
[data-bs-theme="dark"] .ead-lms-topbar-notif:hover,
[data-bs-theme="dark"] .ead-lms-topbar-menu:hover { background: #2a2d3a; color: var(--ead-text); }
[data-bs-theme="dark"] .ead-lms-topbar-search input { color: var(--ead-text); }
[data-bs-theme="dark"] .ead-lms-topbar-search input::placeholder { color: var(--ead-muted-light); }
[data-bs-theme="dark"] .ead-lms-user-btn { background: var(--ead-surface-2); color: var(--ead-text); }
[data-bs-theme="dark"] .ead-lms-user-name { color: var(--ead-text); }
[data-bs-theme="dark"] .ead-lms-dropdown { background: var(--ead-surface); border-color: var(--ead-border); }
[data-bs-theme="dark"] .dropdown-item { color: var(--ead-text-2); }
[data-bs-theme="dark"] .dropdown-item:hover { background: var(--ead-surface-2); color: var(--ead-text); }
[data-bs-theme="dark"] .dropdown-divider { border-color: var(--ead-border); }
[data-bs-theme="dark"] .dropdown-item-text { color: var(--ead-muted) !important; }
[data-bs-theme="dark"] .ead-lms-course-card { background: var(--ead-surface); border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-lms-course-title { color: var(--ead-text); }
[data-bs-theme="dark"] .ead-lms-course-meta,
[data-bs-theme="dark"] .ead-lms-course-pct { color: var(--ead-muted); }
[data-bs-theme="dark"] .ead-lms-course-cover-placeholder { background: var(--ead-surface-2); }
[data-bs-theme="dark"] .ead-lms-stat { background: var(--ead-surface); border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-lms-stat-value { color: var(--ead-text); }
[data-bs-theme="dark"] .ead-lms-stat-label { color: var(--ead-muted); }
[data-bs-theme="dark"] .ead-lms-action-card { background: var(--ead-surface); border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-lms-action-card:hover { background: var(--ead-surface-2); }
[data-bs-theme="dark"] .ead-lms-action-card-title { color: var(--ead-text); }
[data-bs-theme="dark"] .ead-lms-action-card-text { color: var(--ead-muted); }
[data-bs-theme="dark"] .ead-lms-section { background: transparent; }
[data-bs-theme="dark"] .ead-lms-section-head { border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-lms-section-title { color: var(--ead-text); }
[data-bs-theme="dark"] .ead-lms-welcome-title { color: var(--ead-text); }
[data-bs-theme="dark"] .ead-lms-welcome-sub { color: var(--ead-muted); }
[data-bs-theme="dark"] .ead-lms-continue { background: var(--ead-surface); border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-lms-continue-prog-bar { background: var(--ead-surface-2); }
[data-bs-theme="dark"] .ead-notif-panel { background: var(--ead-surface); border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-notif-panel-head { border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-notif-panel-title { color: var(--ead-text); }
[data-bs-theme="dark"] .ead-notif-item { border-color: var(--ead-border); color: var(--ead-text-2); }
[data-bs-theme="dark"] .ead-notif-item--nao-lida { background: rgba(37,99,235,0.13); }
[data-bs-theme="dark"] .ead-notif-item--nao-lida:hover { background: rgba(37,99,235,0.2); }
[data-bs-theme="dark"] .ead-notif-item:not(.ead-notif-item--nao-lida):hover { background: rgba(255,255,255,0.04); }
[data-bs-theme="dark"] .ead-lms-alert--success {
  background: rgba(16,185,129,0.13);
  border-color: rgba(16,185,129,0.3);
  color: #6ee7b7;
}
[data-bs-theme="dark"] .ead-lms-alert--warning {
  background: rgba(245,158,11,0.13);
  border-color: rgba(245,158,11,0.3);
  color: #fcd34d;
}
[data-bs-theme="dark"] .ead-lms-alert--info {
  background: rgba(37,99,235,0.13);
  border-color: rgba(37,99,235,0.3);
  color: #93c5fd;
}
[data-bs-theme="dark"] .ead-lms-panel { background: var(--ead-surface); border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-curso-header { background: var(--ead-surface); border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-curso-section { background: var(--ead-surface); border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-curso-sidebar-nav { background: var(--ead-surface); border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-curso-aula-item { border-color: var(--ead-border); color: var(--ead-text-2); }
[data-bs-theme="dark"] .ead-curso-aula-item:hover { background: var(--ead-surface-2); }
[data-bs-theme="dark"] .ead-curso-aula-item--active { background: rgba(37,99,235,0.12); color: var(--ead-text); }
[data-bs-theme="dark"] .ead-curso-material-item { background: var(--ead-surface-2); border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-lms-empty { background: transparent; color: var(--ead-muted); }
[data-bs-theme="dark"] .ead-cert-card { background: var(--ead-surface); border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-prova-questao { background: var(--ead-surface); border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-prova-alt:hover { background: var(--ead-surface-2); }
[data-bs-theme="dark"] .ead-prova-alt--selected { background: rgba(37,99,235,0.13); border-color: var(--ead-blue); }
[data-bs-theme="dark"] .ead-lms-progress-bar { background: var(--ead-surface-2); }
[data-bs-theme="dark"] .ead-prog-ring-bg { stroke: var(--ead-surface-2); }
[data-bs-theme="dark"] .ead-prog-ring-pct { color: var(--ead-text); }
[data-bs-theme="dark"] .ead-rating-card { background: var(--ead-surface); border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-lms-field-readonly { background-color: var(--ead-surface-2); color: var(--ead-muted); }
[data-bs-theme="dark"] .ead-lms-perfil-block-title,
[data-bs-theme="dark"] .ead-duca-aluno-title,
[data-bs-theme="dark"] .ead-duca-float-panel-name { color: var(--ead-text); }
[data-bs-theme="dark"] .ead-duca-aluno-chip:hover { color: var(--ead-blue-light); }
[data-bs-theme="dark"] .ead-duca-float-close { color: var(--ead-muted); }
[data-bs-theme="dark"] .ead-lms-foto-preview-wrap,
[data-bs-theme="dark"] .ead-lms-foto-preview-wrap--circle {
  border-color: var(--ead-border-med);
  background: var(--ead-surface-2);
}
[data-bs-theme="dark"] .ead-lms-perfil-divider { border-color: var(--ead-border); }
[data-bs-theme="dark"] .ead-lms-back-link { color: var(--ead-muted); }
[data-bs-theme="dark"] .ead-lms-back-link:hover { color: var(--ead-blue-light); }
[data-bs-theme="dark"] .admin-save-toast {
  background: var(--ead-surface);
  border-color: var(--ead-border);
  color: var(--ead-text);
}
[data-bs-theme="dark"] .ead-lms-form .form-control,
[data-bs-theme="dark"] .ead-lms-form .form-select,
[data-bs-theme="dark"] .ead-auth-field .form-control {
  background: var(--ead-surface-2);
  border-color: var(--ead-border-med);
  color: var(--ead-text);
}
[data-bs-theme="dark"] .ead-lms-form .form-control::placeholder,
[data-bs-theme="dark"] .ead-auth-field .form-control::placeholder {
  color: var(--ead-muted-light);
}
[data-bs-theme="dark"] .ead-lms-auth-card {
  background: var(--ead-surface);
  border-color: var(--ead-border);
  color: var(--ead-text);
}
[data-bs-theme="dark"] .ead-lms-auth-card h1 { color: var(--ead-text); }
[data-bs-theme="dark"] .ead-lms-auth-lead { color: var(--ead-muted); }
[data-bs-theme="dark"] .ead-filter-tabs { background: var(--ead-surface-2); }
[data-bs-theme="dark"] .ead-filter-tab:hover { background: var(--ead-surface); }
[data-bs-theme="dark"] .ead-filter-tab:not(.is-active) .ead-filter-tab-count {
  background: rgba(255,255,255,0.08);
  color: var(--ead-muted);
}
[data-bs-theme="dark"] .text-muted { color: var(--ead-muted) !important; }
[data-bs-theme="dark"] .ead-conclusao-card {
  background: var(--ead-surface);
  border-color: var(--ead-blue-light);
  box-shadow: 0 4px 24px rgba(59,130,246,0.12);
}
[data-bs-theme="dark"] .ead-lms-btn--outline {
  border-color: rgba(147, 197, 253, 0.45);
  color: #93c5fd;
  background: transparent;
}
[data-bs-theme="dark"] .ead-lms-btn--outline:hover {
  border-color: #93c5fd;
  color: #fff;
  background: rgba(59, 130, 246, 0.2);
}
[data-bs-theme="dark"] .ead-lms-btn--ghost {
  color: var(--ead-text-2);
}
[data-bs-theme="dark"] .ead-lms-btn--ghost:hover {
  background: var(--ead-surface-2);
  color: var(--ead-text);
}
[data-bs-theme="dark"] .ead-lms-welcome-title,
[data-bs-theme="dark"] .ead-lms-section-title,
[data-bs-theme="dark"] .ead-lms-course-title,
[data-bs-theme="dark"] .ead-lms-stat-value,
[data-bs-theme="dark"] .ead-lms-action-card-title,
[data-bs-theme="dark"] .ead-lms-panel-title,
[data-bs-theme="dark"] .ead-lms-perfil-block-title,
[data-bs-theme="dark"] .ead-duca-aluno-title,
[data-bs-theme="dark"] .ead-duca-float-panel-name,
[data-bs-theme="dark"] .ead-cert-codigo,
[data-bs-theme="dark"] .ead-prova-res-nota,
[data-bs-theme="dark"] .ead-curso-sidebar-head h3,
[data-bs-theme="dark"] .ead-prog-ring-pct,
[data-bs-theme="dark"] .ead-dep-status-title,
[data-bs-theme="dark"] .ead-dep-form-title,
[data-bs-theme="dark"] .ead-dep-empty-title {
  color: var(--ead-text);
}
[data-bs-theme="dark"] .ead-lms-stat-icon--navy {
  color: #93c5fd;
  background: linear-gradient(135deg, rgba(59,130,246,0.22), rgba(37,99,235,0.12));
}
[data-bs-theme="dark"] .ead-lms-back-link:hover,
[data-bs-theme="dark"] .ead-curso-aula-item--active .ead-curso-aula-title {
  color: #93c5fd;
}
[data-bs-theme="dark"] .ead-lms-welcome-actions .ead-lms-btn--ghost {
  color: var(--ead-text-2);
  border-color: var(--ead-border-med);
}

/* ═══════════════════════════════════════════════════
   ANIMAÇÕES DE ENTRADA
═══════════════════════════════════════════════════ */
@keyframes eadFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ead-lms-welcome    { animation: eadFadeUp 0.45s ease both; }
.ead-lms-continue   { animation: eadFadeUp 0.45s 0.05s ease both; }

.ead-lms-stat:nth-child(1) { animation: eadFadeUp 0.4s 0.05s ease both; }
.ead-lms-stat:nth-child(2) { animation: eadFadeUp 0.4s 0.10s ease both; }
.ead-lms-stat:nth-child(3) { animation: eadFadeUp 0.4s 0.15s ease both; }
.ead-lms-stat:nth-child(4) { animation: eadFadeUp 0.4s 0.20s ease both; }

.ead-lms-action-card:nth-child(1) { animation: eadFadeUp 0.4s 0.08s ease both; }
.ead-lms-action-card:nth-child(2) { animation: eadFadeUp 0.4s 0.14s ease both; }
.ead-lms-action-card:nth-child(3) { animation: eadFadeUp 0.4s 0.20s ease both; }

.ead-lms-courses-grid .ead-lms-course-card:nth-child(1) { animation: eadFadeUp 0.4s 0.05s ease both; }
.ead-lms-courses-grid .ead-lms-course-card:nth-child(2) { animation: eadFadeUp 0.4s 0.10s ease both; }
.ead-lms-courses-grid .ead-lms-course-card:nth-child(3) { animation: eadFadeUp 0.4s 0.15s ease both; }
.ead-lms-courses-grid .ead-lms-course-card:nth-child(4) { animation: eadFadeUp 0.4s 0.20s ease both; }
.ead-lms-courses-grid .ead-lms-course-card:nth-child(n+5) { animation: eadFadeUp 0.4s 0.25s ease both; }

/* Respeitar preferência do usuário */
@media (prefers-reduced-motion: reduce) {
  .ead-lms-welcome, .ead-lms-continue, .ead-lms-stat,
  .ead-lms-action-card, .ead-lms-course-card { animation: none; }
}

/* ═══════════════════════════════════════════════════
   PROGRESS RING (substitui barra nos cards)
═══════════════════════════════════════════════════ */
.ead-prog-ring {
  position: relative;
  width: 52px; height: 52px;
  flex-shrink: 0;
}
.ead-prog-ring svg { transform: rotate(-90deg); display: block; }
.ead-prog-ring-bg {
  fill: none;
  stroke: var(--ead-bg);
  stroke-width: 3.5;
}
.ead-prog-ring-fill {
  fill: none;
  stroke: var(--ead-blue);
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}
.ead-lms-course-card .ead-prog-ring-fill[data-pct="100"] { stroke: var(--ead-green); }
.ead-prog-ring-pct {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.58rem; font-weight: 700;
  color: var(--ead-navy);
  line-height: 1;
}

/* ═══════════════════════════════════════════════════
   CURSO - layout com sidebar de aulas
═══════════════════════════════════════════════════ */
.ead-curso-layout {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.ead-curso-main-content { flex: 1 1 0; min-width: 0; }

.ead-curso-sidebar-nav {
  width: 280px;
  flex-shrink: 0;
  background: var(--ead-surface);
  border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-lg);
  box-shadow: var(--ead-shadow);
  position: sticky;
  top: calc(var(--ead-topbar-h) + 1rem);
  max-height: calc(100vh - var(--ead-topbar-h) - 2rem);
  overflow-y: auto;
  scrollbar-width: thin;
}
.ead-curso-sidebar-head {
  padding: 1rem 1.1rem 0.75rem;
  border-bottom: 1px solid var(--ead-border);
  position: sticky; top: 0;
  background: var(--ead-surface);
  z-index: 1;
}
.ead-curso-sidebar-head h3 {
  font-size: 0.8125rem; font-weight: 700;
  color: var(--ead-text); margin: 0 0 0.2rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.ead-curso-sidebar-prog {
  font-size: 0.72rem; color: var(--ead-muted); font-weight: 500;
}
.ead-curso-aula-item {
  display: flex; align-items: center; gap: 0.7rem;
  width: 100%; padding: 0.7rem 1.1rem;
  border: none; border-bottom: 1px solid var(--ead-border);
  background: transparent; cursor: pointer; text-align: left;
  transition: background 0.14s;
}
.ead-curso-aula-item:last-child { border-bottom: none; }
.ead-curso-aula-item:hover { background: var(--ead-bg); }
.ead-curso-aula-item--active {
  background: rgba(37,99,235,0.07);
  border-left: 3px solid var(--ead-blue);
}
.ead-curso-aula-num {
  font-size: 0.68rem; font-weight: 700;
  color: var(--ead-muted); min-width: 1.4rem;
}
.ead-curso-aula-title {
  flex: 1; font-size: 0.8rem; font-weight: 500;
  color: var(--ead-text-2); line-height: 1.35;
  white-space: normal;
}
.ead-curso-aula-item--active .ead-curso-aula-title { color: var(--ead-blue); font-weight: 600; }
.ead-curso-aula-icon { font-size: 0.85rem; color: var(--ead-muted); flex-shrink: 0; }
.ead-curso-aula-icon--done { color: var(--ead-green); }

.ead-curso-aula-item--locked {
  opacity: 0.55;
  cursor: not-allowed;
}
.ead-curso-aula-item--locked:hover { background: transparent; }
.ead-curso-aula-item--done .ead-curso-aula-title { color: var(--ead-text); }
.ead-curso-progress-hint,
.ead-curso-anti-seek-hint {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--ead-muted);
  line-height: 1.4;
}
.ead-curso-anti-seek-hint {
  padding: 0 1.25rem 0.9rem;
}
.ead-curso-player-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.ead-curso-nav-btns {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.ead-curso-video-aula-label {
  display: inline-block;
  margin-right: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ead-blue);
}
.ead-curso-video-locked-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 220px;
  padding: 2rem 1.5rem;
  background: var(--ead-surface-2, #f3f4f6);
  color: var(--ead-muted);
  font-size: 0.9rem;
  text-align: center;
}
.ead-curso-video-locked-msg--inline {
  min-height: 0;
  margin-bottom: 0.75rem;
  border-radius: var(--ead-radius-lg);
  border: 1px dashed var(--ead-border);
}
.ead-curso-materiais-list--locked {
  opacity: 0.72;
}
.ead-curso-layout--member .ead-curso-sidebar-nav {
  width: min(300px, 100%);
}
@media (max-width: 900px) {
  .ead-curso-layout--member {
    flex-direction: column;
  }
  .ead-curso-layout--member .ead-curso-sidebar-nav {
    width: 100%;
    position: static;
    max-height: none;
  }
}

/* ═══════════════════════════════════════════════════
   CARD DE CONCLUSÃO
═══════════════════════════════════════════════════ */
.ead-conclusao-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--ead-surface);
  border: 2px solid var(--ead-blue);
  border-radius: var(--ead-radius-lg);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 24px rgba(37,99,235,0.10);
}
.ead-conclusao-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.ead-conclusao-icon--concluir  { background: rgba(37,99,235,0.10); color: var(--ead-blue); }
.ead-conclusao-icon--prova     { background: rgba(16,185,129,0.12); color: var(--ead-green); }
.ead-conclusao-icon--bloqueado { background: rgba(239,68,68,0.10);  color: var(--ead-red); }
.ead-conclusao-body { flex: 1; min-width: 0; }
.ead-conclusao-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ead-text);
  margin: 0 0 .2rem;
}
.ead-conclusao-text {
  font-size: .82rem;
  color: var(--ead-muted);
  margin: 0;
}
@media (max-width: 600px) {
  .ead-conclusao-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .ead-conclusao-card .ead-lms-btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   AVALIAÇÃO / STAR RATING
═══════════════════════════════════════════════════ */
.ead-rating-card {
  background: var(--ead-surface);
  border: 1px solid var(--ead-border);
  border-radius: var(--ead-radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--ead-shadow);
  margin-top: 1.25rem;
  text-align: center;
}
.ead-rating-label {
  font-size: 0.85rem; font-weight: 600;
  color: var(--ead-text); margin: 0 0 0.75rem;
}
.ead-rating-stars {
  display: inline-flex; gap: 0.35rem;
  margin-bottom: 0.6rem;
}
.ead-rating-star {
  background: none; border: none; cursor: pointer;
  font-size: 1.6rem; color: #d1d5db;
  padding: 0.1rem; transition: color 0.12s, transform 0.12s;
  line-height: 1;
}
.ead-rating-star:hover,
.ead-rating-star.ead-rating-star--on { color: var(--ead-accent); }
.ead-rating-star:hover { transform: scale(1.15); }
.ead-rating-msg {
  font-size: 0.78rem; color: var(--ead-muted); margin: 0;
}

/* ═══════════════════════════════════════════════════
   DUCA - agente no dashboard do aluno
═══════════════════════════════════════════════════ */
.ead-duca-aluno {
  margin: 0 0 1.75rem;
}

.ead-duca-aluno-card {
  background: var(--ead-surface);
  border: 1px solid var(--ead-border, #e2e8f0);
  border-radius: 1.15rem;
  padding: 1.35rem 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 1.35rem 1.75rem;
  align-items: stretch;
}

.ead-duca-aluno-main {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.ead-duca-aluno-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ead-duca-aluno-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #ffcd00;
}

.ead-duca-aluno-kicker {
  margin: 0 0 0.12rem;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ead-muted, #64748b);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ead-duca-aluno-online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}

.ead-duca-aluno-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ead-navy, #0b148e);
  line-height: 1.25;
}

.ead-duca-aluno-meta {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--ead-muted, #64748b);
}

.ead-duca-aluno-lead {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ead-text, #1e293b);
}

.ead-duca-aluno-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.75rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.ead-duca-aluno-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ead-duca-aluno-chip {
  border: 1px solid var(--ead-border, #e2e8f0);
  background: var(--ead-surface-2);
  color: var(--ead-text-2, #334155);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ead-duca-aluno-chip:hover {
  background: var(--ead-surface);
  border-color: color-mix(in srgb, var(--ead-navy, #0b148e) 30%, var(--ead-border));
  color: var(--ead-navy, #0b148e);
}

.ead-duca-aluno-chip:disabled {
  opacity: 0.55;
  cursor: wait;
}

.ead-duca-aluno-side {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  padding-left: 1.35rem;
  border-left: 1px solid var(--ead-border, #e2e8f0);
}

.ead-duca-aluno-messages {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-height: 0;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 0.15rem;
  scrollbar-width: thin;
}

.ead-duca-aluno-messages[hidden] {
  display: none !important;
}

.ead-duca-aluno-messages:not([hidden]) {
  min-height: 120px;
}

.ead-duca-aluno-bubble {
  max-width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.45;
  white-space: pre-wrap;
}

.ead-duca-aluno-bubble--bot {
  align-self: flex-start;
  background: var(--ead-surface-2);
  color: var(--ead-text, #1e293b);
  border-bottom-left-radius: 4px;
}

.ead-duca-aluno-bubble--user {
  align-self: flex-end;
  background: var(--ead-navy, #0b148e);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ead-duca-aluno-typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 0.28rem;
  padding: 0.55rem 0.75rem;
  background: var(--ead-surface-2);
  border-radius: 12px;
}

.ead-duca-aluno-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
  animation: eadDucaAlunoDot 1s infinite ease-in-out;
}

.ead-duca-aluno-typing span:nth-child(2) { animation-delay: 0.15s; }
.ead-duca-aluno-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes eadDucaAlunoDot {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.ead-duca-aluno-composer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--ead-border, #e2e8f0);
  border-radius: 999px;
  padding: 0.28rem 0.3rem 0.28rem 0.85rem;
  background: var(--ead-surface-2);
  margin-top: auto;
}

.ead-duca-aluno-composer input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.84rem;
  font-family: inherit;
  color: var(--ead-text, #1e293b);
  padding: 0.35rem 0;
}

.ead-duca-aluno-send {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--ead-navy, #0b148e);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.ead-duca-aluno-send:hover {
  filter: brightness(1.06);
}

.ead-duca-aluno-send:disabled {
  opacity: 0.55;
  cursor: wait;
}

@media (max-width: 900px) {
  .ead-duca-aluno-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ead-duca-aluno-side {
    padding-left: 0;
    border-left: none;
    padding-top: 0.85rem;
    border-top: 1px solid var(--ead-border, #e2e8f0);
  }
}

/* Balão flutuante */
.ead-duca-float {
  position: fixed;
  right: 1.1rem;
  left: auto;
  bottom: 1.1rem;
  z-index: 1040;
}

.ead-duca-float[hidden] {
  display: none !important;
}

.ead-duca-float-fab {
  position: relative;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.ead-duca-float-fab img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 0 2px #ffcd00;
}

.ead-duca-float-fab-dot {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px var(--ead-surface);
}

.ead-duca-float-panel {
  position: absolute;
  right: 0;
  left: auto;
  bottom: calc(100% + 10px);
  width: min(300px, calc(100vw - 2rem));
  background: var(--ead-surface);
  border: 1px solid var(--ead-border, #e2e8f0);
  border-radius: 1rem;
  padding: 0.9rem 1rem 1rem;
}

.ead-duca-float-panel[hidden] {
  display: none !important;
}

.ead-duca-float-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.ead-duca-float-panel-who {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.ead-duca-float-panel-who img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.ead-duca-float-panel-name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ead-navy, #0b148e);
}

.ead-duca-float-panel-sub {
  margin: 0.1rem 0 0;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--ead-muted, #64748b);
}

.ead-duca-float-close {
  border: none;
  background: transparent;
  color: #64748b;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.ead-duca-float-msg {
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ead-text, #1e293b);
}

.ead-duca-float-dismiss {
  width: 100%;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .ead-duca-float {
    right: 0.85rem;
    left: auto;
    bottom: 0.85rem;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE - curso layout
═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .ead-curso-layout { flex-direction: column-reverse; }
  .ead-curso-sidebar-nav { width: 100%; position: static; max-height: 260px; }
}

