.containerCzjy {
    padding: 20px;
    background: #fff;
    height:100vh;
}

.header {
    display: flex;
    align-items: center;
    // background-color: pink;
    margin-bottom: 15px;
    
    .titleBar {
        width: 3px;
        height: 16px;
        background: #2E4CD4;
        margin-right: 12px;
    }
    
    .title {
        margin: 0;
        font-size: 14px;
        font-weight: 500;
        color: #333;
    }
}

.searchBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px;

    .searchItem {
        display: flex;
        align-items: center;
        gap: 8px;

        .searchLabel {
          font-size: 13px;
          color: #333333;
          white-space: nowrap;
        }

        .datePickerWithIcon {
          display: inline-flex;
          align-items: center;
          height: 30px;
          border: none;

          .dateIcon {
            display: flex;
            align-items: center;
            padding: 0 0px 0 14px;
            border: none;
          }

          .datePickerFirst {
            height: 28px;
            width: 125px;
            border: none;

            :global {
              .ant-picker-input>input::placeholder {
                color: #666 !important;
                font-size: 13px;
              }
            }
          }

          :global {
            .ant-picker-focused {
              box-shadow: none;
            }
          }

          .datePicker {
            flex: 1;
            border: none;
            background: transparent;
          }
        }


        .dateSeparator {
          width: 12px;
          height: 1px;
          background-color: #999;
          flex-shrink: 0;
        }


        .dateInput {
          width: 150px;
          height: 32px;
          padding: 0 12px;
          border: none;
          font-size: 13px;
          outline: none;
          transition: all 0.3s;

          &:focus {
            border-color: #2E4CD4;
          }

          &::placeholder {
            color: #666;
          }
        }

        .companyInput {
          width: 150px;
          height: 31px;
          padding: 0 8px;
          border: 1px solid #D9D9D9;
          border-radius: 2px;
          font-size: 13px;
          outline: none;
          transition: all 0.3s;

          &:focus {
            border-color: #2E4CD4;
          }

          &::placeholder {
            color: #666;
          }
        }

        .unitSelect {
          color: #666;
          width: 150px;
          height: 31px;
          padding: 0 6px;
          border: 1px solid #D9D9D9;
          border-radius: 2px;
          font-size: 13px;
          outline: none;
          background-color: #FFFFFF;
          cursor: pointer;
          transition: all 0.3s;

          &:focus {
            border-color: #2E4CD4;
          }

          option {
            padding: 8px;
          }
        }
      }
    
    .searchLeft {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    

}

// 自定义 Select 样式
.customSelect {
    :global {
        .ant-select-selector {
            height: 30px !important;
            border-radius: 2px !important;
            display: flex !important;
            align-items: center !important;
        }
        
        .ant-select-selection-search-input {
            height: 30px !important;
        }
        
        .ant-select-selection-item,
        .ant-select-selection-placeholder {
            line-height: 30px !important;
        }
        
        .ant-select-selection-placeholder {
            color: #666 !important;
            font-size: 13px !important;
        }
    }
}


// 自定义按钮样式
.customButton {
    background-color: #2E4CD4 !important;
    border-color: #2E4CD4 !important;
    border-radius: 2px !important;
    height: 30px !important;
    width: 75px;
    font-size: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    &:hover {
        background-color: #1e3bb8 !important;
        border-color: #1e3bb8 !important;
    }
    
    &:focus {
        background-color: #2E4CD4 !important;
        border-color: #2E4CD4 !important;
    }
}

// // 所有按钮统一样式
// .ant-btn {
//     border-radius: 4px !important;
//     height: 28px !important;
//     display: flex !important;
//     align-items: center !important;
//     justify-content: center !important;
// }

.tableContainer {
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    
    .actionButtons {
        display: flex;
        gap: 8px;
        font-size: 10px;
        justify-content: center;
        
        .ant-btn-link {
            padding: 0;
            height: auto;
            font-size: 10px;
        }
    }
}

// 表格样式优化
.tableContainer {
    :global {
        // 表格边框合并，避免重复叠加
        .ant-table {
            border: 1px solid #E2E2E2;
            border-radius: 2px;
        }
        
        .ant-table-thead > tr > th {
            background: #F5F5FA;
            font-weight: 500;
            color: #333333;
            font-size: 14px;
            text-align: center;
            border-right: 1px solid #E2E2E2;
            border-bottom: 1px solid #E2E2E2;
            
        }
        
        // 覆盖 Ant Design 的默认样式，让有 colspan 的表头也显示下边框
        .ant-table-thead > tr:not(:last-child) > th[colspan] {
            border-bottom: 1px solid #E2E2E2 !important;
        }
        
        .ant-table-tbody > tr > td {
            color: #666666;
            font-size: 13px;
            text-align: center;
            border-right: 1px solid #E2E2E2;
            border-bottom: 1px solid #E2E2E2;

        }
        
        
        .ant-table-tbody > tr:hover > td {
            background: #f5f5f5;
        }
        
        .ant-pagination {
            margin-top: 10px;
            text-align: right;
        }
        
        // 覆盖操作列按钮样式
        .ant-btn.ant-btn-sm {
            font-size: 13px !important;
            height: 20px !important;
            padding: 0px 4px !important;
        }
        
        .ant-btn-link.ant-btn-sm {
            font-size: 13px !important;
            height: auto !important;
            padding: 0 !important;
        }
    }
}
