.container {
  display: flex;
  gap: 15px;
  width: 100%;
  height: 100%;
  min-height: 560px;
  padding: 15px 10px;
}

.leftPanel {
  width: 200px;
  background: #fff;
  border-radius: 12px;
  padding: 15px 10px;
}

.leftTitle {
  font-size: 15px;
  font-weight: 500;
  color: #2b2f3a;
  padding: 2px 10px 14px;
}

.leftList {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 8px;
}

.leftItemBtn {
  width: 100%;
  height: 40px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  border: 1px solid #e8ecf3 !important;
  background: #fff !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  color: #a5adbb !important;

  &:hover {
    border-color: rgba(72, 81, 255, 0.35) !important;
    color: rgba(72, 81, 255, 1) !important;
  }
}

.leftItemActive {
  background: rgba(72, 81, 255, 1) !important;
  border-color: rgba(72, 81, 255, 1) !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(72, 81, 255, 0.18) !important;

  &:hover {
    color: #fff !important;
  }

  .leftIconCircle {
    background: rgba(255, 255, 255, 0.26);
    color: #fff;
  }
}

.leftIconCircle {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(72, 81, 255, 0.12);
  color: rgba(72, 81, 255, 1);
  flex: none;

  :global {
    .anticon {
      font-size: 12px;
      line-height: 1;
    }
  }
}

.leftIconImg {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.leftItemText {
  margin-left: 10px;
  font-size: 14px;
  font-weight: 500;
}

.leftAddBtn {
  width: 100%;
  height: 40px !important;
  border-radius: 999px !important;
  border: none !important;
  background: #f2f4f8 !important;
  color: #b7bdc9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

.rightPanel {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cardsRow {
  display: flex;
  gap: 16px;
}

.priceCard {
  flex: 1;
  min-height: 118px;
  padding: 14px 16px 12px;
  border-radius: 14px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.priceCard_peak {
  background: linear-gradient(135deg, #ff5e57 0%, #ffb1ae 100%);
}

.priceCard_flat {
  background: linear-gradient(135deg, #ff9c3c 0%, #ffd8a8 100%);
}

.priceCard_valley {
  background: linear-gradient(135deg, #4cc9ff 0%, #a7e9ff 100%);
}

.priceCardCorner {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;

  :global {
    .anticon {
      font-size: 14px;
    }
  }
}

.priceCardTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.priceCardTitle {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding-top: 2px;
}

.priceCardTags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-right: 28px;

  :global {
    .ant-tag {
      margin: 0;
    //   margin-right: 30px;
      border: none;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.26);
      color: #fff;
      font-size: 12px;
      padding: 0 10px;
      height: 22px;
      line-height: 22px;
    }
  }
}

.priceCardBody {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.priceLeft {
  min-width: 96px;
}

.priceLabel {
  font-size: 12px;
  opacity: 0.92;
}

.priceValue {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.05;
  margin-top: 6px;
}

.priceUnit {
  font-size: 12px;
  opacity: 0.92;
  margin-top: 4px;
}

.priceRight {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.pricePeriodBox {
  width: 220px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}

.pricePeriodLine {
  font-size: 12px;
  line-height: 18px;
  opacity: 0.96;
}

.scheduleSection {
  flex: 1;
  background: #f7f9ff;
  border-radius: 12px;
  padding: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.scheduleTopBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 10px;
}

.scheduleTopLeft {
  width: 88px;
  flex: none;
}

.monthSwitcher {
  flex: 1;
  justify-content: center;
  color: #3757ff;

  :global {
    .ant-btn {
      padding: 0 6px;
    }
  }
}

.monthText {
  font-size: 14px;
  font-weight: 600;
}

.periodRadios {
  :global {
    .ant-radio-wrapper {
      color: #6b7280;
      font-size: 12px;
      margin-inline-end: 10px;
    }

    .ant-radio-wrapper-checked {
      color: #3757ff;
    }
  }
}

.scheduleGrid {
  background: #fff;
  border-radius: 12px;
  padding: 10px 10px 12px;
  overflow: auto;
  min-height: 360px;
}

.scheduleHeaderRow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 10px;
}

.scheduleHeaderLeft {
  width: 88px;
  flex: none;
  display: flex;
  align-items: center;

  :global {
    .ant-radio-group {
      background: #eef3ff;
      border-radius: 999px;
      padding: 2px;
    }

    .ant-radio-button-wrapper {
      border: none;
      height: 24px;
      line-height: 22px;
      border-radius: 999px !important;
      padding: 0 12px;
      font-size: 12px;
      color: #6b7280;
      background: transparent;
      box-shadow: none;
    }

    .ant-radio-button-wrapper-checked {
      background: #3a66ff;
      color: #fff;
      box-shadow: none;
    }
  }
}

.timeHeader {
  flex: 1;
  min-width: 780px;
  display: flex;
  align-items: center;
  height: 24px;
  border-radius: 999px;
  background: #f7f9ff;
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(232, 236, 243, 0.9) 1px, transparent 1px);
    background-size: calc(100% / 13) 100%;
    pointer-events: none;
  }
}

.timeHeaderCell {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  position: relative;
  z-index: 1;
}

.scheduleBody {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 6px;
}

.scheduleRow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dayCell {
  width: 44px;
  text-align: center;
  color: #2b2f3a;
  font-size: 13px;
}

.weekCell {
  width: 44px;
  text-align: center;
  color: #8d93a3;
  font-size: 12px;
}

.timeArea {
  flex: 1;
  min-width: 780px;
  height: 28px;
  border-radius: 12px;
  background: #f7f9ff;
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(232, 236, 243, 0.9) 1px, transparent 1px);
    background-size: calc(100% / 13) 100%;
    pointer-events: none;
  }
}

.timeBar {
  position: absolute;
  top: 5px;
  height: 18px;
  border-radius: 999px;
  z-index: 1;
}

.timeBar_peak {
  background: rgba(255, 111, 111, 0.92);
}

.timeBar_flat {
  background: rgba(255, 177, 61, 0.92);
}

.timeBar_valley {
  background: rgba(120, 205, 255, 0.92);
}

.timeBarDim {
  opacity: 0.25;
}
