@keyframes drift {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%; }
  50%  { background-position: 50% 30%, 50% 70%, 40% 40%; }
  100% { background-position: 0% 0%, 100% 0%, 50% 100%; }
}

.background {
  background-color: #0A0116;
  background-image:
    radial-gradient(600px 600px at 20% 10%, rgba(10,87,196,0.22), transparent 60%),
    radial-gradient(700px 700px at 80% 20%, rgba(6,5,133,0.25), transparent 65%),
    radial-gradient(800px 800px at 50% 100%, rgba(10,1,22,0.6), transparent 60%);
  background-repeat: no-repeat;
  background-size: 120% 120%, 140% 140%, 160% 160%;
  animation:  24s ease-in-out infinite;
}

body {
    background-image: radial-gradient(3000px 3000px at 0px 0px, #0A57C4,#060585,#0A0116, transparent 90%);
    background-color: #000;
    font-family: 'Helvetica Neue Regular', Arial, Helvetica, sans-serif !important;
    padding: 0;
    margin: 0;
    color: #fff;
}

h1 {
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif; 
    font-size: 30px;
    font-weight: 300;
    padding: 32px 24px;
    margin: 0;
    color: #fff;   
}

section.container {
    background: rgba(16,16,16,0.5);
    width: auto;
    min-height:85vh;
    height: 100%;
    padding: 32px 24px;
}

section.container p {
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif; 
    font-weight: 300;
    font-size: 18px;
}
:root {
  --nav-bg: rgba(16, 16, 16, 0.5);
  --item-bg: rgba(34, 34, 34, 0.5);
  --item-bg-hover: rgba(255, 255, 255, 0.08);
  --item-bg-active: rgba(255, 255, 255, 0.16);
  --focus-ring: rgba(160, 160, 255, 0.45);
  --text: #eaeaea;
  --text-subtle: rgba(255, 255, 255, 0.35);
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;

  width: 100%;
  height: 52px;
  padding: 0 0 0 24px;

  background: var(--nav-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.top-nav-logo {
  display: flex;
  align-items: center;
  height: 100%;
  padding-right: 24px;
}
.top-nav-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.top-nav-menu-navigation,
.top-nav-menu-right-navigation {
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.top-nav-menu-navigation li,
.top-nav-menu-right-navigation li {
  display: inline-flex;
  flex: 0 0 auto;
  width: 77px;
  height: 48px;
  border-radius: 8px;
  background: var(--item-bg);
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: background 160ms ease, transform 120ms ease, box-shadow 160ms ease;
  outline: none;
}

.top-nav-menu-navigation li img,
.top-nav-menu-right-navigation li img {
  width: 32px;
  height: 32px;
  display: block;
  pointer-events: none;
}

.top-nav-menu-navigation li:hover,
.top-nav-menu-right-navigation li:hover {
  background: var(--item-bg-hover);
}
.top-nav-menu-navigation li:active,
.top-nav-menu-right-navigation li:active {
  transform: translateY(1px);
}

.top-nav-menu-navigation li:focus-visible,
.top-nav-menu-right-navigation li:focus-visible {
  box-shadow: 0 0 0 2px var(--focus-ring);
}

.top-nav-menu-navigation li.is-active,
.top-nav-menu-right-navigation li.is-active {
  background-image: linear-gradient(#33C4FF, #88CF58);
  /* box-shadow: inset 0 -2px 0 rgba(120, 170, 255, 0.9); */
}

.top-nav-menu-navigation li.home.is-active svg path {
    stroke: #000;
}

.top-nav-menu-navigation li.mmro.is-active svg path,
.top-nav-menu-navigation li.tec.is-active svg path,
.top-nav-menu-navigation li.iss.is-active svg path,
.top-nav-menu-navigation li.lieu.is-active svg path,
.top-nav-menu-navigation li.live.is-active svg path,
.top-nav-menu-navigation li.vr.is-active svg path,
.top-nav-menu-right-navigation li.notifications.is-active svg path,
.top-nav-menu-right-navigation li.settings.is-active svg path,
.top-nav-menu-right-navigation li.maximise.is-active svg path,
.top-nav-menu-right-navigation li.minimise.is-active svg path {
    fill: #000;
}

.top-nav-menu-navigation li.tec.is-active svg mask path,
.top-nav-menu-navigation li.iss.is-active svg mask path,
.top-nav-menu-navigation li.lieu.is-active svg mask path {
    fill: black !important;
    stroke: black !important;
}

.top-nav-menu-right-navigation .settings-row .settings-ico.change-password svg path,
.top-nav-menu-right-navigation .settings-row .settings-ico.sign-out svg path {
  fill: #88CF58 !important;
}

.top-nav-menu-right-navigation .settings-row:hover .settings-ico.account-profile svg path,
.top-nav-menu-right-navigation .settings-row:hover .settings-ico.change-password svg path,
.top-nav-menu-right-navigation .settings-row:hover .settings-ico.sign-out svg path {
  fill: black !important;
  stroke: black !important;
}

.top-nav-menu-navigation li.ai-analysis.is-active svg path {
    stroke: #000;
}

.top-nav-menu-navigation li.ai-analysis.is-active svg g path {
    fill: black !important;
}

.top-nav-currentPage {
  display: flex;
  border-left: 1px solid #555;
  align-items: center;
  height: 36px;
  margin-left: 24px;
  padding: 0 16px;
  color: var(--text);
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif; 
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0.9;
  
}

.top-nav-menu-right-navigation .user {
  font-size: 14px;
  font-weight: 500;
  min-width: 150px;
}

.top-nav-menu-right-navigation .user:hover{
    background: var(--item-bg);
    cursor: default;
}

.top-nav-menu-right-navigation .user span {
    white-space: wrap;
    padding: 0 32px;
}

.top-nav-menu-right-navigation {
  margin-left: auto;
}

.top-nav-menu-navigation li,
.top-nav-menu-right-navigation li
 {
  position: relative;
}

.top-nav-menu-navigation li::after,
.top-nav-menu-right-navigation li::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(39, 39, 39, 0.5);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  padding: 6px 16px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  transform-origin: top center;
  z-index: 20;
}

.top-nav-menu-navigation li::before,
.top-nav-menu-right-navigation li::before{
  content: "";
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(39, 39, 39, 0.5);
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 19;
}

.top-nav-menu-navigation li:hover::after,
.top-nav-menu-navigation li:focus-visible::after,
.top-nav-menu-navigation li:hover::before,
.top-nav-menu-navigation li:focus-visible::before,
.top-nav-menu-right-navigation li:hover::after,
.top-nav-menu-right-navigation li:focus-visible::after,
.top-nav-menu-right-navigation li:hover::before,
.top-nav-menu-right-navigation li:focus-visible::before {
  opacity: 1;
}

.top-nav-menu-right-navigation li.user:hover::after,
.top-nav-menu-right-navigation li:focus-visible::after,
.top-nav-menu-right-navigation li:hover::before,
.top-nav-menu-right-navigation li:focus-visible::before {
    display: none;
}


.top-nav,
.top-nav-menu-right-navigation,
.top-nav .notifications { position: relative; overflow: visible; z-index: 10; }

.notif-toggle { all: unset; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 77px; height: 48px; border-radius: 8px; background: rgba(34,34,34,.5); }
.notif-toggle:hover { background: rgba(255,255,255,.08); }
.notif-toggle:focus-visible { outline: 2px solid rgba(160,160,255,.45); outline-offset: 2px; }

.notif-panel {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  width: 100%;
  min-width: 390px;
  max-height: 60vh;
  overflow: auto;
  background: #18171B;
  padding: 0;
  color: #fff;
  z-index: 2000;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: notifIn .16s ease both;
}

@keyframes notifIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Panel caret */
.notif-panel::before {
  content: "";
  position: absolute;
  top: -6px; right: 28px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #18171B;
}

/* Header */
.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 0px 16px;
  background: #18171B;
  border: 0;
}

.notif-title {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  opacity: 1;
}

.notif-clear {
  color: #56D2D8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 300;
}
.notif-clear:hover { text-decoration: underline; }

.notif-list {
  display: block;
  padding: 0;
  margin: 0;
}

.notif-item { margin: 0; }

.notif-acc {
  width: 100%;
  height: 64px;
  min-height: 64px;
  display: grid;
  grid-template-columns: 14px 1fr 16px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  background: #18171B;
  color: #fff;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  text-align: left;
  transition: background .15s ease;
}
.notif-acc:hover,
.notif-acc[aria-expanded="true"] {
  background: #13152C;
}

.notif-acc:focus-visible {
  outline: 2px solid rgba(160,160,255,.45);
  outline-offset: 2px;
}

.acc-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  transition: transform .15s ease, opacity .15s ease;
  opacity: .9;
}
.notif-acc[aria-expanded="true"] .acc-chevron {
  transform: rotate(45deg);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #88CF58;
  box-shadow: none;
}

.acc-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.acc-title {
  font-weight: 500;
  font-size: 12px;
  color: #88CF58;
}

.acc-desc {
  font-size: 12px;
  opacity: .9;
}

.acc-panel {
  margin: 0;
  padding: 12px 16px 16px 16px;
  background: #13152C;
  border: 0;
  border-radius: 0;
  color: #EAEAEA;
  font-size: 12px;
  line-height: 1.5;
}

.notif-item + .notif-item .notif-acc {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

@media (max-width: 480px) {
  .notif-panel {
    width: min(92vw, 360px);
    right: 8px;
    left: auto;
  }
}

@media (max-width: 768px) {
  .top-nav {
    gap: 8px;
    padding: 0 8px;
  }

  .top-nav-menu-navigation,
  .top-nav-menu-right-navigation {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .top-nav-currentPage {
    padding: 0 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-nav-menu-navigation li,
  .top-nav-menu-right-navigation li {
    transition: none;
  }
}

.top-nav .settings { position: relative; overflow: visible; }
.top-nav .settings-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 77px;
  height: 48px;
  border-radius: 8px;
  background: rgba(34,34,34,.5);
}
.top-nav .settings-toggle:hover { background: rgba(255,255,255,.08); }
.top-nav .settings.is-active .settings-toggle {
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 -2px 0 #88CF58;
}

.settings-panel {
  position: absolute;
  top: calc(100%);
  left: 0;
  min-width: 312px;
  max-height: 60vh;
  overflow: auto;
  background: #18171B;
  padding: 0;
  color: #fff;
  z-index: 2000;
  animation: notifIn .16s ease both;
}

/* caret */
.settings-panel::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 28px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #18171B;
}

/* header */
.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px 16px;
  background: #18171B;
}

.settings-title {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.settings-list { display: block; padding: 0; margin: 0; }

.settings-row {
  height: 64px;
  display: grid;
  grid-template-columns: 20px 1fr 16px;
  align-items: center;
  gap: 32px;
  padding: 0 16px;
  background: #18171B;
  color: #fff;
  text-decoration: none;
  transition: background .15s ease;
}

.settings-row:hover,
.settings-row.is-open {
  background: linear-gradient(#33C4FF, #88CF58);
  color: #000;
}

.settings-ico { width: 32px; height: 32px; display: inline-flex; opacity: .95; }
.settings-text { font-size: 16px; font-weight: 500; }

.settings-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  opacity: .9;
}

.settings-row + .settings-row {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.settings-row--danger { color: #ff6b6b; }
.settings-row--danger .settings-chevron { border-color: #ff6b6b; }

@media (max-width: 480px) {
  .settings-panel {
    width: min(92vw, 360px);
    right: 8px;
  }
}

.settings-toggle svg path:last-of-type {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.2s ease;
}

.settings.is-active .settings-toggle path:last-of-type {
  transform: scaleY(-1);
}
