/* ================================================================
   TPlus Manuals – Shared Custom Styles
   Layer on top of Bootstrap 5.3
   ================================================================ */

/* ── Brand Variables ── */

:root {
  --tp-primary: #2563eb;
  --tp-primary-dark: #1d4ed8;
  --tp-primary-light: #eff6ff;
  --tp-dark: #1e293b;
  --tp-text: #1e293b;
  --tp-text-secondary: #64748b;
  --tp-border: #e2e8f0;
  --tp-bg: #f8fafc;
  --tp-warning: #f59e0b;
  --tp-success: #10b981;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--tp-bg);
  color: var(--tp-text);
  -webkit-font-smoothing: antialiased;
}

/* ── Company Navbar (matches timetableplus.com) ── */

.navbar-company {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,.08), 0 2px 8px rgba(222,94,9,.06);
  z-index: 10000;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  padding: 0;
  border: none;
}

.navbar-company.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.navbar-company.nav-visible {
  transform: translateY(0);
  opacity: 1;
}

.navbar-company:hover {
  box-shadow: 0 6px 25px rgba(0,0,0,.1), 0 3px 12px rgba(222,94,9,.08);
}

.navbar-company .nav-container {
  width: 100%;
  max-width: 100%;
  padding: .85rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-company .logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all .3s ease;
}

.navbar-company .logo a:hover { transform: scale(1.05); }

.navbar-company .logo-image {
  height: 45px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.1));
  transition: all .3s ease;
}

.navbar-company .logo-image:hover {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
}

/* Desktop Nav Menu */
.navbar-company .nav-menu {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-company .nav-link {
  text-decoration: none;
  color: var(--tp-text);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .3px;
  position: relative;
  transition: all .3s ease;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: none;
  padding: 0;
  border-radius: 0;
}

.navbar-company .nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #de5e09, #8B4513);
  border-radius: 2px;
  transition: all .3s ease;
}

.navbar-company .nav-link:hover,
.navbar-company .nav-link.active {
  color: #de5e09;
  background: none;
}

.navbar-company .nav-link:hover::after,
.navbar-company .nav-link.active::after {
  width: 100%;
}

/* Dropdown Arrow SVG */
.navbar-company .dropdown-arrow {
  transition: transform .3s ease;
  margin-top: 2px;
}

.navbar-company .nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.navbar-company .nav-dropdown {
  position: relative;
}

.navbar-company .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: .5rem 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 1000;
  margin-top: .5rem;
  border: none;
  display: block;
}

.navbar-company .nav-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navbar-company .dropdown-item {
  display: block;
  padding: .75rem 1.25rem;
  color: var(--tp-text);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s ease;
  white-space: nowrap;
}

.navbar-company .dropdown-item:hover {
  background: rgba(222,94,9,.08);
  color: #de5e09;
  padding-left: 1.5rem;
}

/* Login Button */
.navbar-company .login-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.5rem;
  background: #de5e09;
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: all .3s ease;
  white-space: nowrap;
  margin-left: .5rem;
}

.navbar-company .login-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
  color: #fff;
}

/* Right group: role dropdown + search + login inside navbar */
.navbar-right-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.navbar-right-group .search-wrapper {
  margin: 0;
}

/* Mobile Menu Button */
.navbar-company .mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  transition: all .3s ease;
  margin-left: auto;
}

.navbar-company .mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  color: var(--tp-text);
  transition: all .3s ease;
}

.navbar-company .mobile-menu-btn:hover svg {
  color: #de5e09;
  transform: scale(1.1);
}

/* Body padding for fixed navbar */
body { padding-top: 72px; }

/* ── Mobile Drawer ── */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 280px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,.12);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
  min-height: 60px;
}

.mobile-drawer-login {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  background: #de5e09;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  padding: .5rem 1.5rem;
  border-radius: 9999px;
  transition: all .3s ease;
}

