/*
 * Navbar setup tasks bell — WIX design system
 */

#setupTasksNavItem.d-none {
  display: none !important;
}

#setupTasksNavItem.nst-nav--pending #setupTasksDropdown i {
  animation: nst-bell-nudge 4s ease-in-out infinite;
}

@keyframes nst-bell-nudge {
  0%,
  88%,
  100% {
    transform: rotate(0deg);
  }
  90% {
    transform: rotate(10deg);
  }
  93% {
    transform: rotate(-8deg);
  }
  96% {
    transform: rotate(5deg);
  }
}

#setupTasksDropdown {
  transition: color 0.2s ease, transform 0.2s ease;
}

#setupTasksDropdown.dropdown-toggle::after {
  display: none !important;
}

#setupTasksDropdown:hover,
#setupTasksDropdown[aria-expanded='true'] {
  color: #f59e0b !important;
  transform: translateY(-1px) scale(1.06);
}

#setupTasksDropdown i {
  transition: transform 0.2s ease;
}

#setupTasksBadge {
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.35rem;
  box-shadow: 0 0 0 2px #000;
  letter-spacing: -0.02em;
}

.navbar .nst-dropdown {
  min-width: 320px;
  max-width: min(92vw, 380px);
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--wix-radius-md);
  border: 1px solid var(--wix-border-color);
  box-shadow: var(--wix-shadow-lg);
}

.nst-dropdown__head {
  padding: 16px 16px 14px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 52%, #1d4ed8 100%);
  position: relative;
  overflow: hidden;
}

.nst-dropdown__head::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.12);
  pointer-events: none;
}

.nst-dropdown__head::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 40%, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.nst-dropdown__eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.nst-dropdown__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.nst-dropdown__meta {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #fef3c7;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.28);
  position: relative;
  z-index: 1;
}

.nst-dropdown__meta[hidden] {
  display: none !important;
}

.nst-dropdown__body {
  padding: 6px 0 8px;
  list-style: none;
  margin: 0;
  background: var(--wix-color-white);
}

.nst-dropdown__body .nst-divider {
  margin: 4px 12px;
  opacity: 0.85;
}

.nst-task {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 11px 14px !important;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.nst-task:hover,
.nst-task:focus-visible {
  background: var(--wix-color-gray-50) !important;
  outline: none;
}

.nst-task__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.nst-task__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.nst-task__icon--blue {
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  color: var(--wix-color-primary);
}

.nst-task__icon--violet {
  background: linear-gradient(145deg, #f5f3ff, #ede9fe);
  color: #6d28d9;
}

.nst-task__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nst-task__title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--wix-color-gray-900);
  line-height: 1.3;
}

.nst-task__desc {
  font-size: 12px;
  color: var(--wix-color-gray-500);
  line-height: 1.45;
}

.nst-task__arrow {
  flex-shrink: 0;
  color: var(--wix-color-gray-300);
  font-size: 11px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.nst-task:hover .nst-task__arrow,
.nst-task:focus-visible .nst-task__arrow {
  color: var(--wix-color-primary);
  transform: translateX(3px);
}

.nst-empty {
  padding: 24px 18px 26px;
  text-align: center;
}

.nst-empty__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  color: #16a34a;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.12);
}

.nst-empty__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wix-color-gray-900);
}

.nst-empty__desc {
  margin: 0;
  font-size: 12px;
  color: var(--wix-color-gray-500);
  line-height: 1.45;
}

@media (max-width: 576px) {
  .navbar .nst-dropdown {
    min-width: min(92vw, 300px);
    max-width: 92vw;
  }

  .nst-task {
    padding: 10px 12px !important;
  }

  .nst-task__icon {
    width: 34px;
    height: 34px;
  }

  .nst-task__desc {
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #setupTasksNavItem.nst-nav--pending #setupTasksDropdown i {
    animation: none;
  }

  #setupTasksDropdown,
  .nst-task,
  .nst-task__arrow {
    transition: none;
  }
}
