.container {
  display: flex;
  align-items: center;
  // margin-left: 12px;
  margin-right: 20px;
}

.buttonGroup {
  display: flex;
  height: 36px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 100%;
  color: rgb(97, 148, 199);
  font-family: 'DingTalk JinBuTi';
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  background-color: rgb(18, 61, 102);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;

  &:hover {
    background-color: rgba(39, 152, 214, 0.5);
  }

  &.active {
    background: linear-gradient(180.00deg, rgb(28, 192, 255), rgb(82, 148, 255) 100%);
    color: rgb(255, 255, 255);
  }

  & + .button {
    margin-left: 9px;
  }
}

.dateButton {
  margin-left: 54px;
  
  // margin-left: 12px;
  // margin-right: 20px;
}

.dateSelector {
  margin-left: 54px;
  cursor: pointer;
}

.datePicker {
  width: 280px;
  height: 36px;
  border-radius: 25px;
  border: none;
  background: rgba(50, 102, 167, 0.5);
  color: #ffffff;
  padding: 0 0 0 22px;
  transition: all 0.3s ease;

  &.active {
    background: linear-gradient(180.00deg, rgb(28, 192, 255), rgb(82, 148, 255) 100%);
  }

  :global {
    .ant-picker-input {
      // padding-right: 47px;
      
      & > input {
        color: rgb(255, 255, 255);
        font-family: 微软雅黑;
        font-size: 16px;
        font-weight: 400;
        line-height: 21px;
      }
    }

    .ant-picker-suffix {
      right: 22px;
    }

    .ant-picker-range-separator {
      color: #ffffff;
      width: 10px;
      padding: 0;
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
  }
}

// .topRangePicker {
//   composes: datePicker;
//   width: 300px;
//   height: 40px;
//   background: rgb(18, 61, 102);
//   margin: 0;
//   color: #ffffff;
//   padding: 0 0 0 20px;
  
//   :global {
//     .ant-picker-input {
//       padding-right: 35px;
      
//       & > input {
//         color: rgb(255, 255, 255);
//         font-family: 微软雅黑;
//         font-size: 16px;
//         font-weight: 400;
//         line-height: 21px;
//       }
//     }
    
//     .ant-picker-range-separator {
//       position: relative;
//       display: inline-flex;
//       align-items: center;
//       justify-content: center;
//       width: 20px;
//       color: rgba(255, 255, 255, 0.5);
      
//       &::before {
//         content: '';
//         position: absolute;
//         width: 10px;
//         height: 1px;
//         background-color: rgba(255, 255, 255, 0.5);
//       }
//     }
    
//     .ant-picker-suffix {
//       right: 15px;
//     }
//   }
// }

.rangePickerStyle {
  // composes: datePicker;
  
  :global {
    .ant-picker-range-separator {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 20px;
      &::before {
        content: '';
        position: absolute;
        width: 10px;
        height: 1px;
        background-color: #ffffff;
      }
    }
  }
}

.arrowIcon {
  width: 10px;
  height: 6px;
  background-image: url('@/assets/images/V-2504/DateSelector-arrow.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.datePickerDropdown {
  :global {
    .ant-picker-panel-container {
      background-color: #0C1B3A;
      border: 1px solid rgba(39, 152, 214, 0.3);
    }

    .ant-picker-cell-in-view {
      color: #ffffff;
    }

    .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner {
      background-color: #2798D6;
    }

    .ant-picker-header {
      color: #ffffff;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);

      button {
        color: rgba(255, 255, 255, 0.7);
      }
    }

    .ant-picker-footer {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
  }
}

.confirmButton {
  width: 84px;
  height: 36px;
  margin-left: 12px;
  // margin-right: 20px;
  background: linear-gradient(180.00deg, rgb(28, 192, 255), rgb(82, 148, 255) 100%);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(255, 255, 255);
  font-family: 微软雅黑;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  cursor: pointer;
  transition: all 0.3s ease;

  &:hover {
    opacity: 0.9;
  }
} 