.mobile-drawer-login:hover { opacity: .9; color: #fff; }

.mobile-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--tp-text);
  transition: all .3s ease;
}

.mobile-drawer-close:hover {
  background: rgba(0,0,0,.06);
  color: #de5e09;
}

.mobile-drawer-nav { padding: .5rem 0; flex: 1; overflow-y: auto; }

.mobile-menu-link {
  display: flex;
  align-items: center;
  padding: .875rem 1.5rem;
  text-decoration: none;
  color: var(--tp-text);
  font-weight: 600;
  font-size: 1rem;
  transition: all .3s ease;
  border-bottom: 1px solid rgba(0,0,0,.05);
  min-height: 48px;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  background: rgba(222,94,9,.08);
  color: #de5e09;
  padding-left: 2rem;
}

.mobile-dropdown {
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.mobile-dropdown-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1.5rem;
  background: none;
  border: none;
  color: var(--tp-text);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: all .3s ease;
  min-height: 48px;
}

.mobile-dropdown-btn:hover {
  background: rgba(222,94,9,.08);
  color: #de5e09;
}

.mobile-dropdown-arrow { transition: transform .3s ease; flex-shrink: 0; }

.mobile-dropdown.active .mobile-dropdown-arrow { transform: rotate(180deg); }

.mobile-dropdown-content {
  display: none;
  padding: 0;
  background: rgba(0,0,0,.02);
}

.mobile-dropdown.active .mobile-dropdown-content { display: block; }

.mobile-dropdown-item {
  display: block;
  padding: .75rem 1.5rem .75rem 2.5rem;
  color: var(--tp-text-secondary);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s ease;
}

.mobile-dropdown-item:hover {
  background: rgba(222,94,9,.08);
  color: #de5e09;
  padding-left: 3rem;
}

/* ── Desktop / Mobile breakpoint ── */
@media (max-width: 991.98px) {
  .navbar-company .nav-menu { display: none; }
  .navbar-company .login-btn { display: none; }
  .navbar-right-group { display: none; }
  .navbar-company .mobile-menu-btn { display: block; }
  .mobile-menu { display: flex; }
  .navbar-company .nav-container { padding: .85rem 1.5rem; }
}

/* ── Manual-specific: chapter nav below company navbar ── */
.navbar-manual {
  background: #fff;
  border-bottom: 1px solid var(--tp-border);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  position: sticky;
  top: 72px;
  z-index: 9990;
  transition: top .3s cubic-bezier(.4,0,.2,1);
}

/* Snap manual nav to top when company nav hides */
.navbar-company.nav-hidden ~ .navbar-manual,
.navbar-company.nav-hidden ~ * ~ .navbar-manual {
  top: 0;
}

.navbar-manual .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--tp-text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all .2s ease;
}

.navbar-manual .nav-link:hover,
.navbar-manual .nav-link.active {
  background: var(--tp-primary-light);
  color: var(--tp-primary);
}

.navbar-manual .nav-link.active { font-weight: 600; }

.navbar-manual .navbar-brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--tp-dark);
}

.navbar-manual .navbar-brand:hover { color: var(--tp-primary); }

.navbar-manual .navbar-toggler {
  border: 1.5px solid #94a3b8 !important;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0 1px 2px rgba(15,23,42,.06);
}

.navbar-manual .navbar-toggler-icon {
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231e293b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .navbar-manual .navbar-collapse {
    background: #fff;
    border: 1px solid var(--tp-border);
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .navbar-manual { top: 0; position: sticky; }
}

/* ── Operation Dropdown Button ── */

.operation-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.operation-dropdown-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: #f1f5f9;
  border: 1.5px solid #94a3b8;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tp-text);
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 1px 2px rgba(15,23,42,.06);
}

.operation-dropdown-btn:hover {
  border-color: var(--tp-primary);
  background: #fff;
}

.operation-dropdown-btn.active {
  border-color: var(--tp-primary);
  background: #fff;
  box-shadow: 0 0 0 .2rem rgba(37,99,235,.18);
}

