.dischargePermitManagement {
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 20px;

    .tabContainer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        padding: 0 ;
        // border-bottom: 1px solid #e8e8e8;

        .tabButtons {
            display: flex;
            gap: 0;
            background-color: #F4F4F4;
            border-radius: 4px;
            padding: 4px 8px;
            align-items: center;

            .tabButton {
                padding: 8px 20px;
                border: none;
                background-color: transparent;
                color: #666;
                font-size: 14px;
                font-weight: 500;
                cursor: pointer;
                border-radius: 4px;
                transition: all 0.3s ease;
                height: auto;
                line-height: 1.4;

                &:hover {
                    color: #1890ff;
                    background-color: rgba(24, 144, 255, 0.1);
                }

                &.active {
                    background-color: #03C598;
                    color: #fff;
                }
            }
        }

        .filterSection {
            display: flex;
            align-items: center;
            gap: 12px;
            border-radius: 4px;

            .filterLabel {
                font-size: 14px;
                color: #333;
            }

            .filterSelect {
                min-width: 120px;
            }

            .filterInput {
                min-width: 200px;
                border-radius: 4px;
            }

            .queryBtn {
                background-color: #00D48A;
                border-color: #00D48A;
                border-radius: 4px;

                &:hover {
                    background-color: #389e0d;
                    border-color: #389e0d;
                }
            }

            .resetBtn, .uploadBtn {
                background-color: #fff;
                color: #666;
                border-color: #d9d9d9;
                border-radius: 4px;
                

                &:hover {
                    border-color: #1890ff;
                    color: #1890ff;
                }
            }
        }
    }

    .tableContent {
        width: 100%;
        
        // 覆盖表头样式
        :global {
            .ant-table-thead > tr > th {
                font-weight: 400 !important;
                font-size: 12px !important;
                color: #333 !important;
                text-align: center !important;
                background-color: #FAFAFA !important;
            }
            
            .ant-table-tbody > tr > td {
                font-size: 12px;
                color: #333;
                text-align: center;
            }
            
            .ant-table-wrapper {
                width: 100%;
                max-width: 100%;
            }
        }

        .attachmentLink {
            color: #1890ff;
            text-decoration: none;
            font-size: 12px;

            &:hover {
                text-decoration: underline;
            }
        }

        .actionButtons {
            display: flex;
            gap: 20px;
            justify-content: center;
            align-items: center;

            .downloadIcon, .deleteIcon {
                width: 20px;
                height: 20px;
                cursor: pointer;
                transition: all 0.3s ease;

                &:hover {
                    transform: scale(1.1);
                    opacity: 0.8;
                }
            }

            .downloadIcon {
                &:hover {
                    filter: brightness(1.2);
                }
            }

            .deleteIcon {
                &:hover {
                    filter: brightness(1.2) saturate(1.5);
                }
            }
        }
    }
}