/* Deal forecast view — scoped Didar styles (from app-forecast) */
.deal-forecast .btnUnset {
  all: unset;
}
.deal-forecast .btnUnset:hover {
  background-color: var(--main-border-color);
  cursor: pointer;
}
.deal-forecast .borderBottomGray {
  border-bottom: 1px solid var(--main-border-color);
}
.deal-forecast .borderWithOutLeft {
  border-right: 1px solid var(--main-border-color);
  border-bottom: 1px solid var(--main-border-color);
  border-top: 1px solid var(--main-border-color);
}
.deal-forecast .borderRight {
  border-right: 1px solid var(--main-border-color);
}
.deal-forecast .borderLeft {
  border-left: 1px solid var(--main-border-color) !important;
}
.deal-forecast .radiusR {
  border-radius: 0 4px 4px 0;
}
.deal-forecast .radiusL {
  border-radius: 4px 0 0 4px;
}
.deal-forecast .mainBox {
  display: flex;
  width: 100%;
  margin: auto;
  padding: 0 10px 10px;
  border-right: 1px solid var(--main-bg-color);
  border-left: 1px solid var(--main-bg-color);
  min-height: calc(100vh - 200px);
}
.deal-forecast .padding-2 {
  padding: 2px;
}
.deal-forecast .headerBox {
  width: 100%;
  line-height: 22px;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  height: 70px;
  align-items: center;
}
.deal-forecast .sumLine {
  border-bottom: 1px solid var(--main-border-color);
  margin-right: -5px;
}
.deal-forecast .outerCard {
  padding: 10px 10px 0;
}
.deal-forecast .fc-card {
  transition: box-shadow 0.2s linear 0s;
  border-radius: 4px;
  width: 99%;
  min-height: 70px;
  cursor: pointer;
  border: 1px solid var(--main-border-color);
  background: var(--card-color, var(--color-surface-elevated));
}
.deal-forecast .fc-card:hover {
  box-shadow: 0 3px 14px rgba(23, 24, 28, 0.12);
}
.deal-forecast .cardContent {
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  display: flex;
  width: 100%;
}
.deal-forecast .flexDirection {
  flex-direction: column;
}
.deal-forecast .overflowHidden {
  overflow: hidden;
}
.deal-forecast .justifyContentEnd {
  justify-content: end;
}
.deal-forecast .justifyContentSpaceBetween {
  justify-content: space-between;
}
.deal-forecast .w-h-50 {
  width: 50px;
  height: 50px;
}
.deal-forecast .sumColor {
  color: var(--succeed-color);
}
.deal-forecast .dateTitleColor {
  color: var(--blue-color);
}
.deal-forecast .stickyPosition {
  position: sticky;
  top: 0;
  background-color: var(--main-bg-color);
  z-index: 23;
}
.deal-forecast .mainDealWithoutSuccessDate {
  background-color: var(--main-bg-color);
  position: fixed;
  height: calc(100vh - 132px);
  z-index: 23;
  bottom: 0;
  right: 60px;
  width: 19.3%;
  box-shadow: rgba(23, 24, 28, 0.3) 0 19px 38px, rgba(23, 24, 28, 0.22) 0 15px 12px;
  transform: translateY(110%);
  transition: 0.2s ease all;
  border-right: 1px solid var(--main-border-color);
  display: flex;
  flex-direction: column;
}
.deal-forecast .mainDealWithoutSuccessDate.is-open {
  transform: translateY(0%);
}
.deal-forecast .contentDealWithoutSuccessDate {
  border-radius: 0 5px 0 0;
  overflow-y: scroll;
  height: 100%;
}
.deal-forecast .stageOfPipeLineGreen {
  border-bottom: 10px solid var(--succeed-color, var(--color-success));
}
.deal-forecast .stageOfPipeLineGray {
  border-bottom: 10px solid var(--main-border-color, var(--color-border));
}
.deal-forecast .mL-3 {
  margin-left: 3px;
}
.deal-forecast .wonDeal {
  position: absolute;
  left: 10px;
  top: 10px;
}
.deal-forecast .m-t-35-other-auto {
  margin: 35px auto auto;
}
.deal-forecast .ellipsis {
  white-space: nowrap;
  width: 100%;
  direction: ltr !important;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deal-forecast .w-55 {
  width: 55%;
}
.deal-forecast .w-45 {
  width: 45%;
}
.deal-forecast .month-headers {
  display: flex;
  border: 1px solid var(--main-border-color);
  margin: 0 auto;
}
.deal-forecast .month-headers > .w-20:last-child {
  border-left: none !important;
}
.deal-forecast #headerDealWithoutSuccessDate {
  position: relative;
}
.deal-forecast #headerDealWithoutSuccessDate .icon.Close {
  position: absolute;
  left: 10px;
  top: 10px;
}
.deal-forecast .fc-board-wrap {
  position: relative;
  width: 100%;
}
.deal-forecast .dealsWithOutDate {
  padding: 10px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 60px;
  width: auto;
  background-color: var(--main-bg-color);
  border-top: 1px solid var(--main-border-color);
  z-index: 23;
}
.deal-forecast .dealsWithOutDate .border {
  border: 1px solid var(--main-border-color);
}
.deal-forecast .dealsWithOutDate .rotate90 {
  rotate: 90deg;
  display: inline-flex;
}
.deal-forecast .circle.lost.more-flesh-container {
  background-color: var(--red-color, var(--color-error));
  border-radius: 50%;
  width: 18px;
  height: 18px;
}
.deal-forecast .circle.lost.more-flesh-container .iconsNoFilter {
  display: block;
  width: 10px;
  height: 10px;
  background: transparent;
  border-left: 2px solid var(--color-surface-elevated, #F7F7F8);
  border-bottom: 2px solid var(--color-surface-elevated, #F7F7F8);
  transform: rotate(-45deg);
  margin-top: -2px;
}

/* Forecast toolbar date nav (in deals header) */
.deal-forecast-header .borderWithOutLeft {
  border-right: 1px solid var(--main-border-color);
  border-bottom: 1px solid var(--main-border-color);
  border-top: 1px solid var(--main-border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 30px;
  background: var(--card-color, var(--color-surface-elevated));
}
.deal-forecast-header .btnUnset {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.deal-forecast-header .btnUnset:hover {
  background-color: var(--main-border-color);
}
.deal-forecast-header .radiusR {
  border-radius: 0 4px 4px 0;
}
.deal-forecast-header .radiusL {
  border-radius: 4px 0 0 4px;
  border-left: 1px solid var(--main-border-color) !important;
}
.deal-forecast-header .padding-2 {
  padding: 2px 8px;
}
.deal-forecast-header .btn.blue {
  width: auto;
  background-color: var(--blue-color, var(--color-primary)) !important;
  color: var(--color-text-primary, #17181C) !important;
  border: none;
}
