/* SharkTrend UX System — camada visual compartilhada */
:root {
  --shark-blue: #2f8cff;
  --shark-blue-bright: #58a8ff;
  --shark-cyan: #24d5e8;
  --shark-navy-950: #050c14;
  --shark-navy-900: #07111c;
  --shark-navy-850: #0a1724;
  --shark-navy-800: #0e1d2c;
  --shark-navy-750: #132536;
  --shark-line: rgba(139, 184, 224, .15);
  --shark-line-strong: rgba(88, 168, 255, .28);
  --shark-copy: #e8f2fb;
  --shark-copy-soft: #a6bbce;
  --shark-copy-muted: #7890a6;
  --shark-radius-sm: 10px;
  --shark-radius: 14px;
  --shark-radius-lg: 20px;
  --shark-shadow: 0 18px 55px rgba(0, 0, 0, .2);
  --shark-shadow-lg: 0 32px 90px rgba(0, 0, 0, .34);
}

html { color-scheme: dark; scroll-behavior: smooth; }
body.shark-app {
  background:
    radial-gradient(circle at 78% -12%, rgba(47, 140, 255, .16), transparent 34%),
    radial-gradient(circle at 18% 105%, rgba(36, 213, 232, .055), transparent 30%),
    var(--shark-navy-950) !important;
  color: var(--shark-copy);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.shark-app::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0, transparent 0, rgba(3, 9, 15, .12) 58%, rgba(3, 9, 15, .5) 100%);
}
::selection { color: #fff; background: rgba(47, 140, 255, .55); }

body.shark-app,
body.shark-app * {
  scrollbar-width: thin;
  scrollbar-color: rgba(67, 151, 239, .62) transparent;
}
body.shark-app *::-webkit-scrollbar { width: 9px; height: 9px; }
body.shark-app *::-webkit-scrollbar-track { background: transparent; }
body.shark-app *::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(79, 166, 255, .75), rgba(34, 102, 210, .55));
  background-clip: padding-box;
}
body.shark-app *::-webkit-scrollbar-thumb:hover { background-color: var(--shark-blue-bright); }

body.shark-app a { text-underline-offset: 3px; }
body.shark-app :focus-visible {
  outline: 2px solid var(--shark-cyan) !important;
  outline-offset: 3px;
  box-shadow: none !important;
}

/* Navegação e marca */
body.shark-app #sidebar {
  border-right-color: rgba(132, 179, 220, .12) !important;
  background:
    linear-gradient(180deg, rgba(11, 29, 45, .98), rgba(5, 15, 25, .995)),
    var(--shark-navy-900) !important;
  box-shadow: 24px 0 75px rgba(0, 0, 0, .2) !important;
}
body.shark-app #sidebar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 190px;
  pointer-events: none;
  background: radial-gradient(circle at 32% 0, rgba(47, 140, 255, .15), transparent 64%);
}
body.shark-app .sidebar-brand { position: relative; z-index: 1; }
body.shark-app .brand-icon,
body.shark-auth .brand-icon {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #4ba4ff, #237fe8 55%, #18b9d1) !important;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 0 0 5px rgba(47, 140, 255, .07), 0 16px 38px rgba(24, 111, 218, .3) !important;
}
body.shark-app .brand-icon::after,
body.shark-auth .brand-icon::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 1px;
  left: 15%;
  bottom: 9px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
  transform: rotate(-12deg);
}
body.shark-app .brand-name { color: #fff !important; font-size: 1rem !important; letter-spacing: -.035em !important; }
body.shark-app .brand-sub { color: #7992a9 !important; letter-spacing: .01em; }
body.shark-app .nav-section-label,
body.shark-app #sidebar .nav-section {
  color: #59748c !important;
  font-size: .63rem !important;
  letter-spacing: .16em !important;
}
body.shark-app .nav-link-item,
body.shark-app #sidebar .nav-link {
  color: #8ba2b7 !important;
  font-size: .82rem !important;
  letter-spacing: -.01em;
}
body.shark-app .nav-link-item:hover,
body.shark-app #sidebar .nav-link:hover { color: #f5faff !important; background: rgba(47, 140, 255, .085) !important; }
body.shark-app .nav-link-item.active,
body.shark-app #sidebar .nav-link.active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(47, 140, 255, .24), rgba(47, 140, 255, .055)) !important;
  border-color: rgba(73, 164, 255, .32) !important;
  box-shadow: inset 3px 0 var(--shark-cyan), inset 0 0 28px rgba(47, 140, 255, .06), 0 10px 26px rgba(0, 0, 0, .13) !important;
}
body.shark-app .sidebar-footer { background: rgba(3, 10, 17, .3); backdrop-filter: blur(12px); }

