/* 在线解压工具专属样式 */

/* ========== 工具栏 ========== */
.ae-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--theme-background-color, #eef2f7);
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}
.ae-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ae-toolbar-right {
    display: flex;
    gap: 8px;
}
.ae-checkbox-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}
.ae-checkbox-label input {
    cursor: pointer;
}
.ae-file-count {
    font-size: 12px;
    color: #999;
}

/* ========== 文件列表容器（滚动条样式与 ange.css 全局一致） ========== */
.tool-card-file-list {
    max-height: 480px;
}

/* ========== 空状态 ========== */
.tool-card-file-no-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    text-align: center;
}

/* ========== 文件行 ========== */
.ae-extracted-row {
    transition: background 0.2s;
}
.ae-extracted-row:hover {
    background: var(--theme-background-color, #f5f9ff);
}

/* 勾选框列 */
.ae-col-checkbox {
    display: flex;
    align-items: center;
    padding-left: 4px;
}
.ae-file-cb {
    cursor: pointer;
}

/* 解压文件图标 */
.ae-extracted-icon {
    font-size: 16px;
    color: var(--theme-color, #4e8cff);
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* 解压文件行的文件名区域（含图标） */
.ae-extracted-row .fileName {
    display: flex;
    align-items: center;
}
.ae-extracted-row .fileName .ellipsis {
    flex: 1;
    min-width: 0;
}

/* 空文件提示 */
.ae-no-files {
    text-align: center;
    color: #999;
    padding: 40px 0;
    font-size: 14px;
}

/* 密码弹窗按钮区 */
.ae-password-dialog-btns {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .ae-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .ae-toolbar-right {
        justify-content: center;
        flex-wrap: wrap;
    }
    .ae-extracted-row .fileName {
        font-size: 12px;
    }
    .ae-extracted-row .fileSize {
        font-size: 11px;
    }
    .ae-password-dialog-btns {
        flex-direction: column;
    }
    .ae-password-dialog-btns .ange-btn {
        width: 100%;
    }
}
