$background-color: rgba(0, 0, 0, 0.04);
$border-color: #fff;
$green: rgba(101, 224, 126, 0.48);
$lightgreen: rgba(101, 224, 126, 0.5);
$selectorBorder: #2187d4;
$selectorBg: rgba(1, 117, 255, 0.15);

.matrixWrap {
  position: relative;
  * {
    box-sizing: border-box;
  }
}
.matrix {
  width: 576px;
  display: flex;
  flex-wrap: wrap;
  background-color: $background-color;
  cursor: crosshair;
  position: absolute;
  z-index: 10003;
}
.matrixCell {
  width: 24px;
  height: 29px;
  line-height: 29px;
  border-top: 1px solid $border-color;
  text-align: center;
  font-size: 12px;
  border-left: 1px solid $border-color;
  &:hover {
    border: 1px solid $selectorBorder !important;
  }
  &.leftBorder {
    border-left: 1px solid $lightgreen;
  }
}
.matrixChecked {
  background-color: $green;
  border-left: none;
}
.selectRectangle {
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid $selectorBorder;
  background-color: $selectorBg;
  z-index: 10004;
}
.combinedRatioWrap {
  position: absolute;
  width: 576px;
  height: 203px;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 10000;
}
.combinedRatioWeek {
  width: 576px;
  height: 29px;
  position: relative;
}
.combinedRatio {
  position: absolute;
  top: 0;
  text-align: center;
  height: 28px;
  line-height: 29px;
  border-right: 1px solid #65c178;
}
.borderLeft {
  border-left: 1px solid #65c178;
}
:global {
  .rc-tooltip {
    z-index: 10004 !important;
    background-color: #fff !important;
    line-height: 2.5 !important;
  }
  .rc-tooltip-inner {
    min-height: 28px;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
  }
  .rc-tooltip-placement-right .rc-tooltip-arrow,
  .rc-tooltip-placement-rightTop .rc-tooltip-arrow,
  .rc-tooltip-placement-rightBottom .rc-tooltip-arrow {
    border-right-color: rgba(0, 0, 0, 0.15) !important;
  }
}