.operation-dropdown-btn .dropdown-chevron {
  font-size: 12px;
  transition: transform .2s ease;
}

.operation-dropdown-btn.active .dropdown-chevron {
  transform: rotate(180deg);
}

.operation-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  min-width: 260px;
  padding: 6px 0;
  z-index: 100;
  display: none;
}

.operation-dropdown-menu.show {
  display: block;
}

.operation-item {
  display: block;
  padding: 10px 18px;
  color: var(--tp-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s ease;
}

.operation-item:hover {
  background: var(--tp-primary-light);
  color: var(--tp-primary);
  padding-left: 22px;
}

/* ── eCampus Role Select ── */

.utility-role-select {
  border: 1.5px solid #94a3b8;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tp-text);
  background: #f1f5f9;
  width: 260px;
  max-width: 260px;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 1px 2px rgba(15,23,42,.06);
}

.utility-role-select:hover { border-color: #cbd5e1; }

.utility-role-select:focus {
  border-color: var(--tp-primary);
  box-shadow: 0 0 0 .2rem rgba(37,99,235,.18);
  color: var(--tp-text);
  background: #fff;
}

/* ── eCampus Toolbar (chapter pages) ── */

.ecampus-toolbar {
  background: var(--tp-bg);
  border-bottom: 1px solid var(--tp-border);
  padding: 6px 0;
  position: sticky;
  top: 72px;
  z-index: 1019;
  transition: top .3s ease;
}
.navbar-company.nav-hidden ~ .ecampus-toolbar {
  top: 0;
}
.toolbar-home {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--tp-muted);
  transition: color .2s;
}
.toolbar-home:hover { color: var(--tp-primary); }

@media (max-width: 991.98px) {
  .utility-role-select { width: auto; max-width: 180px; font-size: 13px; }
  .ecampus-toolbar .container { flex-wrap: wrap; }
}

/* ── Product Switcher ── */

.product-switcher {
  border: 1.5px solid #94a3b8;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tp-text);
  background: #f1f5f9;
  min-width: 240px;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 1px 2px rgba(15,23,42,.06);
}

.product-switcher:hover {
  border-color: #cbd5e1;
}

.product-switcher:focus {
  border-color: var(--tp-primary);
  box-shadow: 0 0 0 .2rem rgba(37,99,235,.18);
  color: var(--tp-text);
  background: #fff;
}

.product-switcher option {
  background: #fff;
  color: var(--tp-text);
  padding: 8px;
}

/* ── Hero (Light gradient) ── */

.hero-section {
  background: linear-gradient(
    180deg,
    rgba(37,99,235,.08),
    rgba(248,250,252,1)
  );
}

.hero-card {
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 16px;
  padding: 48px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.hero-card h1 {
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 800;
  color: var(--tp-text);
}

.hero-card .text-secondary {
  color: var(--tp-text-secondary) !important;
}

/* ── Hero Workflow ── */

.hero-workflow {
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(37,99,235,.03), rgba(99,102,241,.06));
  border: 1px solid rgba(37,99,235,.12);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.hero-workflow::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(37,99,235,.06) 0%, transparent 70%);
  animation: workflowGlow 4s ease-in-out infinite alternate;
}

@keyframes workflowGlow {
  0% { transform: translate(0, 0); opacity: 0.5; }
  100% { transform: translate(-20%, 20%); opacity: 1; }
}

.hero-workflow-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--tp-primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
  position: relative;
}

.hero-workflow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
}

.hero-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  opacity: 0;
  transform: translateY(12px);
  animation: stepFadeIn .5s ease forwards;
  animation-delay: calc(var(--step-delay) * .12s);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 10px;
  transition: all .25s ease;
}

.hero-step:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

