:root {
  --fleet-navy: #071a33;
  --fleet-navy-2: #0b2749;
  --fleet-blue: #168cff;
  --fleet-text: #eaf4ff;
  --fleet-muted: #8ea6c1;
}

/* ===== Fleet Alert Sidebar ===== */

.fleet-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  box-sizing: border-box;

  background:
    linear-gradient(
      180deg,
      var(--fleet-navy) 0%,
      #061426 100%
    );

  color: var(--fleet-text);

  display: flex;
  flex-direction: column;

  padding: 26px 16px 18px;

  box-shadow:
    8px 0 30px rgba(0, 30, 70, 0.12);

  z-index: 1000;
}

/* ===== Brand ===== */

.fleet-sidebar-brand {
  padding: 4px 12px 26px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  margin-bottom: 20px;
}

.fleet-brand-small {
  font-size: 15px;
  font-weight: 800;
  font-style: italic;
  color: #7fc3ff;
  margin-bottom: 2px;
}

.fleet-brand-main {
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .7px;
  color: #fff;
}

.fleet-brand-sub {
  margin-top: 7px;
  font-size: 9px;
  letter-spacing: 1.8px;
  color: var(--fleet-muted);
}

/* ===== Menu ===== */

.fleet-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fleet-menu-item {
  position: relative;

  display: flex;
  align-items: center;
  gap: 13px;

  min-height: 48px;
  box-sizing: border-box;

  padding: 0 15px;

  border-radius: 11px;

  color: #b9cbe0;
  text-decoration: none;

  font-size: 14px;
  font-weight: 700;

  transition:
    background .18s ease,
    color .18s ease,
    transform .18s ease;
}

.fleet-menu-item:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
  transform: translateX(2px);
}

.fleet-menu-item.active {
  color: #fff;

  background:
    linear-gradient(
      90deg,
      rgba(22,140,255,.95),
      rgba(22,140,255,.45)
    );

  box-shadow:
    0 6px 20px rgba(22,140,255,.25);
}

.fleet-menu-item.active::before {
  content: "";
  position: absolute;
  left: -16px;
  width: 4px;
  height: 26px;
  border-radius: 0 4px 4px 0;
  background: #5eb6ff;
}

.fleet-menu-icon {
  width: 24px;
  text-align: center;
  font-size: 18px;
  color: #75baff;
}

.fleet-menu-item.active .fleet-menu-icon {
  color: #fff;
}

/* ===== Footer ===== */

.fleet-sidebar-footer {
  margin-top: auto;

  display: flex;
  flex-direction: column;
  gap: 4px;

  padding: 18px 12px 4px;

  border-top: 1px solid rgba(255,255,255,.10);

  color: #7189a4;
  font-size: 10px;
  line-height: 1.4;
}

.fleet-sidebar-footer strong {
  color: #bcd5ef;
  font-size: 11px;
}

/* ===== Main page space ===== */

body.fleet-layout {
  margin: 0;
  padding-left: 250px;
  box-sizing: border-box;
}

/* ===== Mobile ===== */

@media (max-width: 800px) {

  .fleet-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 16px;
  }

  .fleet-sidebar-brand {
    padding-bottom: 14px;
    margin-bottom: 12px;
  }

  .fleet-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .fleet-sidebar-footer {
    display: none;
  }

  body.fleet-layout {
    padding-left: 0;
  }
}
