.settings-widget {
  position: relative;
  z-index: 60;
}

.settings-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(30, 136, 229, 0.25);
  background: rgba(255, 255, 255, 0.92);
  color: #183550;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(24, 53, 80, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.settings-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(30, 136, 229, 0.45);
  box-shadow: 0 18px 40px rgba(30, 136, 229, 0.2);
}

.settings-toggle .feather {
  width: 18px;
  height: 18px;
}

.settings-menu {
  position: absolute;
  top: 52px;
  left: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(30, 136, 229, 0.2);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 60px rgba(24, 53, 80, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.settings-widget--right .settings-menu {
  left: auto;
  right: 0;
}

.settings-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: rgba(24, 53, 80, 0.82);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.settings-item:hover {
  background: rgba(30, 136, 229, 0.08);
  color: #1669c1;
}

.settings-item .feather {
  width: 16px;
  height: 16px;
  color: rgba(24, 53, 80, 0.55);
  flex: 0 0 auto;
}

.settings-item:hover .feather {
  color: #1669c1;
}

.settings-divider {
  height: 1px;
  width: 100%;
  margin: 6px 0;
  background: rgba(30, 136, 229, 0.14);
}

.settings-item--danger:hover {
  background: rgba(248, 113, 113, 0.12);
  color: rgb(185, 28, 28);
}

.settings-item--danger:hover .feather {
  color: rgb(185, 28, 28);
}