.hero-step:hover .hero-step-icon {
  background: linear-gradient(135deg, #2563eb, #6366f1);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37,99,235,.35);
  transform: scale(1.1);
}

.hero-step:hover span {
  color: var(--tp-primary);
}

@keyframes stepFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #e0e7ff);
  color: var(--tp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all .3s ease;
  box-shadow: 0 2px 8px rgba(37,99,235,.08);
  position: relative;
}

.hero-step span {
  font-size: 13px;
  font-weight: 500;
  color: var(--tp-text);
  transition: color .25s ease;
}

.hero-step-connector {
  display: flex;
  align-items: flex-start;
  margin: 0 2px;
  padding-top: 18px;
  opacity: 0;
  animation: stepFadeIn .4s ease forwards;
  animation-delay: .5s;
  color: var(--tp-primary);
  font-size: 14px;
}

.hero-visual {
  border-radius: 16px;
  border: 1px solid var(--tp-border);
  background: linear-gradient(135deg, rgba(37,99,235,.04), rgba(59,130,246,.06));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hero-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--tp-border);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.hero-visual .panel {
  padding: 24px 28px;
  border-top: 1px solid var(--tp-border);
  background: rgba(255,255,255,.6);
}

.hero-visual .panel .fw-bold {
  color: var(--tp-text);
}

.hero-visual .panel .text-secondary {
  color: var(--tp-text-secondary) !important;
}

/* ── Panel List ── */

.panel-list {
  margin: 0;
  padding-left: 18px;
  color: var(--tp-text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.panel-list li {
  margin-bottom: 6px;
}

.panel-list li:last-child {
  margin-bottom: 0;
}

/* ── Badge (TPlus) ── */

.badge-tp {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--tp-primary-light);
  border: 1px solid rgba(37,99,235,.15);
  color: var(--tp-primary);
  display: inline-block;
}

/* ── Coming Soon ── */

.coming-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.25);
  color: #b45309;
}

/* ── Buttons (TPlus) ── */

.btn-tp {
  background: var(--tp-primary);
  border: 1px solid var(--tp-primary);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 14px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  display: inline-block;
  text-decoration: none;
}

.btn-tp:hover {
  background: var(--tp-primary-dark);
  border-color: var(--tp-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
}

.btn-tp-outline {
  background: #fff;
  border: 1px solid var(--tp-border);
  color: var(--tp-text);
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 14px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  display: inline-block;
  text-decoration: none;
}

.btn-tp-outline:hover {
  background: var(--tp-primary-light);
  border-color: var(--tp-primary);
  color: var(--tp-primary);
  transform: translateY(-2px);
}

.btn-tp.btn-disabled,
.btn-disabled {
  pointer-events: none;
  opacity: .65;
  filter: grayscale(10%);
  cursor: not-allowed;
}

/* ── Section Dividers ── */

.section-divider {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tp-text-secondary);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--tp-border);
  margin: 48px 0 28px;
}

/* ── Screenshots / Figures ── */

.content-section figure img,
.main-content > figure img {
  box-shadow: 0 4px 16px rgba(0,0,0,.10);
}

.content-section figure,
.main-content figure {
  margin-top: 1.5rem !important;
  margin-bottom: 2rem !important;
}

/* ── Content Sections ── */

.content-section {
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 12px;
  padding: 36px 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.content-section .card {
  border: 1px solid var(--tp-border);
  border-radius: 10px;
  transition: all .2s ease;
}

.content-section .card .card-body {
  display: flex;
  flex-direction: column;
  min-height: 120px;
}

.content-section .card:hover {
  border-color: var(--tp-primary);
  box-shadow: 0 4px 12px rgba(37,99,235,.10);
}

.content-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--tp-text);
  letter-spacing: -.02em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-bar {
  width: 5px;
  height: 28px;
  background: var(--tp-primary);
  border-radius: 3px;
  flex-shrink: 0;
}

.content-section p {
  color: var(--tp-text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

/* ── Workflow Visualization ── */

.workflow-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
}

.wf-step {
  background: var(--tp-primary-light);
  border: 1px solid rgba(37,99,235,.15);
  border-radius: 10px;
  padding: 14px 20px;
  text-align: center;
  transition: all .25s ease;
  flex-shrink: 0;
}

.wf-step .wf-num {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--tp-primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}

.wf-step .wf-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-text);
  white-space: nowrap;
}