body.shark-app #topbar {
  background: rgba(5, 14, 23, .78) !important;
  border-color: rgba(139, 184, 224, .11) !important;
  box-shadow: 0 12px 38px rgba(0, 0, 0, .13) !important;
  backdrop-filter: blur(20px) saturate(135%) !important;
}
body.shark-app #topbar h1 { color: #f5f9fd !important; font-size: .98rem !important; font-weight: 650; }
body.shark-app .topbar-user,
body.shark-app .topbar-time,
body.shark-app .notification-button,
body.shark-app .desktop-collapse,
body.shark-app .desktop-collapse-admin {
  border-color: var(--shark-line) !important;
  background: rgba(16, 34, 51, .78) !important;
  color: #9fb4c6 !important;
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
body.shark-app .notification-button:hover,
body.shark-app .desktop-collapse:hover,
body.shark-app .desktop-collapse-admin:hover { color: #fff !important; border-color: var(--shark-line-strong) !important; }

/* Hierarquia de página */
.shark-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}
.shark-page-head__copy { min-width: 0; }
.shark-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--shark-cyan);
  font-size: .64rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.shark-eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; box-shadow: 7px 0 15px currentColor; }
.shark-page-title { margin: 0; color: #f4f9fe; font-size: clamp(1.35rem, 2vw, 1.85rem); font-weight: 720; letter-spacing: -.045em; }
.shark-page-description { max-width: 700px; margin: 7px 0 0; color: var(--shark-copy-muted); font-size: .8rem; line-height: 1.65; }
.shark-page-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }

