/*
 * Premium navigation for the new worker dashboard.
 * Scoped to the worker demo so the employer preview remains unchanged.
 */

html .product-app--worker .app-sidebar {
  position: relative;
  overflow: hidden;
  border-right: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(42, 119, 255, .34), transparent 18rem),
    linear-gradient(180deg, #071a3f 0%, #08265d 58%, #0a347d 100%);
  color: #fff;
  box-shadow: 12px 0 34px rgba(5, 23, 54, .14);
}

html .product-app--worker .app-sidebar::after {
  content: "";
  position: absolute;
  right: -78px;
  bottom: 116px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  pointer-events: none;
}

html .product-app--worker .app-sidebar__logo {
  position: relative;
  z-index: 1;
  border-color: rgba(255, 255, 255, .1);
}

html .product-app--worker .app-sidebar__logo .logo {
  color: #fff;
}

html .product-app--worker .app-sidebar__logo .logo b {
  color: #75a7ff;
}

html .product-app--worker .app-sidebar nav {
  position: relative;
  z-index: 1;
}

html .product-app--worker .app-sidebar nav small {
  color: rgba(206, 224, 255, .62);
  letter-spacing: .16em;
}

html .product-app--worker .app-sidebar nav button {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(231, 239, 255, .8);
  box-shadow: none;
}

html .product-app--worker .app-sidebar nav button svg {
  flex: 0 0 auto;
  color: currentColor;
  stroke-width: 1.9;
  opacity: .92;
}

html .product-app--worker .app-sidebar nav button:hover {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .09);
  color: #fff;
}

html .product-app--worker .app-sidebar nav button.active {
  border-color: rgba(122, 176, 255, .5);
  background: linear-gradient(135deg, #0b63f6 0%, #1678ff 100%);
  color: #fff;
  box-shadow:
    0 10px 22px rgba(0, 72, 198, .34),
    inset 0 1px 0 rgba(255, 255, 255, .18);
}

html .product-app--worker .app-sidebar nav button i {
  border: 1px solid rgba(255, 255, 255, .38);
  background: #fff;
  color: #0b5fe8;
  box-shadow: 0 4px 10px rgba(2, 15, 38, .18);
}

html .product-app--worker .sidebar-plan {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .17);
  background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .07));
  color: #fff;
  box-shadow: 0 14px 30px rgba(2, 16, 42, .18);
  backdrop-filter: blur(10px);
}

html .product-app--worker .sidebar-plan > span {
  color: #a9c7ff;
}

html .product-app--worker .sidebar-plan b {
  color: #fff;
}

html .product-app--worker .sidebar-plan small {
  color: rgba(231, 239, 255, .72);
}

html .product-app--worker .sidebar-exit {
  position: relative;
  z-index: 1;
  color: rgba(231, 239, 255, .74);
}

html .product-app--worker .sidebar-exit:hover {
  background: rgba(255, 255, 255, .09);
  color: #fff;
}

html[data-theme="dark"] .product-app--worker .app-sidebar,
html[data-theme="dark"] .product-app--worker .app-sidebar nav button,
html[data-theme="dark"] .product-app--worker .sidebar-exit {
  color: rgba(231, 239, 255, .82);
}

html[data-theme="dark"] .product-app--worker .app-sidebar nav button:hover,
html[data-theme="dark"] .product-app--worker .app-sidebar nav button.active,
html[data-theme="dark"] .product-app--worker .sidebar-exit:hover {
  color: #fff;
}

@media (max-width: 960px) {
  html .product-app--worker .app-sidebar {
    box-shadow: 16px 0 38px rgba(2, 16, 42, .28);
  }
}

@media (max-width: 760px) {
  html .product-app--worker .app-sidebar nav button {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html .product-app--worker .app-sidebar nav button {
    transition: none;
  }
}