.wf-step:hover {
  background: var(--tp-primary);
  border-color: var(--tp-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(37,99,235,.3);
}

.wf-step:hover .wf-num,
.wf-step:hover .wf-label {
  color: #fff;
}

.wf-arrow {
  color: var(--tp-primary);
  font-size: 16px;
  flex-shrink: 0;
}

/* ── User / Role Cards ── */

.role-card {
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  height: 100%;
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border-color: #cbd5e1;
}

.role-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.role-icon.admin {
  background: rgba(16,185,129,.1);
  color: #059669;
  border: 1px solid rgba(16,185,129,.2);
}

.role-icon.officer {
  background: rgba(37,99,235,.1);
  color: #1d4ed8;
  border: 1px solid rgba(37,99,235,.2);
}

.role-icon.staff {
  background: rgba(168,85,247,.1);
  color: #7e22ce;
  border: 1px solid rgba(168,85,247,.2);
}

.role-card h5 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.role-card p {
  font-size: 14px;
  color: var(--tp-text-secondary);
  line-height: 1.6;
}

.role-task {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 5px;
  background: #f1f5f9;
  color: var(--tp-text-secondary);
  margin: 3px 2px;
}

/* ── Quick Access Cards ── */

.quick-card {
  background: #fff;
  border: 1px solid var(--tp-border);
  border-left: 4px solid var(--tp-primary);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37,99,235,.12);
  border-color: var(--tp-primary);
  border-left-color: var(--tp-primary);
  color: inherit;
}

.quick-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tp-primary-light);
  border: 1px solid rgba(37,99,235,.15);
  color: var(--tp-primary);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 16px;
}

.quick-card h4,
.quick-card h5 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.quick-card p {
  color: var(--tp-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

.quick-card .card-link {
  margin-top: 16px;
  color: var(--tp-primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quick-card:hover .card-link {
  color: var(--tp-primary-dark);
}

/* ── Note / Tip boxes ── */

.note-box {
  background: #fffbeb;
  border-left: 4px solid var(--tp-warning);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--tp-text);
  line-height: 1.7;
}

.note-box strong {
  color: #92400e;
}

.tip-box {
  background: var(--tp-primary-light);
  border-left: 4px solid var(--tp-primary);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--tp-text);
  line-height: 1.7;
}

/* ── Steps Box ── */

.steps-box {
  background: var(--tp-primary-light);
  border: 1px solid rgba(37,99,235,.12);
  border-radius: 10px;
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}

.steps-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--tp-primary);
}

.steps-box li {
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--tp-text);
  line-height: 1.7;
}

.steps-box li:last-child {
  margin-bottom: 0;
}

/* ── Anchor Nav ── */

.anchor-nav .anchor-link {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--tp-border);
  background: #fff;
  color: var(--tp-text-secondary);
  text-decoration: none;
  transition: all .2s ease;
  display: inline-block;
}

.anchor-nav .anchor-link:hover {
  background: var(--tp-primary);
  border-color: var(--tp-primary);
  color: #fff;
}

/* ── Status Badges ── */

.status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.status-badge i {
  font-size: 10px;
}

.status-badge.ready {
  background: rgba(16,185,129,.1);
  color: #059669;
  border: 1px solid rgba(16,185,129,.25);
}

.status-badge.in-progress {
  background: rgba(245,158,11,.1);
  color: #b45309;
  border: 1px solid rgba(245,158,11,.25);
}

.status-badge.coming-soon {
  background: #f1f5f9;
  color: var(--tp-text-secondary);
  border: 1px solid var(--tp-border);
}

/* ── Back to Top Button ── */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tp-primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--tp-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37,99,235,.4);
}

/* ── Chapter Navigation (Prev / Next) ── */