/* Superfícies */
body.shark-app .card,
body.shark-app .status-card,
body.shark-app .kpi-card {
  border-color: var(--shark-line) !important;
  background:
    linear-gradient(145deg, rgba(18, 37, 55, .96), rgba(8, 21, 33, .97)) !important;
  box-shadow: var(--shark-shadow) !important;
}
body.shark-app .card::before,
body.shark-app .status-card::before,
body.shark-app .kpi-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.025), transparent 34%);
}
body.shark-app .card,
body.shark-app .status-card,
body.shark-app .kpi-card { position: relative; }
body.shark-app .card:hover,
body.shark-app .status-card:hover,
body.shark-app .kpi-card:hover {
  border-color: rgba(88, 168, 255, .25) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24) !important;
}
body.shark-app .card-header {
  min-height: 52px !important;
  padding: 14px 18px !important;
  color: #bdd0e1 !important;
  font-size: .8rem !important;
  border-bottom-color: var(--shark-line) !important;
  background: linear-gradient(90deg, rgba(255,255,255,.035), transparent 68%) !important;
}
body.shark-app .status-card,
body.shark-app .kpi-card { min-height: 120px; overflow: hidden; }
body.shark-app .status-card::after,
body.shark-app .kpi-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -52px;
  bottom: -62px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,140,255,.13), transparent 68%);
  pointer-events: none;
}
body.shark-app .status-label,
body.shark-app .kpi-label { color: #718ba2 !important; font-size: .64rem !important; letter-spacing: .11em !important; }
body.shark-app .status-value,
body.shark-app .kpi-value { color: #f4f9fe; letter-spacing: -.055em; }
body.shark-app .status-sub,
body.shark-app .kpi-sub { color: #7790a6 !important; font-size: .7rem; }

/* Ações e campos */
body.shark-app .btn {
  min-height: 39px;
  padding: .52rem .85rem !important;
  border-radius: var(--shark-radius-sm) !important;
  font-size: .76rem !important;
  font-weight: 650 !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
body.shark-app .btn-sm { min-height: 34px; padding: .39rem .68rem !important; font-size: .71rem !important; }
body.shark-app .btn-primary {
  border-color: rgba(104, 178, 255, .26) !important;
  background: linear-gradient(135deg, #3997fa, #1f75df) !important;
  box-shadow: 0 10px 28px rgba(28, 112, 217, .25), inset 0 1px rgba(255,255,255,.15) !important;
}
body.shark-app .btn-primary:hover { transform: translateY(-1px); background: linear-gradient(135deg, #51a6ff, #2782ec) !important; box-shadow: 0 15px 36px rgba(28, 112, 217, .34) !important; }
body.shark-app .btn-outline-secondary {
  color: #9bb1c4 !important;
  border-color: var(--shark-line) !important;
  background: rgba(12, 27, 41, .52) !important;
}
body.shark-app .btn-outline-secondary:hover { color: #fff !important; border-color: var(--shark-line-strong) !important; background: rgba(47, 140, 255, .09) !important; }
body.shark-app .btn-group > .btn:not(:first-child) { margin-left: -1px; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
body.shark-app .btn-group > .btn:not(:last-child) { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
body.shark-app .form-control,
body.shark-app .form-select,
body.shark-app .input-group-text {
  min-height: 44px;
  border-color: rgba(139, 184, 224, .16) !important;
  background-color: rgba(4, 13, 22, .56) !important;
  color: #e2edf7 !important;
  border-radius: 11px !important;
  font-size: .8rem;
}
body.shark-app textarea.form-control { line-height: 1.6; }
body.shark-app .form-control:hover,
body.shark-app .form-select:hover { border-color: rgba(88, 168, 255, .27) !important; }
body.shark-app .form-control:focus,
body.shark-app .form-select:focus { border-color: var(--shark-blue) !important; box-shadow: 0 0 0 4px rgba(47, 140, 255, .11) !important; }
body.shark-app .form-control::placeholder { color: #587086 !important; }
body.shark-app .form-label { color: #859cb0 !important; font-size: .69rem !important; letter-spacing: .08em !important; }
body.shark-app .form-text { color: #6d8499 !important; }
body.shark-app .input-group > :not(:first-child) { margin-left: -1px; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
body.shark-app .input-group > :not(:last-child) { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }

/* Dados */
body.shark-app .table { --bs-table-bg: transparent; margin-bottom: 0; }
body.shark-app .table th {
  height: 48px;
  padding: 12px 16px !important;
  color: #6f8aa1 !important;
  background: rgba(3, 11, 18, .48) !important;
  font-size: .65rem !important;
  letter-spacing: .11em !important;
}
body.shark-app .table td { padding: 13px 16px !important; color: #d8e6f2 !important; font-size: .78rem !important; }
body.shark-app .table tbody tr { transition: background .15s ease; }
body.shark-app .table tbody tr:hover td { background: rgba(47, 140, 255, .052) !important; }
body.shark-app .badge { padding: .42em .72em; border-radius: 999px; font-size: .62rem; letter-spacing: .025em; }
body.shark-app .alert { border-radius: 12px; font-size: .78rem; box-shadow: 0 12px 32px rgba(0,0,0,.12); }
body.shark-app .list-group-item { color: var(--shark-copy); }

/* Modais e estados */
body.shark-app .modal-content {
  border-radius: 20px !important;
  border-color: var(--shark-line-strong) !important;
  background: linear-gradient(145deg, #102235, #091725) !important;
  box-shadow: var(--shark-shadow-lg) !important;
}
body.shark-app .modal-header,
body.shark-app .modal-footer { padding: 18px 20px; }
body.shark-app .modal-title { color: #f4f9fe !important; font-size: 1rem !important; }
.shark-empty {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 40px 24px;
  text-align: center;
  color: var(--shark-copy-muted);
}
.shark-empty__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(88,168,255,.22);
  border-radius: 17px;
  color: var(--shark-blue-bright);
  background: rgba(47,140,255,.09);
  font-size: 1.25rem;
}

/* Home do aluno */
body.shark-student .dashboard-hero {
  min-height: 190px;
  padding: 32px 34px !important;
  border-color: rgba(88, 168, 255, .25) !important;
  background:
    linear-gradient(105deg, rgba(15, 42, 66, .98), rgba(7, 21, 34, .95)),
    var(--shark-navy-800) !important;
  box-shadow: 0 28px 85px rgba(0,0,0,.28) !important;
}
body.shark-student .dashboard-hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 220px;
  right: -85px;
  bottom: -115px;
  border: 1px solid rgba(36,213,232,.12);
  border-radius: 50%;
  transform: rotate(-12deg);
  box-shadow: 0 0 80px rgba(47,140,255,.12);
}
.dashboard-hero-actions { position: relative; z-index: 2; display: flex; align-items: flex-end; flex-direction: column; gap: 11px; }
.dashboard-hero-actions__buttons { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
body.shark-student .quick-card { isolation: isolate; }
body.shark-student .quick-card:hover { transform: translateY(-4px); }

/* Formação */
.catalog-statbar { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 20px; }
.catalog-stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(139,184,224,.14);
  border-radius: 999px;
  color: #9cb2c6;
  background: rgba(4, 13, 22, .35);
  font-size: .68rem;
}
.course-play {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  background: rgba(3, 11, 18, .6);
  backdrop-filter: blur(9px);
  opacity: 0;
  transform: translateY(5px);
  transition: .2s ease;
}
.netflix-course:hover .course-play { opacity: 1; transform: translateY(0); }

/* Admin */
.admin-command-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 160px;
  margin-bottom: 22px;
  padding: 27px 30px;
  border: 1px solid rgba(88,168,255,.22);
  border-radius: 20px;
  background: linear-gradient(112deg, rgba(17, 45, 70, .97), rgba(7, 21, 34, .96));
  box-shadow: 0 28px 80px rgba(0,0,0,.25);
}
.admin-command-hero::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -75px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36,213,232,.22), rgba(47,140,255,.09) 42%, transparent 69%);
}
.admin-command-hero__copy { position: relative; z-index: 1; }
.admin-command-hero h2 { margin: 0; color: #f4f9fe; font-size: 1.55rem; font-weight: 720; letter-spacing: -.045em; }
.admin-command-hero p { margin: 7px 0 0; color: #8fa7bb; font-size: .78rem; }
.admin-command-hero__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
body.shark-admin .kpi-card { min-height: 124px; }
body.shark-admin .dataTables_wrapper .dataTables_filter input,
body.shark-admin .dataTables_wrapper .dataTables_length select { min-height: 38px; border-radius: 10px !important; }

/* Autenticação */
body.shark-auth {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 12%, rgba(36,213,232,.13), transparent 28%),
    radial-gradient(circle at 87% 5%, rgba(47,140,255,.2), transparent 34%),
    #050d16 !important;
}
body.shark-auth::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, #000, transparent 76%);
}
body.shark-auth .login-card {
  position: relative;
  border-color: rgba(139,184,224,.19) !important;
  background: linear-gradient(145deg, rgba(16,35,53,.96), rgba(7,19,31,.97)) !important;
  box-shadow: 0 36px 110px rgba(0,0,0,.46) !important;
  backdrop-filter: blur(18px);
}
body.shark-auth .form-control { min-height: 48px; }
body.shark-auth .btn-login { min-height: 48px; box-shadow: 0 12px 34px rgba(28,112,217,.28); }

@media (max-width: 900px) {
  .shark-page-head { align-items: flex-start; flex-direction: column; }
  .shark-page-actions { justify-content: flex-start; }
  .admin-command-hero { align-items: flex-start; flex-direction: column; }
  .admin-command-hero__actions { justify-content: flex-start; }
}
@media (max-width: 767px) {
  body.shark-app #content { padding: 20px 15px 32px !important; }
  body.shark-app #topbar { min-height: 64px !important; padding: 8px 14px !important; }
  body.shark-app .topbar-user { max-width: 112px; overflow: hidden; text-overflow: ellipsis; }
  body.shark-app .status-card,
  body.shark-app .kpi-card { min-height: 110px; }
  body.shark-app .card-body { padding: 17px; }
  body.shark-app .btn { min-height: 42px; }
  body.shark-app .btn-sm { min-height: 36px; }
  body.shark-student .dashboard-hero { min-height: 230px; padding: 25px 22px !important; }
  .dashboard-hero-actions { width: 100%; align-items: flex-start; }
  .dashboard-hero-actions__buttons { justify-content: flex-start; }
  .admin-command-hero { padding: 24px 21px; }
  .course-play { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ================================================================
   SHARKTREND — Premium Cyan / Pink Identity 2026-09
   Camada estritamente visual. Mantém markup, PHP e comportamento.
   ================================================================ */
:root {
  --bg: #050607;
  --bg-secondary: #0A0C0F;
  --sidebar: #0A0C0F;
  --card: #0F1216;
  --card-2: #14181D;
  --card-hover: #14181D;
  --border: #20252B;
  --border-soft: rgba(255,255,255,.08);

  --text: #F5F7FA;
  --text-secondary: #A6ADB7;
  --muted: #6F7782;

  --cyan: #00D9FF;
  --cyan-light: #35E6FF;
  --cyan-dark: #009FBF;
  --cyan-glow: rgba(0,217,255,.18);

  --pink: #FF3D8D;
  --pink-light: #FF6AAA;
  --pink-dark: #C72568;
  --pink-glow: rgba(255,61,141,.16);

  /* aliases legados do painel */
  --accent: var(--cyan);
  --accent-2: var(--cyan-light);
  --success: var(--cyan-light);
  --danger: var(--pink);
  --warning: #A6ADB7;

  /* aliases da camada Shark UX */
  --shark-blue: var(--cyan);
  --shark-blue-bright: var(--cyan-light);
  --shark-cyan: var(--cyan);
  --shark-navy-950: var(--bg);
  --shark-navy-900: var(--bg-secondary);
  --shark-navy-850: var(--card);
  --shark-navy-800: var(--card-hover);
  --shark-navy-750: #171C21;
  --shark-line: var(--border-soft);
  --shark-line-strong: rgba(0,217,255,.30);
  --shark-copy: var(--text);
  --shark-copy-soft: var(--text-secondary);
  --shark-copy-muted: var(--muted);
  --shark-shadow: 0 12px 34px rgba(0,0,0,.18);
  --shark-shadow-lg: 0 24px 64px rgba(0,0,0,.28);
}

html { color-scheme: dark; }
body.shark-app,
body.shark-auth {
  font-family: 'Inter', sans-serif !important;
  color: var(--text) !important;
  background: var(--bg) !important;
}
body.shark-app::after,
body.shark-auth::after {
  background: radial-gradient(circle at 72% -10%, rgba(0,217,255,.035), transparent 31%) !important;
}
::selection { color:#020304; background:var(--cyan-light); }

/* Scrollbars */
body.shark-app *, body.shark-auth * { scrollbar-color: rgba(0,217,255,.42) transparent; }
body.shark-app *::-webkit-scrollbar-thumb,
body.shark-auth *::-webkit-scrollbar-thumb {
  background: rgba(0,217,255,.34) !important;
  border:2px solid transparent;
  background-clip:padding-box !important;
}

/* Navegação */
body.shark-app #sidebar {
  background: var(--bg-secondary) !important;
  border-right: 1px solid var(--border-soft) !important;
  box-shadow: 14px 0 40px rgba(0,0,0,.18) !important;
}
body.shark-app #sidebar::before {
  background: radial-gradient(circle at 34% 0, rgba(0,217,255,.045), transparent 62%) !important;
}
body.shark-app .brand-icon,
body.shark-auth .brand-icon {
  color:#020304 !important;
  background: var(--cyan) !important;
  border-color: rgba(53,230,255,.35) !important;
  box-shadow: 0 0 20px rgba(0,217,255,.06) !important;
}
body.shark-app .brand-icon::after,
body.shark-auth .brand-icon::after { display:none !important; }
body.shark-app .brand-name { color:var(--text) !important; }
body.shark-app .brand-sub,
body.shark-app .nav-section-label,
body.shark-app #sidebar .nav-section { color:var(--muted) !important; }
body.shark-app .nav-link-item,
body.shark-app #sidebar .nav-link { color:var(--text-secondary) !important; }
body.shark-app .nav-link-item i,
body.shark-app #sidebar .nav-link i { color:inherit !important; }
body.shark-app .nav-link-item:hover,
body.shark-app #sidebar .nav-link:hover {
  color:var(--text) !important;
  background:rgba(255,255,255,.04) !important;
  border-color:rgba(255,255,255,.08) !important;
}
body.shark-app .nav-link-item.active,
body.shark-app #sidebar .nav-link.active {
  color:var(--cyan-light) !important;
  background:rgba(0,217,255,.08) !important;
  border-color:rgba(0,217,255,.30) !important;
  box-shadow:0 0 20px rgba(0,217,255,.035) !important;
}
body.shark-app .nav-link-item.active i,
body.shark-app #sidebar .nav-link.active i { color:var(--cyan) !important; }
body.shark-app .sidebar-footer {
  background:var(--bg-secondary) !important;
  border-top-color:var(--border-soft) !important;
}
body.shark-app .sidebar-footer a:hover { color:var(--pink-light) !important; }

/* Topbar */
body.shark-app #topbar {
  background:rgba(5,6,7,.91) !important;
  border-color:var(--border-soft) !important;
  box-shadow:0 8px 28px rgba(0,0,0,.16) !important;
  backdrop-filter:blur(18px) saturate(115%) !important;
}
body.shark-app #topbar h1 { color:var(--text) !important; }
body.shark-app .topbar-user,
body.shark-app .topbar-time,
body.shark-app .notification-button,
body.shark-app .desktop-collapse,
body.shark-app .desktop-collapse-admin {
  background:var(--card) !important;
  border-color:var(--border-soft) !important;
  color:var(--text-secondary) !important;
  box-shadow:none !important;
}
body.shark-app .notification-count {
  background:var(--pink) !important;
  color:#fff !important;
}

/* Página e tipografia */
body.shark-app h1, body.shark-app h2, body.shark-app h3,
body.shark-app h4, body.shark-app h5, body.shark-app h6,
.shark-page-title { color:var(--text) !important; }
body.shark-app .text-muted,
.shark-page-description { color:var(--muted) !important; }
body.shark-app a:not(.btn):not(.nav-link):not(.nav-link-item) { color:var(--cyan-light); }
body.shark-app a:not(.btn):not(.nav-link):not(.nav-link-item):hover { color:#7EEFFF; }
.shark-eyebrow { color:var(--cyan) !important; }
.shark-eyebrow::before { box-shadow:none !important; }

/* Cards / superfícies */
body.shark-app .card,
body.shark-app .status-card,
body.shark-app .kpi-card,
body.shark-app .shark-panel,
body.shark-app .stat-card {
  background:var(--card) !important;
  border:1px solid var(--border-soft) !important;
  border-radius:14px !important;
  box-shadow:0 12px 32px rgba(0,0,0,.16) !important;
}
body.shark-app .card::before,
body.shark-app .status-card::before,
body.shark-app .kpi-card::before { background:none !important; }
body.shark-app .status-card::after,
body.shark-app .kpi-card::after { display:none !important; }
body.shark-app .card:hover,
body.shark-app .status-card:hover,
body.shark-app .kpi-card:hover {
  background:#12161B !important;
  border-color:rgba(0,217,255,.20) !important;
  box-shadow:0 0 20px rgba(0,217,255,.03) !important;
}
body.shark-app .card-header {
  background:#111419 !important;
  border-bottom-color:var(--border-soft) !important;
  color:var(--text-secondary) !important;
}
body.shark-app .status-label,
body.shark-app .kpi-label,
body.shark-app .status-sub,
body.shark-app .kpi-sub { color:var(--muted) !important; }
body.shark-app .status-value,
body.shark-app .kpi-value { color:var(--text) !important; }

/* Botões */
body.shark-app .btn-primary,
body.shark-auth .btn-primary {
  background:var(--cyan) !important;
  border-color:var(--cyan) !important;
  color:#020304 !important;
  box-shadow:none !important;
}
body.shark-app .btn-primary:hover,
body.shark-auth .btn-primary:hover {
  background:var(--cyan-light) !important;
  border-color:var(--cyan-light) !important;
  color:#020304 !important;
  transform:translateY(-1px);
  box-shadow:0 0 20px rgba(0,217,255,.08) !important;
}
body.shark-app .btn-outline-secondary,
body.shark-app .btn-secondary {
  background:var(--card-hover) !important;
  border-color:rgba(255,255,255,.12) !important;
  color:var(--text) !important;
  box-shadow:none !important;
}
body.shark-app .btn-outline-secondary:hover,
body.shark-app .btn-secondary:hover {
  background:#191E24 !important;
  border-color:rgba(255,255,255,.18) !important;
  color:#fff !important;
}
body.shark-app .btn-danger,
body.shark-app .btn-outline-danger {
  background:rgba(255,61,141,.10) !important;
  border-color:rgba(255,61,141,.35) !important;
  color:var(--pink-light) !important;
  box-shadow:none !important;
}
body.shark-app .btn-danger:hover,
body.shark-app .btn-outline-danger:hover {
  background:rgba(255,61,141,.16) !important;
  border-color:rgba(255,61,141,.52) !important;
  color:#FF8CBB !important;
}

/* Inputs */
body.shark-app .form-control,
body.shark-app .form-select,
body.shark-app .input-group-text,
body.shark-auth .form-control,
body.shark-auth .form-select {
  background-color:var(--bg-secondary) !important;
  border-color:#252A31 !important;
  color:var(--text) !important;
  box-shadow:none !important;
}
body.shark-app .form-control::placeholder,
body.shark-auth .form-control::placeholder { color:var(--muted) !important; }
body.shark-app .form-control:focus,
body.shark-app .form-select:focus,
body.shark-auth .form-control:focus,
body.shark-auth .form-select:focus {
  background-color:var(--bg-secondary) !important;
  border-color:var(--cyan) !important;
  box-shadow:0 0 0 3px rgba(0,217,255,.08) !important;
}
body.shark-app .form-select option,
body.shark-auth .form-select option { background:var(--card); color:var(--text); }
body.shark-app .form-label { color:var(--text-secondary) !important; }

/* Tabelas */
body.shark-app .table { color:var(--text) !important; --bs-table-bg:transparent; }
body.shark-app .table thead th,
body.shark-app .table th {
  color:var(--text-secondary) !important;
  background:#111419 !important;
  border-color:var(--border-soft) !important;
}
body.shark-app .table td { border-color:var(--border-soft) !important; color:var(--text-secondary); }
body.shark-app .table td strong,
body.shark-app .table td b { color:var(--text); }
body.shark-app .table-hover > tbody > tr:hover > * { background:rgba(255,255,255,.025) !important; color:inherit !important; }

/* DataTables */
body.shark-app .dataTables_wrapper,
body.shark-app .dataTables_info,
body.shark-app .dataTables_length,
body.shark-app .dataTables_filter { color:var(--text-secondary) !important; }
body.shark-app .dataTables_wrapper input,
body.shark-app .dataTables_wrapper select {
  background:var(--bg-secondary) !important;
  color:var(--text) !important;
  border:1px solid #252A31 !important;
  border-radius:8px;
}
body.shark-app .dataTables_wrapper .dataTables_paginate .paginate_button {
  color:var(--text-secondary) !important;
  border:1px solid transparent !important;
  background:transparent !important;
}
body.shark-app .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.shark-app .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color:#020304 !important;
  border-color:var(--cyan) !important;
  background:var(--cyan) !important;
}

/* Status e badges — identidade sem verde/amarelo */
body.shark-app .text-primary,
body.shark-app .text-info,
body.shark-app .text-success { color:var(--cyan-light) !important; }
body.shark-app .bg-primary,
body.shark-app .bg-info,
body.shark-app .bg-success {
  color:var(--cyan-light) !important;
  background:rgba(0,217,255,.10) !important;
  border:1px solid rgba(0,217,255,.20) !important;
}
body.shark-app .text-danger { color:var(--pink-light) !important; }
body.shark-app .bg-danger {
  color:var(--pink-light) !important;
  background:rgba(255,61,141,.10) !important;
  border:1px solid rgba(255,61,141,.22) !important;
}
body.shark-app .text-warning { color:var(--text-secondary) !important; }
body.shark-app .bg-warning {
  color:var(--text-secondary) !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.10) !important;
}
body.shark-app .bg-secondary {
  color:var(--text-secondary) !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.09) !important;
}
body.shark-app .alert-success,
body.shark-app .alert-info {
  background:rgba(0,217,255,.08) !important;
  border-color:rgba(0,217,255,.22) !important;
  color:var(--cyan-light) !important;
}
body.shark-app .alert-danger {
  background:rgba(255,61,141,.09) !important;
  border-color:rgba(255,61,141,.28) !important;
  color:var(--pink-light) !important;
}
body.shark-app .alert-warning {
  background:rgba(255,255,255,.045) !important;
  border-color:rgba(255,255,255,.10) !important;
  color:var(--text-secondary) !important;
}

/* Dropdowns, modais e popovers */
body.shark-app .dropdown-menu,
body.shark-app .modal-content,
body.shark-app .offcanvas {
  background:var(--card) !important;
  border-color:var(--border-soft) !important;
  color:var(--text) !important;
}
body.shark-app .dropdown-item { color:var(--text-secondary) !important; }
body.shark-app .dropdown-item:hover,
body.shark-app .dropdown-item:focus { background:rgba(255,255,255,.04) !important; color:var(--text) !important; }

/* Progress */
body.shark-app .progress { background:#171A1F !important; }
body.shark-app .progress-bar { background:var(--cyan) !important; box-shadow:0 0 14px rgba(0,217,255,.08); }

/* Auth */
body.shark-auth .auth-card,
body.shark-auth .login-card,
body.shark-auth .card {
  background:var(--card) !important;
  border:1px solid var(--border-soft) !important;
  box-shadow:0 18px 55px rgba(0,0,0,.30) !important;
}
body.shark-auth h1, body.shark-auth h2, body.shark-auth h3,
body.shark-auth h4, body.shark-auth h5 { color:var(--text) !important; }
body.shark-auth .text-muted { color:var(--muted) !important; }
body.shark-auth a { color:var(--cyan-light); }

/* Foco acessível e glow deliberadamente discreto */
body.shark-app :focus-visible,
body.shark-auth :focus-visible {
  outline:2px solid var(--cyan) !important;
  outline-offset:2px;
  box-shadow:0 0 0 3px rgba(0,217,255,.06) !important;
}

/* SharkTrend — refinamento premium do item ativo do menu */
body.shark-app .nav-link-item,
body.shark-app #sidebar .nav-link {
  position: relative;
  overflow: hidden;
}

body.shark-app .nav-link-item.active,
body.shark-app #sidebar .nav-link.active {
  color: var(--cyan-light) !important;
  background:
    linear-gradient(90deg, rgba(0,217,255,.115) 0%, rgba(0,217,255,.055) 54%, rgba(0,217,255,.025) 100%) !important;
  border: 1px solid rgba(0,217,255,.38) !important;
  box-shadow:
    inset 3px 0 0 var(--cyan),
    inset 0 0 0 1px rgba(53,230,255,.055),
    inset 0 0 22px rgba(0,217,255,.035),
    0 0 0 1px rgba(0,217,255,.025),
    0 8px 18px rgba(0,0,0,.12) !important;
}

body.shark-app .nav-link-item.active::after,
body.shark-app #sidebar .nav-link.active::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(53,230,255,.085);
  border-radius: inherit;
  pointer-events: none;
}

body.shark-app .nav-link-item.active::before,
body.shark-app #sidebar .nav-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 2px;
  background: var(--cyan-light);
  box-shadow: 0 0 10px rgba(0,217,255,.24);
  pointer-events: none;
}

/* SharkTrend — inputs mais finos e sofisticados */
body.shark-app .form-control,
body.shark-app .form-select,
body.shark-app .input-group-text,
body.shark-auth .form-control,
body.shark-auth .form-select {
  border-width: 1px !important;
  border-style: solid !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: none !important;
}

body.shark-app .form-control:hover,
body.shark-app .form-select:hover,
body.shark-auth .form-control:hover,
body.shark-auth .form-select:hover {
  border-color: rgba(255,255,255,.16) !important;
}

body.shark-app .form-control:focus,
body.shark-app .form-select:focus,
body.shark-auth .form-control:focus,
body.shark-auth .form-select:focus,
body.shark-app .form-control:focus-visible,
body.shark-app .form-select:focus-visible,
body.shark-auth .form-control:focus-visible,
body.shark-auth .form-select:focus-visible {
  border-width: 1px !important;
  border-color: rgba(0,217,255,.72) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(0,217,255,.055) !important;
}

body.shark-app textarea.form-control {
  border-width: 1px !important;
}
