
/* ГЛОБАЛЬНЫЙ LIQUID FROSTED GLASS */
#leadDrawerModal, #contractorProfileModal, #contractorPickerModal, #dealNomenclatureModal, #nomEditModal, #contractorEditModal {
  background: radial-gradient(circle at 50% 25%, rgba(37, 99, 235, 0.15), transparent 75%), rgba(4, 7, 15, 0.65) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) !important;
}

.drawer-window {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%), rgba(13, 19, 33, 0.88) !important;
  backdrop-filter: blur(40px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(40px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 28px !important;
  box-shadow: 0 35px 100px -15px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  overflow: hidden;
}

/* ОСТРОВКИ ВНУТРИ МОДАЛОК */
.glass-island {
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
}

/* СЕГМЕНТИРОВАННЫЙ ПЕРЕКЛЮЧАТЕЛЬ ВКЛАДОК */
.segment-tab-bar {
  display: flex;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 3px;
  gap: 3px;
}

.segment-tab-btn {
  flex: 1;
  text-align: center;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 11px;
  color: #94a3b8;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  background: transparent;
}

.segment-tab-btn.active {
  background: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.segment-tab-btn:hover:not(.active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* ШЕВРОНЫ ЭТАПОВ С ПОДСВЕТКОЙ ПРИ НАВЕДЕНИИ */
.b24-stage-tracker {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px 0;
}

.b24-chevron-step {
  position: relative;
  height: 32px;
  line-height: 32px;
  padding: 0 16px 0 24px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  clip-path: polygon(0% 0%, calc(100% - 10px) 0%, 100% 50%, calc(100% - 10px) 100%, 0% 100%, 10px 50%);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  color: #ffffff !important;
}

.b24-chevron-step:hover {
  filter: brightness(1.25) saturate(120%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.b24-chevron-step:first-child {
  padding-left: 14px;
  clip-path: polygon(0% 0%, calc(100% - 10px) 0%, 100% 50%, calc(100% - 10px) 100%, 0% 100%);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.b24-chevron-step:last-child {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 10px 50%);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.b24-chevron-step.step-active {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  font-weight: 800;
}

.b24-chevron-step.step-past {
  opacity: 0.82;
}

.b24-chevron-step.step-future {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.45) !important;
}