.chapter-nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--tp-border);
}

.chapter-nav-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  border: 1px solid var(--tp-border);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  min-width: 0;
  flex: 1;
  max-width: 48%;
}

.chapter-nav-btn:hover {
  border-color: var(--tp-primary);
  background: var(--tp-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,99,235,.12);
  color: inherit;
}

.chapter-nav-btn .nav-direction {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tp-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chapter-nav-btn .nav-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--tp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chapter-nav-btn.next {
  text-align: right;
  margin-left: auto;
}

.chapter-nav-btn.next .nav-direction {
  justify-content: flex-end;
}

@media (max-width: 575.98px) {
  .chapter-nav {
    flex-direction: column;
  }

  .chapter-nav-btn {
    max-width: 100%;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

/* ── Additional Resources Strip ── */

.resources-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 10px 0 46px;
}

.resource-item {
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--tp-text);
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.resource-item i {
  font-size: 18px;
  color: var(--tp-primary);
}

.resource-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15,23,42,.10);
  border-color: rgba(37,99,235,.35);
  color: var(--tp-text);
}

/* ── Footer ── */

.footer-tplus {
  padding: 36px 0 28px;
  font-size: 14px;
  color: var(--tp-text-secondary);
  border-top: 1px solid var(--tp-border);
  background: var(--tp-bg);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--tp-text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--tp-primary);
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: var(--tp-text-secondary);
}

/* ── Responsive ── */

@media (max-width: 991.98px) {
  .hero-card {
    padding: 36px 28px;
  }

  .hero-card h1 {
    font-size: 36px;
  }

  .product-switcher {
    min-width: 200px;
  }

  .hero-search {
    margin-top: 36px;
  }
}

@media (max-width: 767.98px) {
  .hero-card {
    padding: 28px 24px;
  }

  .hero-card h1 {
    font-size: 30px;
  }

  .hero-search {
    margin-top: 28px;
  }

  .content-section {
    padding: 28px 20px;
  }

  .workflow-container {
    gap: 6px;
  }

  .wf-step {
    padding: 10px 14px;
  }

  .wf-step .wf-label {
    font-size: 12px;
  }

  .product-switcher {
    min-width: 170px;
  }

  .resources-strip {
    grid-template-columns: 1fr;
  }
}

/* ── Sidebar Layout (for sub-pages) ── */

.sidebar-tplus {
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.sidebar-tplus:hover {
  scrollbar-color: rgba(0,0,0,.15) transparent;
}

.sidebar-tplus::-webkit-scrollbar {
  width: 4px;
}

.sidebar-tplus::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-tplus::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 4px;
}

.sidebar-tplus:hover::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.15);
}

.sidebar-tplus h6 {
  font-size: 11px;
  font-weight: 700;
  color: var(--tp-text-secondary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--tp-border);
}

.sidebar-tplus a {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tp-text-secondary);
  text-decoration: none;
  margin-bottom: 2px;
  border-left: 3px solid transparent;
  transition: all .2s ease;
}

.sidebar-tplus a:hover,
.sidebar-tplus a.active {
  border-left-color: var(--tp-primary);
  color: var(--tp-primary);
  background: var(--tp-primary-light);
  padding-left: 18px;
}

.sidebar-tplus a.active {
  font-weight: 600;
}

.sidebar-tplus a.sidebar-current {
  font-weight: 600;
  color: var(--tp-primary);
  background: var(--tp-primary-light);
  border-left-color: var(--tp-primary);
  pointer-events: none;
  cursor: default;
}

