.custom-select {
    width: 100%;
    color: #222222;
    // background-color: rgba(237, 239, 244, 0.45);
  .select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    background: rgba(237, 239, 244, 0.45);
    
    .prefix {
      margin-right: 8px;
      color: #222222;
      font-size: 14px;
    }
    
    .value {
    }
  }
}
  
.select-options {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  // padding: 0 12px 12px 12px;
  
  .select-option {
    width: 28px;
    height: 28px;
    padding: 4px;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 3px;
    background-color: rgba(237, 239, 244, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    
    &:hover {
      background-color: #f5f5f5;
    }
    
    &.selected {
      background-color: #FF4C3B;
      color: #111;
    }
  }
  
  &.color-options {
    .color-option {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: 2px solid transparent;
      padding: 0;
      position: relative;
      overflow: hidden;
      
      .color-label {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 12px;
        width: 100%;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 4px;
        text-shadow: 0 0 2px rgba(0,0,0,0.5);
      }
      
      &.selected {
        border-color: #333;

        &::after {
          content: '✓';
          position: absolute;
          left: 50%;
          top: 50%;
          transform: translate(-50%, -50%);
          background: transparent;
          color: rgba(255, 255, 255, 0.95);
          font-size: 16px;
          line-height: 1;
          text-align: center;
          text-shadow: 0 0 2px rgba(0, 0, 0, 0.35);
          pointer-events: none;
        }
      }
      
      &:hover {
        opacity: 0.8;
      }
    }
  }
}

// 添加全局样式以固定 Drawer 位置
.next-drawer {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  
  &.next-drawer-bottom {
    height: auto !important;
    max-height: 30vh !important;
  }
  .select-btn {
    width: 100%;
    height: 42px;
    background-color: #FF4C3B;
    color: #ffffff;
    font-weight: 400;
    font-size: 16px;
    padding: 8px 18px;
    margin-top: 5px;
    border-radius: 4px;
  }
}

.select-normal {
  display: flex;
  align-items: center;
  gap: 8px;
  
  .prefix {
    color: #666;
    font-size: 14px;
  }
  
  .select-options {
    flex: 1;
  }
  
  .next-number-picker {
    width: 100%;
  }
}
