/* ── Ocultar header nativo de Odoo en elearning.edu360.com.do ── */
#top, header#top, .o_main_navbar, .o_header_hide_on_scroll,
.o_top_fixed_element, .website_header_effect {
  display: none !important;
}
#wrapwrap { padding-top: 0 !important; margin-top: 0 !important; }
#wrapwrap > main { padding-top: 0 !important; }

/* ── EDU360 eLearning Topbar ── */
.el-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #0b1827 0%, #162840 100%);
  padding: 0 32px;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
.el-navbar * { box-sizing: border-box; }

/* Brand */
.el-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.el-brand-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #00a8ff, #0060c0);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,168,255,.45);
  flex-shrink: 0;
}
.el-brand-icon svg { width: 21px; height: 21px; fill: #fff; }
.el-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.el-brand-text strong { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: -.2px; }
.el-brand-text span { color: rgba(255,255,255,.4); font-size: 11px; font-weight: 400; }

/* Nav links */
.el-nav { display: flex; align-items: center; gap: 2px; }
.el-nav a {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.6); font-size: 13.5px; font-weight: 500;
  text-decoration: none; padding: 7px 14px; border-radius: 9px;
  transition: background .18s, color .18s;
}
.el-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.el-nav a.el-active { background: rgba(0,168,255,.14); color: #00a8ff; }
.el-nav a svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }

/* Right */
.el-right { display: flex; align-items: center; gap: 10px; }

/* User badge */
.el-user-badge {
  display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px; padding: 5px 12px 5px 5px;
  cursor: pointer;
  transition: background .18s, border-color .18s;
  position: relative;
  user-select: none;
}
.el-user-badge:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.el-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #00a8ff, #00d191);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.el-avatar svg { width: 16px; height: 16px; fill: #fff; }
.el-username {
  color: #fff; font-size: 13px; font-weight: 500;
  max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.el-chevron { color: rgba(255,255,255,.4); transition: transform .2s; }
.el-chevron svg { width: 14px; height: 14px; fill: currentColor; display: block; }
.el-user-badge.open .el-chevron { transform: rotate(180deg); }

/* Dropdown */
.el-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: #192b40;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 7px;
  min-width: 200px;
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
  display: none; z-index: 10000;
  animation: elDrop .15s ease;
}
@keyframes elDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.el-user-badge.open .el-dropdown { display: block; }
.el-dropdown-header {
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 5px;
}
.el-dropdown-header .el-dname { color: #fff; font-size: 13.5px; font-weight: 600; }
.el-dropdown-header .el-demail { color: rgba(255,255,255,.38); font-size: 11.5px; margin-top: 2px; }
.el-dropdown a {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.72); font-size: 13.5px;
  text-decoration: none; padding: 9px 12px; border-radius: 9px;
  transition: background .15s, color .15s;
}
.el-dropdown a:hover { background: rgba(255,255,255,.08); color: #fff; }
.el-dropdown a svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.el-dropdown-sep { height: 1px; background: rgba(255,255,255,.08); margin: 5px 0; }
.el-dropdown a.el-logout { color: rgba(255,110,110,.85); }
.el-dropdown a.el-logout:hover { background: rgba(231,76,60,.15); color: #ff7070; }

@media (max-width: 640px) {
  .el-nav { display: none; }
  .el-navbar { padding: 0 16px; }
  .el-username { max-width: 90px; }
}