/* Step-by-Step Guide section */
.sidebar-tplus .sidebar-chapters {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-tplus .sidebar-chapters a {
  color: var(--tp-text-secondary);
  border-left: none;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 0;
  transition: all .15s;
}

.sidebar-tplus .sidebar-chapters a:hover {
  color: var(--tp-primary);
  background: var(--tp-primary-light);
  padding-left: 10px;
}

.sidebar-tplus .sidebar-chapters a.sidebar-current {
  color: var(--tp-primary);
  background: var(--tp-primary-light);
  font-weight: 600;
  border-left: none;
}

.main-content {
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

@media (max-width: 991.98px) {
  .sidebar-tplus {
    position: static;
  }

  .main-content {
    padding: 32px 24px;
  }
}
/* ── Product Switcher overrides for form-select ── */

.product-switcher.form-select {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-color: #f1f5f9 !important;
  border: 1.5px solid #94a3b8 !important;
  border-radius: 8px !important;
  padding-right: 2.5rem !important;
  min-height: 42px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%231e293b' d='M3.2 5.8a.75.75 0 0 1 1.06 0L8 9.54l3.74-3.74a.75.75 0 1 1 1.06 1.06l-4.27 4.27a.75.75 0 0 1-1.06 0L3.2 6.86a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right .9rem center !important;
  background-size: 16px 16px !important;
}

.product-switcher.form-select:focus {
  background-color: #fff !important;
}

/* ── Search ── */

.search-wrapper {
  position: relative;
}

.search-input {
  border: 1.5px solid #94a3b8;
  border-radius: 8px;
  padding: 8px 14px 8px 36px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tp-text);
  background: #f1f5f9;
  width: 220px;
  transition: all .2s;
  box-shadow: 0 1px 2px rgba(15,23,42,.06);
}

.search-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.search-input:focus {
  outline: none;
  border-color: var(--tp-primary);
  box-shadow: 0 0 0 .2rem rgba(37,99,235,.18);
  background: #fff;
  width: 280px;
}

.search-input:focus + .search-kbd {
  display: none;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}

.search-kbd {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 4px;
  padding: 1px 6px;
  pointer-events: none;
  line-height: 1.4;
}

/* ── Search Dropdown Results ── */

.search-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  width: 420px;
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(15,23,42,.15);
  z-index: 9999;
  display: none;
  padding: 6px;
}

.search-dropdown.active {
  display: block;
}

.search-result-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}

.search-result-item:hover {
  background: var(--tp-primary-light);
  color: inherit;
}

.search-result-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-text);
}

.search-result-item:hover .search-result-title {
  color: var(--tp-primary);
}

.search-result-meta {
  font-size: 12px;
  color: var(--tp-text-secondary);
  line-height: 1.4;
}

.search-result-meta mark {
  background: #fef08a;
  color: inherit;
  border-radius: 2px;
  padding: 0 2px;
}

.search-no-results {
  padding: 20px 14px;
  text-align: center;
  color: var(--tp-text-secondary);
  font-size: 13px;
}

@media (max-width: 767.98px) {
  .search-input {
    width: 160px;
  }

  .search-input:focus {
    width: 200px;
  }

  .search-kbd {
    display: none;
  }

  .search-dropdown {
    width: 300px;
  }
}

/* ── Image Lightbox (Click to Zoom) ── */

.content-section img.img-fluid,
.main-content img.img-fluid {
  cursor: zoom-in;
  transition: opacity .2s ease;
}

.content-section img.img-fluid:hover,
.main-content img.img-fluid:hover {
  opacity: .85;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  padding: 40px;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  transform: scale(.95);
  transition: transform .25s ease;
}

.lightbox-overlay.active img {
  transform: scale(1);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 10001;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,.3);
}

/* ================================================================
   eCampus Manual – Bright Cyan Theme Overrides
   Applied via <body class="manual-ecampus">
   ================================================================ */

body.manual-ecampus {
  --tp-primary: #06b6d4;
  --tp-primary-dark: #0891b2;
  --tp-primary-light: #ecfeff;
}

/* Hero gradient */
body.manual-ecampus .hero-section {
  background: linear-gradient(180deg, rgba(6,182,212,.08), rgba(248,250,252,1));
}

/* Hero workflow */
body.manual-ecampus .hero-workflow {
  background: linear-gradient(135deg, rgba(6,182,212,.03), rgba(34,211,238,.06));
  border-color: rgba(6,182,212,.12);
}

body.manual-ecampus .hero-workflow::before {
  background: radial-gradient(circle, rgba(6,182,212,.06) 0%, transparent 70%);
}

/* Hero step icons */
body.manual-ecampus .hero-step-icon {
  background: linear-gradient(135deg, #ecfeff, #cffafe);
  box-shadow: 0 2px 8px rgba(6,182,212,.08);
}

body.manual-ecampus .hero-step:hover .hero-step-icon {
  background: linear-gradient(135deg, #06b6d4, #22d3ee);
  box-shadow: 0 8px 20px rgba(6,182,212,.35);
}

/* Hero visual */
body.manual-ecampus .hero-visual {
  background: linear-gradient(135deg, rgba(6,182,212,.04), rgba(34,211,238,.06));
}
body.manual-ecampus .hero-visual img {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 12px;
  object-fit: cover;
  max-height: 260px;
  width: 100%;
}

/* Badges */
body.manual-ecampus .badge-tp {
  border-color: rgba(6,182,212,.15);
}

/* Buttons */
body.manual-ecampus .btn-tp:hover {
  box-shadow: 0 4px 16px rgba(6,182,212,.3);
}

/* Operation dropdown */
body.manual-ecampus .operation-dropdown-btn:hover,
body.manual-ecampus .operation-dropdown-btn.active {
  border-color: var(--tp-primary);
}

body.manual-ecampus .operation-dropdown-btn.active {
  box-shadow: 0 0 0 .2rem rgba(6,182,212,.18);
}

body.manual-ecampus .operation-item:hover {
  background: var(--tp-primary-light);
  color: var(--tp-primary);
}

/* Quick cards */
body.manual-ecampus .quick-card:hover {
  box-shadow: 0 8px 24px rgba(6,182,212,.12);
}

body.manual-ecampus .quick-card .card-icon {
  border-color: rgba(6,182,212,.15);
}

/* Workflow steps */
body.manual-ecampus .wf-step {
  border-color: rgba(6,182,212,.15);
}

body.manual-ecampus .wf-step:hover {
  box-shadow: 0 6px 16px rgba(6,182,212,.3);
}

/* Hero search – full width inside hero-visual */
.hero-search {
  margin-top: 48px;
}
.hero-search .search-input {
  width: 100%;
}

.hero-search .search-input:focus {
  width: 100%;
}

/* Search focus */
body.manual-ecampus .search-input:focus {
  box-shadow: 0 0 0 .2rem rgba(6,182,212,.18);
}

body.manual-ecampus .product-switcher:focus {
  box-shadow: 0 0 0 .2rem rgba(6,182,212,.18);
}

/* Steps box */
body.manual-ecampus .steps-box {
  border-color: rgba(6,182,212,.12);
}

/* Back to top */
body.manual-ecampus .back-to-top {
  box-shadow: 0 4px 12px rgba(6,182,212,.3);
}

body.manual-ecampus .back-to-top:hover {
  box-shadow: 0 6px 20px rgba(6,182,212,.4);
}

/* Chapter nav */
body.manual-ecampus .chapter-nav-btn:hover {
  box-shadow: 0 4px 12px rgba(6,182,212,.12);
}

/* Content section cards */
body.manual-ecampus .content-section .card:hover {
  box-shadow: 0 4px 12px rgba(6,182,212,.10);
}

/* Resource items */
body.manual-ecampus .resource-item:hover {
  border-color: rgba(13,148,136,.35);
}

/* Sidebar position for eCampus chapter pages (below sticky toolbar) */
body.manual-ecampus .sidebar-tplus {
  top: 132px;
  max-height: calc(100vh - 152px);
  transition: top .3s ease;
}
body.manual-ecampus.nav-scrolled .sidebar-tplus {
  top: 60px;
  max-height: calc(100vh - 80px);
}
